@netlify/edge-bundler 8.13.1 → 8.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deno/lib/common.ts +3 -3
- package/deno/lib/stage2.ts +2 -2
- package/deno/vendor/deno.land/x/{eszip@v0.37.0 → eszip@v0.40.0}/eszip_wasm.generated.js +61 -59
- package/deno/vendor/deno.land/x/eszip@v0.40.0/eszip_wasm_bg.wasm +0 -0
- package/dist/test/util.js +1 -1
- package/package.json +1 -1
- package/deno/vendor/deno.land/x/eszip@v0.37.0/eszip_wasm_bg.wasm +0 -0
- /package/deno/vendor/deno.land/{std@0.178.0 → std@0.177.0}/_util/asserts.ts +0 -0
- /package/deno/vendor/deno.land/{std@0.178.0 → std@0.177.0}/_util/os.ts +0 -0
- /package/deno/vendor/deno.land/{std@0.178.0 → std@0.177.0}/path/_constants.ts +0 -0
- /package/deno/vendor/deno.land/{std@0.178.0 → std@0.177.0}/path/_interface.ts +0 -0
- /package/deno/vendor/deno.land/{std@0.178.0 → std@0.177.0}/path/_util.ts +0 -0
- /package/deno/vendor/deno.land/{std@0.178.0 → std@0.177.0}/path/common.ts +0 -0
- /package/deno/vendor/deno.land/{std@0.178.0 → std@0.177.0}/path/glob.ts +0 -0
- /package/deno/vendor/deno.land/{std@0.178.0 → std@0.177.0}/path/mod.ts +0 -0
- /package/deno/vendor/deno.land/{std@0.178.0 → std@0.177.0}/path/posix.ts +0 -0
- /package/deno/vendor/deno.land/{std@0.178.0 → std@0.177.0}/path/separator.ts +0 -0
- /package/deno/vendor/deno.land/{std@0.178.0 → std@0.177.0}/path/win32.ts +0 -0
- /package/deno/vendor/deno.land/x/{eszip@v0.37.0 → eszip@v0.40.0}/loader.ts +0 -0
- /package/deno/vendor/deno.land/x/{eszip@v0.37.0 → eszip@v0.40.0}/mod.ts +0 -0
package/deno/lib/common.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { load } from "https://deno.land/x/eszip@v0.
|
|
2
|
-
import { LoadResponse } from "https://deno.land/x/eszip@v0.
|
|
3
|
-
import * as path from "https://deno.land/std@0.
|
|
1
|
+
import { load } from "https://deno.land/x/eszip@v0.40.0/loader.ts";
|
|
2
|
+
import { LoadResponse } from "https://deno.land/x/eszip@v0.40.0/mod.ts";
|
|
3
|
+
import * as path from "https://deno.land/std@0.177.0/path/mod.ts";
|
|
4
4
|
import { retryAsync } from "https://deno.land/x/retry@v2.0.0/mod.ts";
|
|
5
5
|
import { isTooManyTries } from "https://deno.land/x/retry@v2.0.0/retry/tooManyTries.ts";
|
|
6
6
|
|
package/deno/lib/stage2.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { build, LoadResponse } from 'https://deno.land/x/eszip@v0.
|
|
1
|
+
import { build, LoadResponse } from 'https://deno.land/x/eszip@v0.40.0/mod.ts'
|
|
2
2
|
|
|
3
|
-
import * as path from 'https://deno.land/std@0.
|
|
3
|
+
import * as path from 'https://deno.land/std@0.177.0/path/mod.ts'
|
|
4
4
|
|
|
5
5
|
import type { InputFunction, WriteStage2Options } from '../../shared/stage2.ts'
|
|
6
6
|
import { importMapSpecifier, virtualRoot } from '../../shared/consts.ts'
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @generated file from wasmbuild -- do not edit
|
|
2
2
|
// deno-lint-ignore-file
|
|
3
3
|
// deno-fmt-ignore-file
|
|
4
|
-
// source-hash:
|
|
4
|
+
// source-hash: bd411f63844f927a64e51f4af9e1e9b07bb6f88b
|
|
5
5
|
let wasm;
|
|
6
6
|
|
|
7
|
-
const heap = new Array(
|
|
7
|
+
const heap = new Array(128).fill(undefined);
|
|
8
8
|
|
|
9
9
|
heap.push(undefined, null, true, false);
|
|
10
10
|
|
|
@@ -16,19 +16,19 @@ function isLikeNone(x) {
|
|
|
16
16
|
return x === undefined || x === null;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
let cachedFloat64Memory0 =
|
|
19
|
+
let cachedFloat64Memory0 = null;
|
|
20
20
|
|
|
21
21
|
function getFloat64Memory0() {
|
|
22
|
-
if (cachedFloat64Memory0.byteLength === 0) {
|
|
22
|
+
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
|
|
23
23
|
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
|
|
24
24
|
}
|
|
25
25
|
return cachedFloat64Memory0;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
let cachedInt32Memory0 =
|
|
28
|
+
let cachedInt32Memory0 = null;
|
|
29
29
|
|
|
30
30
|
function getInt32Memory0() {
|
|
31
|
-
if (cachedInt32Memory0.byteLength === 0) {
|
|
31
|
+
if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
|
|
32
32
|
cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
|
|
33
33
|
}
|
|
34
34
|
return cachedInt32Memory0;
|
|
@@ -36,10 +36,10 @@ function getInt32Memory0() {
|
|
|
36
36
|
|
|
37
37
|
let WASM_VECTOR_LEN = 0;
|
|
38
38
|
|
|
39
|
-
let cachedUint8Memory0 =
|
|
39
|
+
let cachedUint8Memory0 = null;
|
|
40
40
|
|
|
41
41
|
function getUint8Memory0() {
|
|
42
|
-
if (cachedUint8Memory0.byteLength === 0) {
|
|
42
|
+
if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) {
|
|
43
43
|
cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
|
|
44
44
|
}
|
|
45
45
|
return cachedUint8Memory0;
|
|
@@ -111,7 +111,7 @@ function getStringFromWasm0(ptr, len) {
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
function dropObject(idx) {
|
|
114
|
-
if (idx <
|
|
114
|
+
if (idx < 132) return;
|
|
115
115
|
heap[idx] = heap_next;
|
|
116
116
|
heap_next = idx;
|
|
117
117
|
}
|
|
@@ -122,10 +122,12 @@ function takeObject(idx) {
|
|
|
122
122
|
return ret;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
let cachedBigInt64Memory0 =
|
|
125
|
+
let cachedBigInt64Memory0 = null;
|
|
126
126
|
|
|
127
127
|
function getBigInt64Memory0() {
|
|
128
|
-
if (
|
|
128
|
+
if (
|
|
129
|
+
cachedBigInt64Memory0 === null || cachedBigInt64Memory0.byteLength === 0
|
|
130
|
+
) {
|
|
129
131
|
cachedBigInt64Memory0 = new BigInt64Array(wasm.memory.buffer);
|
|
130
132
|
}
|
|
131
133
|
return cachedBigInt64Memory0;
|
|
@@ -226,7 +228,7 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
226
228
|
}
|
|
227
229
|
function __wbg_adapter_40(arg0, arg1, arg2) {
|
|
228
230
|
wasm
|
|
229
|
-
.
|
|
231
|
+
._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h9728315a111a4c15(
|
|
230
232
|
arg0,
|
|
231
233
|
arg1,
|
|
232
234
|
addHeapObject(arg2),
|
|
@@ -263,7 +265,7 @@ function handleError(f, args) {
|
|
|
263
265
|
}
|
|
264
266
|
}
|
|
265
267
|
function __wbg_adapter_98(arg0, arg1, arg2, arg3) {
|
|
266
|
-
wasm.
|
|
268
|
+
wasm.wasm_bindgen__convert__closures__invoke2_mut__h8467648828c8f7b6(
|
|
267
269
|
arg0,
|
|
268
270
|
arg1,
|
|
269
271
|
addHeapObject(arg2),
|
|
@@ -407,23 +409,11 @@ const imports = {
|
|
|
407
409
|
const ret = BigInt.asUintN(64, arg0);
|
|
408
410
|
return addHeapObject(ret);
|
|
409
411
|
},
|
|
410
|
-
|
|
411
|
-
const ret = new Array();
|
|
412
|
-
return addHeapObject(ret);
|
|
413
|
-
},
|
|
414
|
-
__wbindgen_string_new: function (arg0, arg1) {
|
|
415
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
416
|
-
return addHeapObject(ret);
|
|
417
|
-
},
|
|
418
|
-
__wbg_push_740e4b286702d964: function (arg0, arg1) {
|
|
419
|
-
const ret = getObject(arg0).push(getObject(arg1));
|
|
420
|
-
return ret;
|
|
421
|
-
},
|
|
422
|
-
__wbg_length_6e3bbe7c8bd4dbd8: function (arg0) {
|
|
412
|
+
__wbg_length_e498fbc24f9c1d4f: function (arg0) {
|
|
423
413
|
const ret = getObject(arg0).length;
|
|
424
414
|
return ret;
|
|
425
415
|
},
|
|
426
|
-
|
|
416
|
+
__wbg_new_15d3966e9981a196: function (arg0, arg1) {
|
|
427
417
|
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
428
418
|
return addHeapObject(ret);
|
|
429
419
|
},
|
|
@@ -431,11 +421,11 @@ const imports = {
|
|
|
431
421
|
const ret = wasm.memory;
|
|
432
422
|
return addHeapObject(ret);
|
|
433
423
|
},
|
|
434
|
-
|
|
424
|
+
__wbg_buffer_cf65c07de34b9a08: function (arg0) {
|
|
435
425
|
const ret = getObject(arg0).buffer;
|
|
436
426
|
return addHeapObject(ret);
|
|
437
427
|
},
|
|
438
|
-
|
|
428
|
+
__wbg_newwithbyteoffsetandlength_9fb2f11355ecadf5: function (
|
|
439
429
|
arg0,
|
|
440
430
|
arg1,
|
|
441
431
|
arg2,
|
|
@@ -443,11 +433,23 @@ const imports = {
|
|
|
443
433
|
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
|
444
434
|
return addHeapObject(ret);
|
|
445
435
|
},
|
|
446
|
-
|
|
436
|
+
__wbg_new_537b7341ce90bb31: function (arg0) {
|
|
447
437
|
const ret = new Uint8Array(getObject(arg0));
|
|
448
438
|
return addHeapObject(ret);
|
|
449
439
|
},
|
|
450
|
-
|
|
440
|
+
__wbg_new_b525de17f44a8943: function () {
|
|
441
|
+
const ret = new Array();
|
|
442
|
+
return addHeapObject(ret);
|
|
443
|
+
},
|
|
444
|
+
__wbindgen_string_new: function (arg0, arg1) {
|
|
445
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
446
|
+
return addHeapObject(ret);
|
|
447
|
+
},
|
|
448
|
+
__wbg_push_49c286f04dd3bf59: function (arg0, arg1) {
|
|
449
|
+
const ret = getObject(arg0).push(getObject(arg1));
|
|
450
|
+
return ret;
|
|
451
|
+
},
|
|
452
|
+
__wbg_String_88810dfeb4021902: function (arg0, arg1) {
|
|
451
453
|
const ret = String(getObject(arg1));
|
|
452
454
|
const ptr0 = passStringToWasm0(
|
|
453
455
|
ret,
|
|
@@ -466,15 +468,15 @@ const imports = {
|
|
|
466
468
|
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
467
469
|
return addHeapObject(ret);
|
|
468
470
|
},
|
|
469
|
-
|
|
471
|
+
__wbg_iterator_55f114446221aa5a: function () {
|
|
470
472
|
const ret = Symbol.iterator;
|
|
471
473
|
return addHeapObject(ret);
|
|
472
474
|
},
|
|
473
|
-
|
|
475
|
+
__wbg_newwithlength_b56c882b57805732: function (arg0) {
|
|
474
476
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
475
477
|
return addHeapObject(ret);
|
|
476
478
|
},
|
|
477
|
-
|
|
479
|
+
__wbg_read_43a845bca3122d77: function (arg0, arg1) {
|
|
478
480
|
const ret = getObject(arg0).read(getObject(arg1));
|
|
479
481
|
return addHeapObject(ret);
|
|
480
482
|
},
|
|
@@ -482,7 +484,7 @@ const imports = {
|
|
|
482
484
|
const ret = getObject(arg0).done;
|
|
483
485
|
return ret;
|
|
484
486
|
},
|
|
485
|
-
|
|
487
|
+
__wbg_toString_8c529acfe543ce16: function (arg0) {
|
|
486
488
|
const ret = getObject(arg0).toString();
|
|
487
489
|
return addHeapObject(ret);
|
|
488
490
|
},
|
|
@@ -490,15 +492,15 @@ const imports = {
|
|
|
490
492
|
const ret = getObject(arg0).value;
|
|
491
493
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
492
494
|
},
|
|
493
|
-
|
|
495
|
+
__wbg_byteLength_29d6f6f493852fd4: function (arg0) {
|
|
494
496
|
const ret = getObject(arg0).byteLength;
|
|
495
497
|
return ret;
|
|
496
498
|
},
|
|
497
|
-
|
|
499
|
+
__wbg_length_27a2afe8ab42b09f: function (arg0) {
|
|
498
500
|
const ret = getObject(arg0).length;
|
|
499
501
|
return ret;
|
|
500
502
|
},
|
|
501
|
-
|
|
503
|
+
__wbg_call_96878afb7a8201ca: function () {
|
|
502
504
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
503
505
|
const ret = getObject(arg0).call(
|
|
504
506
|
getObject(arg1),
|
|
@@ -508,11 +510,11 @@ const imports = {
|
|
|
508
510
|
return addHeapObject(ret);
|
|
509
511
|
}, arguments);
|
|
510
512
|
},
|
|
511
|
-
|
|
513
|
+
__wbg_resolve_fd40f858d9db1a04: function (arg0) {
|
|
512
514
|
const ret = Promise.resolve(getObject(arg0));
|
|
513
515
|
return addHeapObject(ret);
|
|
514
516
|
},
|
|
515
|
-
|
|
517
|
+
__wbg_new_9d3a9ce4282a18a8: function (arg0, arg1) {
|
|
516
518
|
try {
|
|
517
519
|
var state0 = { a: arg0, b: arg1 };
|
|
518
520
|
var cb0 = (arg0, arg1) => {
|
|
@@ -559,62 +561,62 @@ const imports = {
|
|
|
559
561
|
const ret = typeof (getObject(arg0)) === "function";
|
|
560
562
|
return ret;
|
|
561
563
|
},
|
|
562
|
-
|
|
564
|
+
__wbg_get_27fe3dac1c4d0224: function (arg0, arg1) {
|
|
563
565
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
564
566
|
return addHeapObject(ret);
|
|
565
567
|
},
|
|
566
|
-
|
|
568
|
+
__wbg_next_88560ec06a094dea: function () {
|
|
567
569
|
return handleError(function (arg0) {
|
|
568
570
|
const ret = getObject(arg0).next();
|
|
569
571
|
return addHeapObject(ret);
|
|
570
572
|
}, arguments);
|
|
571
573
|
},
|
|
572
|
-
|
|
574
|
+
__wbg_done_1ebec03bbd919843: function (arg0) {
|
|
573
575
|
const ret = getObject(arg0).done;
|
|
574
576
|
return ret;
|
|
575
577
|
},
|
|
576
|
-
|
|
578
|
+
__wbg_value_6ac8da5cc5b3efda: function (arg0) {
|
|
577
579
|
const ret = getObject(arg0).value;
|
|
578
580
|
return addHeapObject(ret);
|
|
579
581
|
},
|
|
580
|
-
|
|
582
|
+
__wbg_get_baf4855f9a986186: function () {
|
|
581
583
|
return handleError(function (arg0, arg1) {
|
|
582
584
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
583
585
|
return addHeapObject(ret);
|
|
584
586
|
}, arguments);
|
|
585
587
|
},
|
|
586
|
-
|
|
588
|
+
__wbg_call_95d1ea488d03e4e8: function () {
|
|
587
589
|
return handleError(function (arg0, arg1) {
|
|
588
590
|
const ret = getObject(arg0).call(getObject(arg1));
|
|
589
591
|
return addHeapObject(ret);
|
|
590
592
|
}, arguments);
|
|
591
593
|
},
|
|
592
|
-
|
|
594
|
+
__wbg_next_b7d530c04fd8b217: function (arg0) {
|
|
593
595
|
const ret = getObject(arg0).next;
|
|
594
596
|
return addHeapObject(ret);
|
|
595
597
|
},
|
|
596
|
-
|
|
598
|
+
__wbg_isArray_39d28997bf6b96b4: function (arg0) {
|
|
597
599
|
const ret = Array.isArray(getObject(arg0));
|
|
598
600
|
return ret;
|
|
599
601
|
},
|
|
600
|
-
|
|
602
|
+
__wbg_call_9495de66fdbe016b: function () {
|
|
601
603
|
return handleError(function (arg0, arg1, arg2) {
|
|
602
604
|
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
603
605
|
return addHeapObject(ret);
|
|
604
606
|
}, arguments);
|
|
605
607
|
},
|
|
606
|
-
|
|
608
|
+
__wbg_isSafeInteger_8c4789029e885159: function (arg0) {
|
|
607
609
|
const ret = Number.isSafeInteger(getObject(arg0));
|
|
608
610
|
return ret;
|
|
609
611
|
},
|
|
610
|
-
|
|
612
|
+
__wbg_set_17499e8aa4003ebd: function (arg0, arg1, arg2) {
|
|
611
613
|
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
612
614
|
},
|
|
613
615
|
__wbindgen_jsval_loose_eq: function (arg0, arg1) {
|
|
614
616
|
const ret = getObject(arg0) == getObject(arg1);
|
|
615
617
|
return ret;
|
|
616
618
|
},
|
|
617
|
-
|
|
619
|
+
__wbg_instanceof_Uint8Array_01cebe79ca606cca: function (arg0) {
|
|
618
620
|
let result;
|
|
619
621
|
try {
|
|
620
622
|
result = getObject(arg0) instanceof Uint8Array;
|
|
@@ -624,7 +626,7 @@ const imports = {
|
|
|
624
626
|
const ret = result;
|
|
625
627
|
return ret;
|
|
626
628
|
},
|
|
627
|
-
|
|
629
|
+
__wbg_instanceof_ArrayBuffer_a69f02ee4c4f5065: function (arg0) {
|
|
628
630
|
let result;
|
|
629
631
|
try {
|
|
630
632
|
result = getObject(arg0) instanceof ArrayBuffer;
|
|
@@ -634,14 +636,14 @@ const imports = {
|
|
|
634
636
|
const ret = result;
|
|
635
637
|
return ret;
|
|
636
638
|
},
|
|
637
|
-
|
|
639
|
+
__wbg_entries_4e1315b774245952: function (arg0) {
|
|
638
640
|
const ret = Object.entries(getObject(arg0));
|
|
639
641
|
return addHeapObject(ret);
|
|
640
642
|
},
|
|
641
643
|
__wbindgen_bigint_get_as_i64: function (arg0, arg1) {
|
|
642
644
|
const v = getObject(arg1);
|
|
643
645
|
const ret = typeof (v) === "bigint" ? v : undefined;
|
|
644
|
-
getBigInt64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ?
|
|
646
|
+
getBigInt64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? BigInt(0) : ret;
|
|
645
647
|
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
646
648
|
},
|
|
647
649
|
__wbindgen_debug_string: function (arg0, arg1) {
|
|
@@ -667,16 +669,16 @@ const imports = {
|
|
|
667
669
|
const ret = false;
|
|
668
670
|
return ret;
|
|
669
671
|
},
|
|
670
|
-
|
|
672
|
+
__wbg_then_ec5db6d509eb475f: function (arg0, arg1) {
|
|
671
673
|
const ret = getObject(arg0).then(getObject(arg1));
|
|
672
674
|
return addHeapObject(ret);
|
|
673
675
|
},
|
|
674
|
-
|
|
676
|
+
__wbg_then_f753623316e2873a: function (arg0, arg1, arg2) {
|
|
675
677
|
const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
|
|
676
678
|
return addHeapObject(ret);
|
|
677
679
|
},
|
|
678
|
-
|
|
679
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
680
|
+
__wbindgen_closure_wrapper7456: function (arg0, arg1, arg2) {
|
|
681
|
+
const ret = makeMutClosure(arg0, arg1, 275, __wbg_adapter_40);
|
|
680
682
|
return addHeapObject(ret);
|
|
681
683
|
},
|
|
682
684
|
},
|
|
Binary file
|
package/dist/test/util.js
CHANGED
package/package.json
CHANGED
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|