Skip to content
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

Upgrade js-yaml to 3.10.0. #592

Merged
merged 2 commits into from Sep 16, 2017
Merged

Upgrade js-yaml to 3.10.0. #592

merged 2 commits into from Sep 16, 2017

Conversation

tech4him1
Copy link
Contributor

@tech4him1 tech4him1 commented Sep 11, 2017

- Summary

The main fix we are wanting is outputting astral characters (emojis) as a single escape instead of surrogate pairs: nodeca/js-yaml#368.

Because of how yarn works, this doesn't upgrade our front-matter YAML parser, because that is technically a preliminaries dependency. The only bugs fixed in js-yaml@3.10.0 were dumping bugs, not parsing ones, so I think we are still fine this way, because we would be using 3.9.1 for parsing, but the newer version for dumping. Any thoughts, or just wait until we switch to grey-matter?
I also went ahead and updated the preliminaries front-matter parser too, so that it would use the newer version of js-yaml as well.

Closes #577.

- Test plan

Manually tested to be working.

- Description for the changelog

Upgrade js-yaml to 3.10.0.

The main fix we are wanting is outputting astral characters (emojis) as
a single escape instead of surrogate pairs: nodeca/js-yaml#368.
Copy link
Contributor

@erquhart erquhart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@Benaiah Benaiah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Benaiah Benaiah merged commit ce2278b into master Sep 16, 2017
@tech4him1 tech4him1 deleted the upgrade-js-yaml branch September 16, 2017 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Emoji in front-matter fields should not get converted to Unicode surrogate pairs
3 participants