File tree 2 files changed +8
-25
lines changed
2 files changed +8
-25
lines changed Original file line number Diff line number Diff line change @@ -3432,18 +3432,22 @@ deprecated. Get them from `fs.constants` or `fs.promises.constants` instead.
3432
3432
3433
3433
<!-- YAML
3434
3434
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
3436
3440
pr-url: https://github.com/nodejs/node/pull/50486
3437
3441
description: A deprecation code has been assigned.
3438
3442
- version: v14.0.0
3439
3443
pr-url: https://github.com/nodejs/node/pull/32116
3440
3444
description: Documentation-only deprecation.
3441
3445
-->
3442
3446
3443
- Type: Documentation-only
3447
+ Type: End-of-Life
3444
3448
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.
3447
3451
3448
3452
### DEP0178: ` dirent.path `
3449
3453
@@ -3620,7 +3624,6 @@ Please use the [`crypto.createHash()`][] method to create Hash instances.
3620
3624
[ `util.log()` ] : util.md#utillogstring
3621
3625
[ `util.promisify` ] : util.md#utilpromisifyoriginal
3622
3626
[ `util.toUSVString()` ] : util.md#utiltousvstringstring
3623
- [ `util.types.isWebAssemblyCompiledModule` ] : util.md#utiltypesiswebassemblycompiledmodulevalue
3624
3627
[ `util.types` ] : util.md#utiltypes
3625
3628
[ `util` ] : util.md
3626
3629
[ `worker.exitedAfterDisconnect` ] : cluster.md#workerexitedafterdisconnect
Original file line number Diff line number Diff line change @@ -2866,25 +2866,6 @@ Returns `true` if the value is a built-in [`WeakSet`][] instance.
2866
2866
util .types .isWeakSet (new WeakSet ()); // Returns true
2867
2867
` ` `
2868
2868
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
-
2888
2869
## Deprecated APIs
2889
2870
2890
2871
The following APIs are deprecated and should no longer be used. Existing
@@ -3390,7 +3371,6 @@ util.log('Timestamped message.');
3390
3371
[` Uint8ClampedArray ` ]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray
3391
3372
[` WeakMap ` ]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap
3392
3373
[` 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
3394
3374
[` assert .deepStrictEqual ()` ]: assert.md#assertdeepstrictequalactual-expected-message
3395
3375
[` console .error ()` ]: console.md#consoleerrordata-args
3396
3376
[` mime .toString ()` ]: #mimetostring
You can’t perform that action at this time.
0 commit comments