Skip to content

Commit af6b5b1

Browse files
marco-ippolitotargos
authored andcommitted
doc: mark isWebAssemblyCompiledModule eol
PR-URL: #51442 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
1 parent a62f69e commit af6b5b1

File tree

2 files changed

+9
-25
lines changed

2 files changed

+9
-25
lines changed

doc/api/deprecations.md

+9-5
Original file line numberDiff line numberDiff line change
@@ -3440,18 +3440,23 @@ deprecated. Get them from `fs.constants` or `fs.promises.constants` instead.
34403440

34413441
<!-- YAML
34423442
changes:
3443-
- version: v21.3.0
3443+
- version: REPLACEME
3444+
pr-url: https://github.com/nodejs/node/pull/51442
3445+
description: End-of-Life.
3446+
- version:
3447+
- v21.3.0
3448+
- v20.11.0
34443449
pr-url: https://github.com/nodejs/node/pull/50486
34453450
description: A deprecation code has been assigned.
34463451
- version: v14.0.0
34473452
pr-url: https://github.com/nodejs/node/pull/32116
34483453
description: Documentation-only deprecation.
34493454
-->
34503455

3451-
Type: Documentation-only
3456+
Type: End-of-Life
34523457

3453-
The [`util.types.isWebAssemblyCompiledModule`][] API is deprecated. Please use
3454-
`value instanceof WebAssembly.Module` instead.
3458+
The `util.types.isWebAssemblyCompiledModule` API has been removed.
3459+
Please use `value instanceof WebAssembly.Module` instead.
34553460

34563461
### DEP0178: `dirent.path`
34573462

@@ -3628,7 +3633,6 @@ Please use the [`crypto.createHash()`][] method to create Hash instances.
36283633
[`util.log()`]: util.md#utillogstring
36293634
[`util.promisify`]: util.md#utilpromisifyoriginal
36303635
[`util.toUSVString()`]: util.md#utiltousvstringstring
3631-
[`util.types.isWebAssemblyCompiledModule`]: util.md#utiltypesiswebassemblycompiledmodulevalue
36323636
[`util.types`]: util.md#utiltypes
36333637
[`util`]: util.md
36343638
[`worker.exitedAfterDisconnect`]: cluster.md#workerexitedafterdisconnect

doc/api/util.md

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

0 commit comments

Comments
 (0)