We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7016c61 commit 5cf6430Copy full SHA for 5cf6430
doc/api/deprecations.md
@@ -2711,7 +2711,7 @@ Type: Documentation-only.
2711
2712
Prefer [`message.socket`][] over [`message.connection`][].
2713
2714
-### DEP0XXX: Changing the value of `process.config`
+### DEP0150: Changing the value of `process.config`
2715
<!-- YAML
2716
changes:
2717
- version: REPLACEME
lib/internal/bootstrap/node.js
@@ -72,7 +72,7 @@ const deprecationHandler = {
72
warned: false,
73
message: 'Setting process.config is deprecated. ' +
74
'In the future the property will be read-only.',
75
- code: 'DEP0XXX',
+ code: 'DEP0150',
76
maybeWarn() {
77
if (!this.warned) {
78
process.emitWarning(this.message, {
0 commit comments