Skip to content

Commit 899de1c

Browse files
committed
fixup! lib: move WebAssembly Web API into separate file
1 parent a008f81 commit 899de1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/wasm_web_api.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
const {
4-
PromiseResolve
4+
PromiseResolve,
55
} = primordials;
66
const {
77
ERR_INVALID_ARG_TYPE,
@@ -10,7 +10,7 @@ const {
1010

1111
let undici;
1212
function lazyUndici() {
13-
return undici || (undici = require('internal/deps/undici/undici'));
13+
return undici ??= require('internal/deps/undici/undici');
1414
}
1515

1616
// This is essentially an implementation of a v8::WasmStreamingCallback, except

0 commit comments

Comments
 (0)