Skip to content

Commit 4d85763

Browse files
marco-ippolitoUlisesGascon
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 eec1fd9 commit 4d85763

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
@@ -3420,6 +3420,23 @@ Type: Documentation-only
34203420
`F_OK`, `R_OK`, `W_OK` and `X_OK` getters exposed directly on `node:fs` are
34213421
deprecated. Get them from `fs.constants` or `fs.promises.constants` instead.
34223422

3423+
### DEP0177: `util.types.isWebAssemblyCompiledModule`
3424+
3425+
<!-- YAML
3426+
changes:
3427+
- version: REPLACEME
3428+
pr-url: https://github.com/nodejs/node/pull/50486
3429+
description: A deprecation code has been assigned.
3430+
- version: v14.0.0
3431+
pr-url: https://github.com/nodejs/node/pull/32116
3432+
description: Documentation-only deprecation.
3433+
-->
3434+
3435+
Type: Documentation-only
3436+
3437+
The [`util.types.isWebAssemblyCompiledModule`][] API is deprecated. Please use
3438+
`value instanceof WebAssembly.Module` instead.
3439+
34233440
[NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
34243441
[RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3
34253442
[RFC 8247 Section 2.4]: https://www.rfc-editor.org/rfc/rfc8247#section-2.4
@@ -3563,6 +3580,7 @@ deprecated. Get them from `fs.constants` or `fs.promises.constants` instead.
35633580
[`util.log()`]: util.md#utillogstring
35643581
[`util.promisify`]: util.md#utilpromisifyoriginal
35653582
[`util.toUSVString()`]: util.md#utiltousvstringstring
3583+
[`util.types.isWebAssemblyCompiledModule`]: util.md#utiltypesiswebassemblycompiledmodulevalue
35663584
[`util.types`]: util.md#utiltypes
35673585
[`util`]: util.md
35683586
[`worker.exitedAfterDisconnect`]: cluster.md#workerexitedafterdisconnect

0 commit comments

Comments
 (0)