Skip to content

Commit 9a68b47

Browse files
marco-ippolitorichardlau
authored andcommitted
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 8016628 commit 9a68b47

File tree

2 files changed

+8
-25
lines changed

2 files changed

+8
-25
lines changed

doc/api/deprecations.md

+8-5
Original file line numberDiff line numberDiff line change
@@ -3432,18 +3432,22 @@ deprecated. Get them from `fs.constants` or `fs.promises.constants` instead.
34323432

34333433
<!-- YAML
34343434
changes:
3435-
- version: v20.11.0
3435+
- version: REPLACEME
3436+
pr-url: https://github.com/nodejs/node/pull/51442
3437+
description: End-of-Life.
3438+
- version:
3439+
- v20.11.0
34363440
pr-url: https://github.com/nodejs/node/pull/50486
34373441
description: A deprecation code has been assigned.
34383442
- version: v14.0.0
34393443
pr-url: https://github.com/nodejs/node/pull/32116
34403444
description: Documentation-only deprecation.
34413445
-->
34423446

3443-
Type: Documentation-only
3447+
Type: End-of-Life
34443448

3445-
The [`util.types.isWebAssemblyCompiledModule`][] API is deprecated. Please use
3446-
`value instanceof WebAssembly.Module` instead.
3449+
The `util.types.isWebAssemblyCompiledModule` API has been removed.
3450+
Please use `value instanceof WebAssembly.Module` instead.
34473451

34483452
### DEP0178: `dirent.path`
34493453

@@ -3620,7 +3624,6 @@ Please use the [`crypto.createHash()`][] method to create Hash instances.
36203624
[`util.log()`]: util.md#utillogstring
36213625
[`util.promisify`]: util.md#utilpromisifyoriginal
36223626
[`util.toUSVString()`]: util.md#utiltousvstringstring
3623-
[`util.types.isWebAssemblyCompiledModule`]: util.md#utiltypesiswebassemblycompiledmodulevalue
36243627
[`util.types`]: util.md#utiltypes
36253628
[`util`]: util.md
36263629
[`worker.exitedAfterDisconnect`]: cluster.md#workerexitedafterdisconnect

doc/api/util.md

-20
Original file line numberDiff line numberDiff line change
@@ -2866,25 +2866,6 @@ Returns `true` if the value is a built-in [`WeakSet`][] instance.
28662866
util.types.isWeakSet(new WeakSet()); // Returns true
28672867
```
28682868
2869-
### `util.types.isWebAssemblyCompiledModule(value)`
2870-
2871-
<!-- YAML
2872-
added: v10.0.0
2873-
deprecated: v14.0.0
2874-
-->
2875-
2876-
> Stability: 0 - Deprecated: Use `value instanceof WebAssembly.Module` instead.
2877-
2878-
* `value` {any}
2879-
* Returns: {boolean}
2880-
2881-
Returns `true` if the value is a built-in [`WebAssembly.Module`][] instance.
2882-
2883-
```js
2884-
const module = new WebAssembly.Module(wasmBuffer);
2885-
util.types.isWebAssemblyCompiledModule(module); // Returns true
2886-
```
2887-
28882869
## Deprecated APIs
28892870
28902871
The following APIs are deprecated and should no longer be used. Existing
@@ -3390,7 +3371,6 @@ util.log('Timestamped message.');
33903371
[`Uint8ClampedArray`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray
33913372
[`WeakMap`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap
33923373
[`WeakSet`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet
3393-
[`WebAssembly.Module`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Module
33943374
[`assert.deepStrictEqual()`]: assert.md#assertdeepstrictequalactual-expected-message
33953375
[`console.error()`]: console.md#consoleerrordata-args
33963376
[`mime.toString()`]: #mimetostring

0 commit comments

Comments
 (0)