@next/swc-wasm-web 16.5.0-canary.6 → 16.5.0-canary.61
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/license.md +21 -0
- package/package.json +1 -1
- package/wasm.d.ts +3 -3
- package/wasm.js +9 -22
- package/wasm_bg.wasm +0 -0
package/license.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Vercel, Inc.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/package.json
CHANGED
package/wasm.d.ts
CHANGED
|
@@ -35,9 +35,9 @@ export interface InitOutput {
|
|
|
35
35
|
readonly parseSync: (a: any, b: any) => [number, number, number];
|
|
36
36
|
readonly transform: (a: any, b: any) => any;
|
|
37
37
|
readonly transformSync: (a: any, b: any) => [number, number, number];
|
|
38
|
-
readonly
|
|
39
|
-
readonly
|
|
40
|
-
readonly
|
|
38
|
+
readonly wasm_bindgen_84a803a896c9bab___closure__destroy___dyn_core_6c1206e26a8948b0___ops__function__FnMut__wasm_bindgen_84a803a896c9bab___JsValue____Output___core_6c1206e26a8948b0___result__Result_____wasm_bindgen_84a803a896c9bab___JsError___: (a: number, b: number) => void;
|
|
39
|
+
readonly wasm_bindgen_84a803a896c9bab___convert__closures_____invoke___wasm_bindgen_84a803a896c9bab___JsValue__core_6c1206e26a8948b0___result__Result_____wasm_bindgen_84a803a896c9bab___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
40
|
+
readonly wasm_bindgen_84a803a896c9bab___convert__closures_____invoke___js_sys_24e087baa4405799___Function_fn_wasm_bindgen_84a803a896c9bab___JsValue_____wasm_bindgen_84a803a896c9bab___sys__Undefined___js_sys_24e087baa4405799___Function_fn_wasm_bindgen_84a803a896c9bab___JsValue_____wasm_bindgen_84a803a896c9bab___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
41
41
|
readonly __wbindgen_externrefs: WebAssembly.Table;
|
|
42
42
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
43
43
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
package/wasm.js
CHANGED
|
@@ -250,10 +250,6 @@ function __wbg_get_imports() {
|
|
|
250
250
|
const ret = arg0.getTime();
|
|
251
251
|
return ret;
|
|
252
252
|
},
|
|
253
|
-
__wbg_getTimezoneOffset_639bcf2dde21158b: function(arg0) {
|
|
254
|
-
const ret = arg0.getTimezoneOffset();
|
|
255
|
-
return ret;
|
|
256
|
-
},
|
|
257
253
|
__wbg_get_326e41e095fb2575: function() { return handleError(function (arg0, arg1) {
|
|
258
254
|
const ret = Reflect.get(arg0, arg1);
|
|
259
255
|
return ret;
|
|
@@ -330,10 +326,6 @@ function __wbg_get_imports() {
|
|
|
330
326
|
const ret = new Object();
|
|
331
327
|
return ret;
|
|
332
328
|
},
|
|
333
|
-
__wbg_new_fd94ca5c9639abd2: function(arg0) {
|
|
334
|
-
const ret = new Date(arg0);
|
|
335
|
-
return ret;
|
|
336
|
-
},
|
|
337
329
|
__wbg_new_typed_aaaeaf29cf802876: function(arg0, arg1) {
|
|
338
330
|
try {
|
|
339
331
|
var state0 = {a: arg0, b: arg1};
|
|
@@ -341,7 +333,7 @@ function __wbg_get_imports() {
|
|
|
341
333
|
const a = state0.a;
|
|
342
334
|
state0.a = 0;
|
|
343
335
|
try {
|
|
344
|
-
return
|
|
336
|
+
return wasm_bindgen_84a803a896c9bab___convert__closures_____invoke___js_sys_24e087baa4405799___Function_fn_wasm_bindgen_84a803a896c9bab___JsValue_____wasm_bindgen_84a803a896c9bab___sys__Undefined___js_sys_24e087baa4405799___Function_fn_wasm_bindgen_84a803a896c9bab___JsValue_____wasm_bindgen_84a803a896c9bab___sys__Undefined_______true_(a, state0.b, arg0, arg1);
|
|
345
337
|
} finally {
|
|
346
338
|
state0.a = a;
|
|
347
339
|
}
|
|
@@ -412,27 +404,22 @@ function __wbg_get_imports() {
|
|
|
412
404
|
return ret;
|
|
413
405
|
},
|
|
414
406
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
415
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
416
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
407
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 5338, function: Function { arguments: [Externref], shim_idx: 465, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
408
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_84a803a896c9bab___closure__destroy___dyn_core_6c1206e26a8948b0___ops__function__FnMut__wasm_bindgen_84a803a896c9bab___JsValue____Output___core_6c1206e26a8948b0___result__Result_____wasm_bindgen_84a803a896c9bab___JsError___, wasm_bindgen_84a803a896c9bab___convert__closures_____invoke___wasm_bindgen_84a803a896c9bab___JsValue__core_6c1206e26a8948b0___result__Result_____wasm_bindgen_84a803a896c9bab___JsError___true_);
|
|
417
409
|
return ret;
|
|
418
410
|
},
|
|
419
411
|
__wbindgen_cast_0000000000000002: function(arg0) {
|
|
420
|
-
// Cast intrinsic for `F64 -> Externref`.
|
|
421
|
-
const ret = arg0;
|
|
422
|
-
return ret;
|
|
423
|
-
},
|
|
424
|
-
__wbindgen_cast_0000000000000003: function(arg0) {
|
|
425
412
|
// Cast intrinsic for `I64 -> Externref`.
|
|
426
413
|
const ret = arg0;
|
|
427
414
|
return ret;
|
|
428
415
|
},
|
|
429
|
-
|
|
416
|
+
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
430
417
|
var v0 = getCachedStringFromWasm0(arg0, arg1);
|
|
431
418
|
// Cast intrinsic for `Ref(CachedString) -> Externref`.
|
|
432
419
|
const ret = v0;
|
|
433
420
|
return ret;
|
|
434
421
|
},
|
|
435
|
-
|
|
422
|
+
__wbindgen_cast_0000000000000004: function(arg0) {
|
|
436
423
|
// Cast intrinsic for `U64 -> Externref`.
|
|
437
424
|
const ret = BigInt.asUintN(64, arg0);
|
|
438
425
|
return ret;
|
|
@@ -453,15 +440,15 @@ function __wbg_get_imports() {
|
|
|
453
440
|
};
|
|
454
441
|
}
|
|
455
442
|
|
|
456
|
-
function
|
|
457
|
-
const ret = wasm.
|
|
443
|
+
function wasm_bindgen_84a803a896c9bab___convert__closures_____invoke___wasm_bindgen_84a803a896c9bab___JsValue__core_6c1206e26a8948b0___result__Result_____wasm_bindgen_84a803a896c9bab___JsError___true_(arg0, arg1, arg2) {
|
|
444
|
+
const ret = wasm.wasm_bindgen_84a803a896c9bab___convert__closures_____invoke___wasm_bindgen_84a803a896c9bab___JsValue__core_6c1206e26a8948b0___result__Result_____wasm_bindgen_84a803a896c9bab___JsError___true_(arg0, arg1, arg2);
|
|
458
445
|
if (ret[1]) {
|
|
459
446
|
throw takeFromExternrefTable0(ret[0]);
|
|
460
447
|
}
|
|
461
448
|
}
|
|
462
449
|
|
|
463
|
-
function
|
|
464
|
-
wasm.
|
|
450
|
+
function wasm_bindgen_84a803a896c9bab___convert__closures_____invoke___js_sys_24e087baa4405799___Function_fn_wasm_bindgen_84a803a896c9bab___JsValue_____wasm_bindgen_84a803a896c9bab___sys__Undefined___js_sys_24e087baa4405799___Function_fn_wasm_bindgen_84a803a896c9bab___JsValue_____wasm_bindgen_84a803a896c9bab___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
|
|
451
|
+
wasm.wasm_bindgen_84a803a896c9bab___convert__closures_____invoke___js_sys_24e087baa4405799___Function_fn_wasm_bindgen_84a803a896c9bab___JsValue_____wasm_bindgen_84a803a896c9bab___sys__Undefined___js_sys_24e087baa4405799___Function_fn_wasm_bindgen_84a803a896c9bab___JsValue_____wasm_bindgen_84a803a896c9bab___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
|
|
465
452
|
}
|
|
466
453
|
|
|
467
454
|
function addToExternrefTable0(obj) {
|
package/wasm_bg.wasm
CHANGED
|
Binary file
|