@@ -2889,12 +2889,15 @@ Prefer [`message.socket`][] over [`message.connection`][].
2889
2889
2890
2890
<!-- YAML
2891
2891
changes:
2892
+ - version: REPLACEME
2893
+ pr-url: https://github.com/nodejs/node/pull/43627
2894
+ description: End-of-Life.
2892
2895
- version: v16.0.0
2893
2896
pr-url: https://github.com/nodejs/node/pull/36902
2894
2897
description: Runtime deprecation.
2895
2898
-->
2896
2899
2897
- Type: Runtime
2900
+ Type: End-of-Life
2898
2901
2899
2902
The ` process.config ` property provides access to Node.js compile-time settings.
2900
2903
However, the property is mutable and therefore subject to tampering. The ability
@@ -3057,7 +3060,9 @@ const w = new Writable({
3057
3060
3058
3061
<!-- YAML
3059
3062
changes:
3060
- - version: v17.5.0
3063
+ - version:
3064
+ - v17.5.0
3065
+ - v16.15.0
3061
3066
pr-url: https://github.com/nodejs/node/pull/41596
3062
3067
description: Documentation-only deprecation.
3063
3068
-->
@@ -3090,7 +3095,9 @@ changes:
3090
3095
- version: v18.0.0
3091
3096
pr-url: https://github.com/nodejs/node/pull/41896
3092
3097
description: Runtime deprecation.
3093
- - version: v17.6.0
3098
+ - version:
3099
+ - v17.6.0
3100
+ - v16.15.0
3094
3101
pr-url: https://github.com/nodejs/node/pull/41872
3095
3102
description: Documentation-only deprecation.
3096
3103
-->
@@ -3104,7 +3111,9 @@ which diminished its usefulness.
3104
3111
3105
3112
<!-- YAML
3106
3113
changes:
3107
- - version: v17.6.0
3114
+ - version:
3115
+ - v17.6.0
3116
+ - v16.15.0
3108
3117
pr-url: https://github.com/nodejs/node/pull/41587
3109
3118
description: Documentation-only deprecation.
3110
3119
-->
@@ -3122,15 +3131,20 @@ resources and not the actual references.
3122
3131
3123
3132
<!-- YAML
3124
3133
changes:
3134
+ - version: REPLACEME
3135
+ pr-url: https://github.com/nodejs/node/pull/42796
3136
+ description: End-of-Life.
3125
3137
- version: v18.0.0
3126
3138
pr-url: https://github.com/nodejs/node/pull/42607
3127
3139
description: Runtime deprecation.
3128
- - version: v17.8.0
3140
+ - version:
3141
+ - v17.8.0
3142
+ - v16.15.0
3129
3143
pr-url: https://github.com/nodejs/node/pull/42149
3130
3144
description: Documentation-only deprecation.
3131
3145
-->
3132
3146
3133
- Type: Runtime
3147
+ Type: End-of-Life
3134
3148
3135
3149
Implicit coercion of objects with own ` toString ` property, passed as second
3136
3150
parameter in [ ` fs.write() ` ] [ ] , [ ` fs.writeFile() ` ] [ ] , [ ` fs.appendFile() ` ] [ ] ,
@@ -3141,7 +3155,9 @@ Convert them to primitive strings.
3141
3155
3142
3156
<!-- YAML
3143
3157
changes:
3144
- - version: v18.7.0
3158
+ - version:
3159
+ - v18.7.0
3160
+ - v16.17.0
3145
3161
pr-url: https://github.com/nodejs/node/pull/42714
3146
3162
description: Documentation-only deprecation.
3147
3163
-->
@@ -3155,19 +3171,27 @@ Use [`diagnostics_channel.subscribe(name, onMessage)`][] or
3155
3171
[ ` diagnostics_channel.unsubscribe(name, onMessage) ` ] [ ] which does the same
3156
3172
thing instead.
3157
3173
3158
- ### DEP0164: ` process.exit([ code]) ` coercion to integer
3174
+ ### DEP0164: ` process.exit(code) ` , ` process.exitCode ` coercion to integer
3159
3175
3160
3176
<!-- YAML
3161
3177
changes:
3162
- - version: v18.7.0
3178
+ - version: REPLACEME
3179
+ pr-url: https://github.com/nodejs/node/pull/44714
3180
+ description: Documentation-only deprecation of `process.exitCode` integer
3181
+ coercion.
3182
+ - version:
3183
+ - v18.7.0
3184
+ - v16.17.0
3163
3185
pr-url: https://github.com/nodejs/node/pull/43738
3164
- description: Documentation-only deprecation.
3186
+ description: Documentation-only deprecation of `process.exit(code)` integer
3187
+ coercion.
3165
3188
-->
3166
3189
3167
3190
Type: Documentation-only
3168
3191
3169
- ` code ` values other than ` undefined ` , ` null ` , integer numbers and integer
3170
- strings (e.g., '1') are deprecated as parameter in [ ` process.exit() ` ] [ ] .
3192
+ Values other than ` undefined ` , ` null ` , integer numbers, and integer strings
3193
+ (e.g., ` '1' ` ) are deprecated as value for the ` code ` parameter in
3194
+ [ ` process.exit() ` ] [ ] and as value to assign to [ ` process.exitCode ` ] [ ] .
3171
3195
3172
3196
### DEP0165: ` --trace-atomics-wait `
3173
3197
@@ -3186,13 +3210,16 @@ The [`--trace-atomics-wait`][] flag is deprecated.
3186
3210
3187
3211
<!-- YAML
3188
3212
changes:
3213
+ - version: REPLACEME
3214
+ pr-url: https://github.com/nodejs/node/pull/44495
3215
+ description: Runtime deprecation.
3189
3216
- version: REPLACEME
3190
3217
pr-url: https://github.com/nodejs/node/pull/44477
3191
3218
description: Documentation-only deprecation
3192
3219
with `--pending-deprecation` support.
3193
3220
-->
3194
3221
3195
- Type: Documentation-only (supports [ ` --pending-deprecation ` ] [ ] )
3222
+ Type: Runtime
3196
3223
3197
3224
Package imports and exports targets mapping into paths including a double slash
3198
3225
(of _ "/"_ or _ "\\ "_ ) are deprecated and will fail with a resolution validation
@@ -3320,6 +3347,7 @@ Node-API callbacks.
3320
3347
[ `os.tmpdir()` ] : os.md#ostmpdir
3321
3348
[ `process.env` ] : process.md#processenv
3322
3349
[ `process.exit()` ] : process.md#processexitcode
3350
+ [ `process.exitCode` ] : process.md#processexitcode_1
3323
3351
[ `process.getActiveResourcesInfo()` ] : process.md#processgetactiveresourcesinfo
3324
3352
[ `process.mainModule` ] : process.md#processmainmodule
3325
3353
[ `punycode` ] : punycode.md
0 commit comments