diff options
author | cjihrig <cjihrig@gmail.com> | 2019-05-29 09:59:08 -0400 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2019-05-31 11:09:53 -0400 |
commit | 14701e539c190563cc5b041d101682129f4f5770 (patch) | |
tree | 577ed3dbfc0ea4250e0f028c16f7ba325ac49ee6 /doc/api/deprecations.md | |
parent | 3ba6813daf8aab3f58d09b92aef4676a872debde (diff) | |
download | android-node-v8-14701e539c190563cc5b041d101682129f4f5770.tar.gz android-node-v8-14701e539c190563cc5b041d101682129f4f5770.tar.bz2 android-node-v8-14701e539c190563cc5b041d101682129f4f5770.zip |
module: runtime deprecate createRequireFromPath()
This commit moves DEP0130 to a runtime deprecation.
PR-URL: https://github.com/nodejs/node/pull/27951
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/deprecations.md')
-rw-r--r-- | doc/api/deprecations.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 9773c4069f..7aeab5be7d 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -2451,12 +2451,15 @@ instead. ### DEP0130: Module.createRequireFromPath() <!-- YAML changes: + - version: REPLACEME + pr-url: https://github.com/nodejs/node/pull/27951 + description: Runtime deprecation. - version: v12.2.0 pr-url: https://github.com/nodejs/node/pull/27405 description: Documentation-only. --> -Type: Documentation-only +Type: Runtime Module.createRequireFromPath() is deprecated. Please use [`module.createRequire()`][] instead. |