Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorClemens Backes <clemensb@chromium.org>2020-02-06 11:23:53 +0300
committerMatheus Marchini <mmarchini@netflix.com>2020-03-19 02:37:19 +0300
commita63db7fb5ebade4d82a16bfab426108b0cbc192e (patch)
tree849be0472850bc527fe893fb8dfed06a80ab4ef9 /doc/api
parentc080b2d821eb5f28f339a7f0f72d63d838c7e715 (diff)
src: remove deprecated wasm type check
This removes uses of the "IsWebAssemblyCompiledModule" method, which is deprecated in V8 v8.1 and will be removed in v8.2. We could replace it by "IsWasmModuleObject", but since it's unused in node anyway, I just remove the definition. PR-URL: https://github.com/nodejs/node/pull/32116 Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/util.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/api/util.md b/doc/api/util.md
index 2c0062eff7b..53fce825440 100644
--- a/doc/api/util.md
+++ b/doc/api/util.md
@@ -1891,8 +1891,11 @@ util.types.isWeakSet(new WeakSet()); // Returns true
### `util.types.isWebAssemblyCompiledModule(value)`
<!-- YAML
added: v10.0.0
+deprecated: REPLACEME
-->
+> Stability: 0 - Deprecated: Use `value instanceof WebAssembly.Module` instead.
+
* `value` {any}
* Returns: {boolean}