mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
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>
This commit is contained in:
1 parent
c080b2d821
commit
a63db7fb5e
2 files changed
+3
-1
No files matched your search
@@ -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}
|
||||
|
||||
|
||||
@@ -35,7 +35,6 @@ namespace {
|
||||
V(DataView) \
|
||||
V(SharedArrayBuffer) \
|
||||
V(Proxy) \
|
||||
V(WebAssemblyCompiledModule) \
|
||||
V(ModuleNamespaceObject) \
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user