FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[v8.x backport] tools: add check for using process.binding crypto by danbev · Pull Request #19029 · nodejs/node · GitHub

/ node Public

[v8.x backport] tools: add check for using process.binding crypto - #19029

Closed
danbev wants to merge 1 commit into
nodejs:v8.x-stagingfrom
danbev:backport-17867-to-v8.x
Closed

[v8.x backport] tools: add check for using process.binding crypto#19029
danbev wants to merge 1 commit into
nodejs:v8.x-stagingfrom
danbev:backport-17867-to-v8.x

Conversation

danbev commented Feb 27, 2018

Copy link
Copy Markdown
Contributor

Currently, when configuring --without-ssl any tests that use
process.binding('crypto') will not report a lint warning. This is
because the eslint check only generates a warning when using require.

This commit adds a check for using binding in addition to require.

PR-URL: #17867
Reviewed-By: James M Snell jasnell@gmail.com
Reviewed-By: Ruben Bridgewater ruben@bridgewater.de

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

tools

Currently, when configuring --without-ssl any tests that use
process.binding('crypto') will not report a lint warning. This is
because the eslint check only generates a warning when using require.

This commit adds a check for using binding in addition to require.

PR-URL: nodejs#17867
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
nodejs-github-bot added tools Issues and PRs related to the tools directory. v8.x labels Feb 27, 2018

danbev commented Feb 27, 2018

Copy link
Copy Markdown
Contributor Author

gibfahn self-assigned this Mar 5, 2018

Copy link
Copy Markdown
Contributor

landed in fe3d60e

danbev deleted the backport-17867-to-v8.x branch March 27, 2018 06:15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tools Issues and PRs related to the tools directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL