GeezerVison is showing github.com — doc: create deprecation code for isWebAssemblyCompiledModule · nodejs/node@98fb1fa
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: doc/api/deprecations.md +18Lines changed: 18 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -3428,6 +3428,23 @@ Type: Documentation-only |
3428 | 3428 | `F_OK`, `R_OK`, `W_OK` and `X_OK` getters exposed directly on `node:fs` are |
3429 | 3429 | deprecated. Get them from `fs.constants` or `fs.promises.constants` instead. |
3430 | 3430 |
|
| 3431 | +### DEP0177: `util.types.isWebAssemblyCompiledModule` |
| 3432 | + |
| 3433 | +<!-- YAML |
| 3434 | +changes: |
| 3435 | + - version: REPLACEME |
| 3436 | + pr-url: https://github.com/nodejs/node/pull/50486 |
| 3437 | + description: A deprecation code has been assigned. |
| 3438 | + - version: v14.0.0 |
| 3439 | + pr-url: https://github.com/nodejs/node/pull/32116 |
| 3440 | + description: Documentation-only deprecation. |
| 3441 | +--> |
| 3442 | + |
| 3443 | +Type: Documentation-only |
| 3444 | + |
| 3445 | +The [`util.types.isWebAssemblyCompiledModule`][] API is deprecated. Please use |
| 3446 | +`value instanceof WebAssembly.Module` instead. |
| 3447 | + |
3431 | 3448 | [NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf |
3432 | 3449 | [RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3 |
3433 | 3450 | [RFC 8247 Section 2.4]: https://www.rfc-editor.org/rfc/rfc8247#section-2.4 |
@@ -3571,6 +3588,7 @@ deprecated. Get them from `fs.constants` or `fs.promises.constants` instead. |
3571 | 3588 | [`util.log()`]: util.md#utillogstring |
3572 | 3589 | [`util.promisify`]: util.md#utilpromisifyoriginal |
3573 | 3590 | [`util.toUSVString()`]: util.md#utiltousvstringstring |
| 3591 | +[`util.types.isWebAssemblyCompiledModule`]: util.md#utiltypesiswebassemblycompiledmodulevalue |
3574 | 3592 | [`util.types`]: util.md#utiltypes |
3575 | 3593 | [`util`]: util.md |
3576 | 3594 | [`worker.exitedAfterDisconnect`]: cluster.md#workerexitedafterdisconnect |
|