-
-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve JSON compatibility #189
Merged
Commits on Aug 23, 2020
-
Add replacer argument for stringify, new Document & doc.createNode
As replacer & options have different shapes, YAML.stringify and the Document constructor can still accept the options as the second argument. The behaviour of the replacer should match the JSON.stringify equivalent exactly for the values both support. Map is treated equivalently to an Object; others act like arrays.
Configuration menu - View commit details
-
Copy full SHA for f028c13 - Browse repository at this point
Copy the full SHA f028c13View commit details
Commits on Aug 30, 2020
-
Configuration menu - View commit details
-
Copy full SHA for c3d860e - Browse repository at this point
Copy the full SHA c3d860eView commit details -
Rename toJSON() as toJS() internally
BREAKING CHANGE: The `toJSON()` utility exported by 'yaml/util' is renamed as `toJS()`.
Configuration menu - View commit details
-
Copy full SHA for 6d28ef2 - Browse repository at this point
Copy the full SHA 6d28ef2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 329af83 - Browse repository at this point
Copy the full SHA 329af83View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6a9ff7 - Browse repository at this point
Copy the full SHA e6a9ff7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f5de1d - Browse repository at this point
Copy the full SHA 8f5de1dView commit details -
Encode strings with unpaired surrogate code points as double-quoted
This effectively implements this ECMA-262 proposal: https://github.com/tc39/proposal-well-formed-stringify
Configuration menu - View commit details
-
Copy full SHA for 4242c08 - Browse repository at this point
Copy the full SHA 4242c08View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4b759e - Browse repository at this point
Copy the full SHA d4b759eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 10bf80a - Browse repository at this point
Copy the full SHA 10bf80aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 43fd284 - Browse repository at this point
Copy the full SHA 43fd284View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef1e4f5 - Browse repository at this point
Copy the full SHA ef1e4f5View commit details
Commits on Sep 6, 2020
-
Configuration menu - View commit details
-
Copy full SHA for c5fb6ca - Browse repository at this point
Copy the full SHA c5fb6caView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.