GeezerVison is showing github.com — doc: create deprecation code for isWebAssemblyCompiledModule · nodejs/node@168cbf9
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 |
|---|
@@ -3420,6 +3420,23 @@ Type: Documentation-only |
3420 | 3420 | `F_OK`, `R_OK`, `W_OK` and `X_OK` getters exposed directly on `node:fs` are |
3421 | 3421 | deprecated. Get them from `fs.constants` or `fs.promises.constants` instead. |
3422 | 3422 |
|
| 3423 | +### DEP0177: `util.types.isWebAssemblyCompiledModule` |
| 3424 | + |
| 3425 | +<!-- YAML |
| 3426 | +changes: |
| 3427 | + - version: REPLACEME |
| 3428 | + pr-url: https://github.com/nodejs/node/pull/50486 |
| 3429 | + description: A deprecation code has been assigned. |
| 3430 | + - version: v14.0.0 |
| 3431 | + pr-url: https://github.com/nodejs/node/pull/32116 |
| 3432 | + description: Documentation-only deprecation. |
| 3433 | +--> |
| 3434 | + |
| 3435 | +Type: Documentation-only |
| 3436 | + |
| 3437 | +The [`util.types.isWebAssemblyCompiledModule`][] API is deprecated. Please use |
| 3438 | +`value instanceof WebAssembly.Module` instead. |
| 3439 | + |
3423 | 3440 | [NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf |
3424 | 3441 | [RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3 |
3425 | 3442 | [RFC 8247 Section 2.4]: https://www.rfc-editor.org/rfc/rfc8247#section-2.4 |
@@ -3563,6 +3580,7 @@ deprecated. Get them from `fs.constants` or `fs.promises.constants` instead. |
3563 | 3580 | [`util.log()`]: util.md#utillogstring |
3564 | 3581 | [`util.promisify`]: util.md#utilpromisifyoriginal |
3565 | 3582 | [`util.toUSVString()`]: util.md#utiltousvstringstring |
| 3583 | +[`util.types.isWebAssemblyCompiledModule`]: util.md#utiltypesiswebassemblycompiledmodulevalue |
3566 | 3584 | [`util.types`]: util.md#utiltypes |
3567 | 3585 | [`util`]: util.md |
3568 | 3586 | [`worker.exitedAfterDisconnect`]: cluster.md#workerexitedafterdisconnect |
|