diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index be1c4ef344a342..cbb5a40ad2766c 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -3440,7 +3440,12 @@ deprecated. Get them from `fs.constants` or `fs.promises.constants` instead. -Type: Documentation-only +Type: End-of-Life -The [`util.types.isWebAssemblyCompiledModule`][] API is deprecated. Please use -`value instanceof WebAssembly.Module` instead. +The `util.types.isWebAssemblyCompiledModule` API has been removed. +Please use `value instanceof WebAssembly.Module` instead. ### DEP0178: `dirent.path` @@ -3628,7 +3633,6 @@ Please use the [`crypto.createHash()`][] method to create Hash instances. [`util.log()`]: util.md#utillogstring [`util.promisify`]: util.md#utilpromisifyoriginal [`util.toUSVString()`]: util.md#utiltousvstringstring -[`util.types.isWebAssemblyCompiledModule`]: util.md#utiltypesiswebassemblycompiledmodulevalue [`util.types`]: util.md#utiltypes [`util`]: util.md [`worker.exitedAfterDisconnect`]: cluster.md#workerexitedafterdisconnect diff --git a/doc/api/util.md b/doc/api/util.md index c74e2b344defa1..ed05dfebaf5384 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -2868,25 +2868,6 @@ Returns `true` if the value is a built-in [`WeakSet`][] instance. util.types.isWeakSet(new WeakSet()); // Returns true ``` -### `util.types.isWebAssemblyCompiledModule(value)` - - - -> Stability: 0 - Deprecated: Use `value instanceof WebAssembly.Module` instead. - -* `value` {any} -* Returns: {boolean} - -Returns `true` if the value is a built-in [`WebAssembly.Module`][] instance. - -```js -const module = new WebAssembly.Module(wasmBuffer); -util.types.isWebAssemblyCompiledModule(module); // Returns true -``` - ## Deprecated APIs The following APIs are deprecated and should no longer be used. Existing @@ -3392,7 +3373,6 @@ util.log('Timestamped message.'); [`Uint8ClampedArray`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray [`WeakMap`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap [`WeakSet`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet -[`WebAssembly.Module`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Module [`assert.deepStrictEqual()`]: assert.md#assertdeepstrictequalactual-expected-message [`console.error()`]: console.md#consoleerrordata-args [`mime.toString()`]: #mimetostring