Skip to content

Commit de67bba

Browse files
committed
fixup! module: runtime deprecate subpath folder mappings
1 parent e598415 commit de67bba

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

doc/api/deprecations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2681,7 +2681,7 @@ Use `fs.rm(path, { recursive: true, force: true })` instead.
26812681
<!-- YAML
26822682
changes:
26832683
- version: REPLACEME
2684-
pr-url: https://github.com/nodejs/node/pull/
2684+
pr-url: https://github.com/nodejs/node/pull/37215
26852685
description: Runtime deprecation.
26862686
- version: v15.1.0
26872687
pr-url: https://github.com/nodejs/node/pull/35747

doc/api/packages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ targets, this expansion is dependent on only the files of the package itself.
369369
<!-- YAML
370370
changes:
371371
- version: REPLACEME
372-
pr-url: https://github.com/nodejs/node/pull/
372+
pr-url: https://github.com/nodejs/node/pull/37215
373373
description: Runtime deprecation.
374374
- version: v15.1.0
375375
pr-url: https://github.com/nodejs/node/pull/35747

test/es-module/test-esm-local-deprecations.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ const deprecatedFoldersIgnore =
1212
let curWarning = 0;
1313
const expectedWarnings = [
1414
'"./" in the "exports" field',
15-
'"#self/" in the "imports" field'
15+
'"#self/" in the "imports" field',
16+
'"./folder/" in the "exports" field',
1617
];
1718

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

0 commit comments

Comments
 (0)