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

lib: force using primordials for JSON, Math and Reflect #27027

Closed
wants to merge 1 commit into from

Conversation

targos
Copy link
Member

@targos targos commented Mar 31, 2019

Use the "no-restricted-globals" ESLint rule to lint for it.

Use the "no-restricted-globals" ESLint rule to lint for it.
@nodejs-github-bot nodejs-github-bot added the lib / src Issues and PRs related to general changes in the lib or src directory. label Mar 31, 2019
@targos targos added the semver-major PRs that contain breaking changes and should be released in the next major version. label Mar 31, 2019
@joyeecheung
Copy link
Member

I don’t think we have to make this semver-major? Monkey patching JS builtins is not something we provide any stability guarantees for?

@BridgeAR BridgeAR added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Mar 31, 2019
@nodejs-github-bot
Copy link
Collaborator

@targos targos removed the semver-major PRs that contain breaking changes and should be released in the next major version. label Mar 31, 2019
@MylesBorins
Copy link
Contributor

Should we also do safemap and safeset?

@targos
Copy link
Member Author

targos commented Apr 1, 2019

@MylesBorins
Maybe in another PR?

@nodejs-github-bot
Copy link
Collaborator

@ZYSzys
Copy link
Member

ZYSzys commented Apr 3, 2019

Landed in 0817840 🎉

@ZYSzys ZYSzys closed this Apr 3, 2019
ZYSzys pushed a commit that referenced this pull request Apr 3, 2019
Use the "no-restricted-globals" ESLint rule to lint for it.

PR-URL: #27027
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@targos targos deleted the primordial-ns branch April 3, 2019 18:12
BethGriggs pushed a commit that referenced this pull request Apr 4, 2019
Use the "no-restricted-globals" ESLint rule to lint for it.

PR-URL: #27027
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
MarshallOfSound pushed a commit to electron/node that referenced this pull request Jun 26, 2019
Use the "no-restricted-globals" ESLint rule to lint for it.

PR-URL: nodejs/node#27027
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. lib / src Issues and PRs related to general changes in the lib or src directory.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants