Skip to content

Commit b3f35e2

Browse files
committed
doc,lib: add missing deprecation code
PR-URL: #37541 Refs: #37136 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent f91509b commit b3f35e2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: doc/api/deprecations.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2751,7 +2751,7 @@ Previously, `index.js` and extension searching lookups would apply to
27512751
With this deprecation, all ES module main entry point resolutions require
27522752
an explicit [`"exports"` or `"main"` entry][] with the exact file extension.
27532753

2754-
### DEP0XXX: Extension PerformanceEntry properties
2754+
### DEP0152: Extension PerformanceEntry properties
27552755
<!-- YAML
27562756
changes:
27572757
- version: REPLACEME

Diff for: lib/internal/perf/observe.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -332,10 +332,10 @@ function observerCallback(name, type, startTime, duration, details) {
332332
enumerable: true,
333333
get: deprecate(() => {
334334
return entry[kDeprecatedFields].get(key);
335-
}, kDeprecationMessage, 'DEP0XXX'),
335+
}, kDeprecationMessage, 'DEP0152'),
336336
set: deprecate((value) => {
337337
entry[kDeprecatedFields].set(key, value);
338-
}, kDeprecationMessage, 'DEP0XXX'),
338+
}, kDeprecationMessage, 'DEP0152'),
339339
};
340340
}
341341
ObjectDefineProperties(entry, props);

0 commit comments

Comments
 (0)