diff --git a/doc/api/cli.md b/doc/api/cli.md index c61cb96f231..ae12e9269c9 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -1195,8 +1195,11 @@ for TLSv1.2, which is not as secure as TLSv1.3. +> Stability: 0 - Deprecated + Print short summaries of calls to [`Atomics.wait()`][] to stderr. The output could look like this: diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 5a356b8d048..35c65cbb841 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -3134,6 +3134,19 @@ Type: Documentation-only `code` values other than `undefined`, `null`, integer numbers and integer strings (e.g., '1') are deprecated as parameter in [`process.exit()`][]. +### DEP0165: `--trace-atomics-wait` + + + +Type: Documentation-only + +The [`--trace-atomics-wait`][] flag is deprecated. + [Legacy URL API]: url.md#legacy-url-api [NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf [RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3 @@ -3141,6 +3154,7 @@ strings (e.g., '1') are deprecated as parameter in [`process.exit()`][]. [`"exports"` or `"main"` entry]: packages.md#main-entry-point-export [`--pending-deprecation`]: cli.md#--pending-deprecation [`--throw-deprecation`]: cli.md#--throw-deprecation +[`--trace-atomics-wait`]: cli.md#--trace-atomics-wait [`--unhandled-rejections`]: cli.md#--unhandled-rejectionsmode [`Buffer.allocUnsafeSlow(size)`]: buffer.md#static-method-bufferallocunsafeslowsize [`Buffer.from(array)`]: buffer.md#static-method-bufferfromarray diff --git a/doc/node.1 b/doc/node.1 index 602c812c92f..871a74d25bd 100644 --- a/doc/node.1 +++ b/doc/node.1 @@ -429,6 +429,7 @@ favour of TLSv1.3, which is more secure. Print short summaries of calls to .Sy Atomics.wait() . . +This flag is deprecated. .It Fl -trace-deprecation Print stack traces for deprecations. . diff --git a/src/node_options.cc b/src/node_options.cc index 2327f043cc6..0bee2fdd047 100644 --- a/src/node_options.cc +++ b/src/node_options.cc @@ -539,7 +539,7 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() { &EnvironmentOptions::throw_deprecation, kAllowedInEnvironment); AddOption("--trace-atomics-wait", - "trace Atomics.wait() operations", + "(deprecated) trace Atomics.wait() operations", &EnvironmentOptions::trace_atomics_wait, kAllowedInEnvironment); AddOption("--trace-deprecation",