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

util: escape symbol and non-enumerable keys #22300

Closed
wants to merge 1 commit into from

Conversation

BridgeAR
Copy link
Member

These keys require escaping as they might also contain line breaks
and other special characters.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

@nodejs-github-bot nodejs-github-bot added the util Issues and PRs related to the built-in util module. label Aug 13, 2018
@BridgeAR
Copy link
Member Author

@BridgeAR
Copy link
Member Author

@nodejs/util PTAL

These keys require escaping as they might also contain line breaks
and other special characters.
@BridgeAR
Copy link
Member Author

BridgeAR commented Aug 15, 2018

@BridgeAR
Copy link
Member Author

PTAL. This needs a review.

@BridgeAR BridgeAR added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Aug 17, 2018
@benjamingr
Copy link
Member

Not sure about semverness, please run a citgm before landing. Nice find :)

@BridgeAR
Copy link
Member Author

BridgeAR commented Aug 17, 2018

CITGM this PR https://ci.nodejs.org/view/Node.js-citgm/job/citgm-smoker/1513/ ✔️
CITGM other PR https://ci.nodejs.org/view/Node.js-citgm/job/citgm-smoker/1507/

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

LGTM

BridgeAR added a commit to BridgeAR/node that referenced this pull request Aug 19, 2018
These keys require escaping as they might also contain line breaks
and other special characters.

PR-URL: nodejs#22300
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
@BridgeAR
Copy link
Member Author

Landed in a04f2f7

@BridgeAR BridgeAR closed this Aug 19, 2018
@targos targos added backport-requested-v10.x and removed author ready PRs that have at least one approval, no pending requests for changes, and a CI started. labels Aug 19, 2018
@targos
Copy link
Member

targos commented Aug 19, 2018

Should this be backported to v10.x-staging? If yes please follow the guide and raise a backport PR, if not let me know or add the dont-land-on label.

@targos
Copy link
Member

targos commented Aug 19, 2018

Landed easily after #21869

targos pushed a commit that referenced this pull request Aug 19, 2018
These keys require escaping as they might also contain line breaks
and other special characters.

PR-URL: #22300
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
targos pushed a commit that referenced this pull request Sep 3, 2018
These keys require escaping as they might also contain line breaks
and other special characters.

PR-URL: #22300
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
@BridgeAR BridgeAR deleted the fix-key-escaping branch January 20, 2020 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
util Issues and PRs related to the built-in util module.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants