GeezerVison is showing github.com — doc,worker: deprecate `--trace-atomics-wait` · nodejs/node@68c4e45
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: doc/api/cli.md +3Lines changed: 3 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1289,8 +1289,11 @@ for TLSv1.2, which is not as secure as TLSv1.3. |
1289 | 1289 |
|
1290 | 1290 | <!-- YAML |
1291 | 1291 | added: v14.3.0 |
| 1292 | +deprecated: REPLACEME |
1292 | 1293 | --> |
1293 | 1294 |
|
| 1295 | +> Stability: 0 - Deprecated |
| 1296 | +
|
1294 | 1297 | Print short summaries of calls to [`Atomics.wait()`][] to stderr. |
1295 | 1298 | The output could look like this: |
1296 | 1299 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: doc/api/deprecations.md +14Lines changed: 14 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -3169,13 +3169,27 @@ Type: Documentation-only |
3169 | 3169 | `code` values other than `undefined`, `null`, integer numbers and integer |
3170 | 3170 | strings (e.g., '1') are deprecated as parameter in [`process.exit()`][]. |
3171 | 3171 |
|
| 3172 | +### DEP0165: `--trace-atomics-wait` |
| 3173 | + |
| 3174 | +<!-- YAML |
| 3175 | +changes: |
| 3176 | + - version: REPLACEME |
| 3177 | + pr-url: https://github.com/nodejs/node/pull/44093 |
| 3178 | + description: Documentation-only deprecation. |
| 3179 | +--> |
| 3180 | + |
| 3181 | +Type: Documentation-only |
| 3182 | + |
| 3183 | +The [`--trace-atomics-wait`][] flag is deprecated. |
| 3184 | + |
3172 | 3185 | [Legacy URL API]: url.md#legacy-url-api |
3173 | 3186 | [NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf |
3174 | 3187 | [RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3 |
3175 | 3188 | [WHATWG URL API]: url.md#the-whatwg-url-api |
3176 | 3189 | [`"exports"` or `"main"` entry]: packages.md#main-entry-point-export |
3177 | 3190 | [`--pending-deprecation`]: cli.md#--pending-deprecation |
3178 | 3191 | [`--throw-deprecation`]: cli.md#--throw-deprecation |
| 3192 | +[`--trace-atomics-wait`]: cli.md#--trace-atomics-wait |
3179 | 3193 | [`--unhandled-rejections`]: cli.md#--unhandled-rejectionsmode |
3180 | 3194 | [`Buffer.allocUnsafeSlow(size)`]: buffer.md#static-method-bufferallocunsafeslowsize |
3181 | 3195 | [`Buffer.from(array)`]: buffer.md#static-method-bufferfromarray |
|
Collapse file
Copy file name to clipboardExpand all lines: doc/node.1 +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -432,6 +432,7 @@ favour of TLSv1.3, which is more secure. |
432 | 432 | Print short summaries of calls to |
433 | 433 | .Sy Atomics.wait() . |
434 | 434 | . |
| 435 | +This flag is deprecated. |
435 | 436 | .It Fl -trace-deprecation |
436 | 437 | Print stack traces for deprecations. |
437 | 438 | . |
|
Collapse file
Copy file name to clipboardExpand all lines: src/node_options.cc +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -540,7 +540,7 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() { |
540 | 540 | &EnvironmentOptions::throw_deprecation, |
541 | 541 | kAllowedInEnvironment); |
542 | 542 | AddOption("--trace-atomics-wait", |
543 | | - "trace Atomics.wait() operations", |
| 543 | + "(deprecated) trace Atomics.wait() operations", |
544 | 544 | &EnvironmentOptions::trace_atomics_wait, |
545 | 545 | kAllowedInEnvironment); |
546 | 546 | AddOption("--trace-deprecation", |
|