Skip to content

Commit 98fb1fa

Browse files
marco-ippolitoRafaelGSS
authored andcommitted
doc: create deprecation code for isWebAssemblyCompiledModule
PR-URL: #50486 Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
1 parent a12d9e0 commit 98fb1fa

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

doc/api/deprecations.md

+18
Original file line numberDiff line numberDiff line change
@@ -3428,6 +3428,23 @@ Type: Documentation-only
34283428
`F_OK`, `R_OK`, `W_OK` and `X_OK` getters exposed directly on `node:fs` are
34293429
deprecated. Get them from `fs.constants` or `fs.promises.constants` instead.
34303430

3431+
### DEP0177: `util.types.isWebAssemblyCompiledModule`
3432+
3433+
<!-- YAML
3434+
changes:
3435+
- version: REPLACEME
3436+
pr-url: https://github.com/nodejs/node/pull/50486
3437+
description: A deprecation code has been assigned.
3438+
- version: v14.0.0
3439+
pr-url: https://github.com/nodejs/node/pull/32116
3440+
description: Documentation-only deprecation.
3441+
-->
3442+
3443+
Type: Documentation-only
3444+
3445+
The [`util.types.isWebAssemblyCompiledModule`][] API is deprecated. Please use
3446+
`value instanceof WebAssembly.Module` instead.
3447+
34313448
[NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
34323449
[RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3
34333450
[RFC 8247 Section 2.4]: https://www.rfc-editor.org/rfc/rfc8247#section-2.4
@@ -3571,6 +3588,7 @@ deprecated. Get them from `fs.constants` or `fs.promises.constants` instead.
35713588
[`util.log()`]: util.md#utillogstring
35723589
[`util.promisify`]: util.md#utilpromisifyoriginal
35733590
[`util.toUSVString()`]: util.md#utiltousvstringstring
3591+
[`util.types.isWebAssemblyCompiledModule`]: util.md#utiltypesiswebassemblycompiledmodulevalue
35743592
[`util.types`]: util.md#utiltypes
35753593
[`util`]: util.md
35763594
[`worker.exitedAfterDisconnect`]: cluster.md#workerexitedafterdisconnect

0 commit comments

Comments
 (0)