Skip to content

Commit

Permalink
fixup! module: runtime deprecate subpath folder mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Feb 3, 2021
1 parent e598415 commit de67bba
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -2681,7 +2681,7 @@ Use `fs.rm(path, { recursive: true, force: true })` instead.
<!-- YAML
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/
pr-url: https://github.com/nodejs/node/pull/37215
description: Runtime deprecation.
- version: v15.1.0
pr-url: https://github.com/nodejs/node/pull/35747
Expand Down
2 changes: 1 addition & 1 deletion doc/api/packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ targets, this expansion is dependent on only the files of the package itself.
<!-- YAML
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/
pr-url: https://github.com/nodejs/node/pull/37215
description: Runtime deprecation.
- version: v15.1.0
pr-url: https://github.com/nodejs/node/pull/35747
Expand Down
3 changes: 2 additions & 1 deletion test/es-module/test-esm-local-deprecations.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ const deprecatedFoldersIgnore =
let curWarning = 0;
const expectedWarnings = [
'"./" in the "exports" field',
'"#self/" in the "imports" field'
'"#self/" in the "imports" field',
'"./folder/" in the "exports" field',
];

process.addListener('warning', mustCall((warning) => {
Expand Down

0 comments on commit de67bba

Please sign in to comment.