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

process: add emitExperimentalWarning function by codeman869 · Pull Request #16497 · nodejs/node · GitHub

/ node Public

process: add emitExperimentalWarning function - #16497

Closed
codeman869 wants to merge 1 commit into
nodejs:masterfrom
codeman869:process/experimental
Closed

process: add emitExperimentalWarning function#16497
codeman869 wants to merge 1 commit into
nodejs:masterfrom
codeman869:process/experimental

Conversation

Copy link
Copy Markdown
Contributor

Adds process.emitExperimentalWarning to inform users that they are
using an experimental feature and that feature can change at any time.
Modifies the ESM module loader warning to utilize the new function and
allows user code to intercept this warning through a setImmediate call.

Refs: #9036

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
Affected core subsystem(s)

process, internal

nodejs-github-bot added lib / src Issues and PRs related to general changes in the lib or src directory. process Issues and PRs related to the process subsystem. labels Oct 25, 2017

mhdawson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Seems reasonable to me to common this up. I'll look at using it for N-API if possible once it lands.

jasnell previously approved these changes Oct 26, 2017
jasnell dismissed their stale review October 26, 2017 14:24

on second thought....

jasnell commented Oct 26, 2017

Copy link
Copy Markdown
Member

Let's make this an internal function on internal/util rather than expose it on process. It does not need to be a public, general use API.

codeman869 force-pushed the process/experimental branch from 8a2a34e to 720c9a8 Compare October 26, 2017 17:42

Copy link
Copy Markdown
Contributor Author

@jasnell I've moved the changes to internal/util. Let me know what you think

Copy link
Copy Markdown
Contributor Author

@jasnell do we need any further approvals or anything else to land this PR? :)

Copy link
Copy Markdown
Member

Adds a new emitExperimentalWarning function to internal/util to warn
users that they are using an experimental feature and that feature can
change at any time.

Refs: nodejs#9036

Copy link
Copy Markdown
Contributor Author

Rebased commit off current master so hopefully CI would pass

Copy link
Copy Markdown
Member

BridgeAR added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Nov 23, 2017

targos left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

landing...

targos commented Nov 23, 2017

Copy link
Copy Markdown
Member

Landed in b08c732

targos closed this Nov 23, 2017
targos pushed a commit that referenced this pull request Nov 23, 2017
Adds a new emitExperimentalWarning function to internal/util to warn
users that they are using an experimental feature and that feature can
change at any time.

PR-URL: #16497
Refs: #9036
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
codeman869 deleted the process/experimental branch November 26, 2017 15:40
addaleax removed the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Nov 28, 2017
apapirovski mentioned this pull request Dec 8, 2017
3 tasks
MylesBorins pushed a commit that referenced this pull request Dec 12, 2017
Adds a new emitExperimentalWarning function to internal/util to warn
users that they are using an experimental feature and that feature can
change at any time.

PR-URL: #16497
Refs: #9036
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
MylesBorins pushed a commit that referenced this pull request Dec 12, 2017
Adds a new emitExperimentalWarning function to internal/util to warn
users that they are using an experimental feature and that feature can
change at any time.

PR-URL: #16497
Refs: #9036
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
MylesBorins mentioned this pull request Dec 12, 2017
gibfahn added semver-minor PRs that contain new features and should be released in the next minor version. and removed semver-minor PRs that contain new features and should be released in the next minor version. labels Dec 19, 2017
gibfahn pushed a commit that referenced this pull request Dec 19, 2017
Adds a new emitExperimentalWarning function to internal/util to warn
users that they are using an experimental feature and that feature can
change at any time.

PR-URL: #16497
Refs: #9036
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
gibfahn mentioned this pull request Dec 20, 2017
gibfahn pushed a commit that referenced this pull request Dec 20, 2017
Adds a new emitExperimentalWarning function to internal/util to warn
users that they are using an experimental feature and that feature can
change at any time.

PR-URL: #16497
Refs: #9036
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
gibfahn mentioned this pull request Dec 20, 2017
richardlau mentioned this pull request Nov 5, 2018
4 tasks
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

lib / src Issues and PRs related to general changes in the lib or src directory. process Issues and PRs related to the process subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants


Back | FazBrowse Home | New Git URL