Skip to content

Commit 7496bc4

Browse files
doc: mark isWebAssemblyCompiledModule eol
PR-URL: #51442 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
1 parent 4257c08 commit 7496bc4

File tree

2 files changed

+6
-24
lines changed

2 files changed

+6
-24
lines changed

doc/api/deprecations.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3527,6 +3527,9 @@ deprecated. Get them from `fs.constants` or `fs.promises.constants` instead.
35273527

35283528
<!-- YAML
35293529
changes:
3530+
- version: REPLACEME
3531+
pr-url: https://github.com/nodejs/node/pull/51442
3532+
description: End-of-Life.
35303533
- version:
35313534
- v21.3.0
35323535
- v20.11.0
@@ -3537,10 +3540,10 @@ changes:
35373540
description: Documentation-only deprecation.
35383541
-->
35393542

3540-
Type: Documentation-only
3543+
Type: End-of-Life
35413544

3542-
The [`util.types.isWebAssemblyCompiledModule`][] API is deprecated. Please use
3543-
`value instanceof WebAssembly.Module` instead.
3545+
The `util.types.isWebAssemblyCompiledModule` API has been removed.
3546+
Please use `value instanceof WebAssembly.Module` instead.
35443547

35453548
### DEP0178: `dirent.path`
35463549

@@ -3715,7 +3718,6 @@ Please use the [`crypto.createHash()`][] method to create Hash instances.
37153718
[`util.log()`]: util.md#utillogstring
37163719
[`util.promisify`]: util.md#utilpromisifyoriginal
37173720
[`util.toUSVString()`]: util.md#utiltousvstringstring
3718-
[`util.types.isWebAssemblyCompiledModule`]: util.md#utiltypesiswebassemblycompiledmodulevalue
37193721
[`util.types`]: util.md#utiltypes
37203722
[`util`]: util.md
37213723
[`worker.exitedAfterDisconnect`]: cluster.md#workerexitedafterdisconnect

doc/api/util.md

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2838,25 +2838,6 @@ Returns `true` if the value is a built-in [`WeakSet`][] instance.
28382838
util.types.isWeakSet(new WeakSet()); // Returns true
28392839
```
28402840
2841-
### `util.types.isWebAssemblyCompiledModule(value)`
2842-
2843-
<!-- YAML
2844-
added: v10.0.0
2845-
deprecated: v14.0.0
2846-
-->
2847-
2848-
> Stability: 0 - Deprecated: Use `value instanceof WebAssembly.Module` instead.
2849-
2850-
* `value` {any}
2851-
* Returns: {boolean}
2852-
2853-
Returns `true` if the value is a built-in [`WebAssembly.Module`][] instance.
2854-
2855-
```js
2856-
const module = new WebAssembly.Module(wasmBuffer);
2857-
util.types.isWebAssemblyCompiledModule(module); // Returns true
2858-
```
2859-
28602841
## Deprecated APIs
28612842
28622843
The following APIs are deprecated and should no longer be used. Existing
@@ -3362,7 +3343,6 @@ util.log('Timestamped message.');
33623343
[`Uint8ClampedArray`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray
33633344
[`WeakMap`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap
33643345
[`WeakSet`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet
3365-
[`WebAssembly.Module`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Module
33663346
[`assert.deepStrictEqual()`]: assert.md#assertdeepstrictequalactual-expected-message
33673347
[`console.error()`]: console.md#consoleerrordata-args
33683348
[`mime.toString()`]: #mimetostring

0 commit comments

Comments
 (0)