You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above issue correctly identified tosource as the culprit here. Since js-yaml.load returns plain JSON, I'm not sure why tosource is necessary at all, as opposed to just JSON.stringify.
Happy to submit a PR if that sounds reasonable.
The text was updated successfully, but these errors were encountered:
Revisiting this issue, I don't think the
raw
config is quite the correct solution.The original issue is that this plugin unquotes numeric keys:
Which, as the above issue notes, results in an error because of the leading 0.
The problem with
raw
mode is it fails on objects:The above issue correctly identified
tosource
as the culprit here. Sincejs-yaml.load
returns plain JSON, I'm not sure whytosource
is necessary at all, as opposed to justJSON.stringify
.Happy to submit a PR if that sounds reasonable.
The text was updated successfully, but these errors were encountered: