@next/swc-wasm-web 16.5.0-canary.2 → 16.5.0-canary.20

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 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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@next/swc-wasm-web",
3
3
  "type": "module",
4
- "version": "16.5.0-canary.2",
4
+ "version": "16.5.0-canary.20",
5
5
  "files": [
6
6
  "wasm_bg.wasm",
7
7
  "wasm.js",
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 wasm_bindgen_81378af8ea0f398f___closure__destroy___dyn_core_3db1b4038a372208___ops__function__FnMut__wasm_bindgen_81378af8ea0f398f___JsValue____Output___core_3db1b4038a372208___result__Result_____wasm_bindgen_81378af8ea0f398f___JsError___: (a: number, b: number) => void;
39
- readonly wasm_bindgen_81378af8ea0f398f___convert__closures_____invoke___wasm_bindgen_81378af8ea0f398f___JsValue__core_3db1b4038a372208___result__Result_____wasm_bindgen_81378af8ea0f398f___JsError___true_: (a: number, b: number, c: any) => [number, number];
40
- readonly wasm_bindgen_81378af8ea0f398f___convert__closures_____invoke___js_sys_ab2ccd79369b73e8___Function_fn_wasm_bindgen_81378af8ea0f398f___JsValue_____wasm_bindgen_81378af8ea0f398f___sys__Undefined___js_sys_ab2ccd79369b73e8___Function_fn_wasm_bindgen_81378af8ea0f398f___JsValue_____wasm_bindgen_81378af8ea0f398f___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
38
+ readonly wasm_bindgen_9c27399100bd54e0___closure__destroy___dyn_core_3cb842e049bdb8e___ops__function__FnMut__wasm_bindgen_9c27399100bd54e0___JsValue____Output___core_3cb842e049bdb8e___result__Result_____wasm_bindgen_9c27399100bd54e0___JsError___: (a: number, b: number) => void;
39
+ readonly wasm_bindgen_9c27399100bd54e0___convert__closures_____invoke___wasm_bindgen_9c27399100bd54e0___JsValue__core_3cb842e049bdb8e___result__Result_____wasm_bindgen_9c27399100bd54e0___JsError___true_: (a: number, b: number, c: any) => [number, number];
40
+ readonly wasm_bindgen_9c27399100bd54e0___convert__closures_____invoke___js_sys_e50018b9e28773c6___Function_fn_wasm_bindgen_9c27399100bd54e0___JsValue_____wasm_bindgen_9c27399100bd54e0___sys__Undefined___js_sys_e50018b9e28773c6___Function_fn_wasm_bindgen_9c27399100bd54e0___JsValue_____wasm_bindgen_9c27399100bd54e0___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
@@ -341,7 +341,7 @@ function __wbg_get_imports() {
341
341
  const a = state0.a;
342
342
  state0.a = 0;
343
343
  try {
344
- return wasm_bindgen_81378af8ea0f398f___convert__closures_____invoke___js_sys_ab2ccd79369b73e8___Function_fn_wasm_bindgen_81378af8ea0f398f___JsValue_____wasm_bindgen_81378af8ea0f398f___sys__Undefined___js_sys_ab2ccd79369b73e8___Function_fn_wasm_bindgen_81378af8ea0f398f___JsValue_____wasm_bindgen_81378af8ea0f398f___sys__Undefined_______true_(a, state0.b, arg0, arg1);
344
+ return wasm_bindgen_9c27399100bd54e0___convert__closures_____invoke___js_sys_e50018b9e28773c6___Function_fn_wasm_bindgen_9c27399100bd54e0___JsValue_____wasm_bindgen_9c27399100bd54e0___sys__Undefined___js_sys_e50018b9e28773c6___Function_fn_wasm_bindgen_9c27399100bd54e0___JsValue_____wasm_bindgen_9c27399100bd54e0___sys__Undefined_______true_(a, state0.b, arg0, arg1);
345
345
  } finally {
346
346
  state0.a = a;
347
347
  }
@@ -412,8 +412,8 @@ function __wbg_get_imports() {
412
412
  return ret;
413
413
  },
414
414
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
415
- // Cast intrinsic for `Closure(Closure { dtor_idx: 4276, function: Function { arguments: [Externref], shim_idx: 419, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
416
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_81378af8ea0f398f___closure__destroy___dyn_core_3db1b4038a372208___ops__function__FnMut__wasm_bindgen_81378af8ea0f398f___JsValue____Output___core_3db1b4038a372208___result__Result_____wasm_bindgen_81378af8ea0f398f___JsError___, wasm_bindgen_81378af8ea0f398f___convert__closures_____invoke___wasm_bindgen_81378af8ea0f398f___JsValue__core_3db1b4038a372208___result__Result_____wasm_bindgen_81378af8ea0f398f___JsError___true_);
415
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 4329, function: Function { arguments: [Externref], shim_idx: 463, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
416
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen_9c27399100bd54e0___closure__destroy___dyn_core_3cb842e049bdb8e___ops__function__FnMut__wasm_bindgen_9c27399100bd54e0___JsValue____Output___core_3cb842e049bdb8e___result__Result_____wasm_bindgen_9c27399100bd54e0___JsError___, wasm_bindgen_9c27399100bd54e0___convert__closures_____invoke___wasm_bindgen_9c27399100bd54e0___JsValue__core_3cb842e049bdb8e___result__Result_____wasm_bindgen_9c27399100bd54e0___JsError___true_);
417
417
  return ret;
418
418
  },
419
419
  __wbindgen_cast_0000000000000002: function(arg0) {
@@ -453,15 +453,15 @@ function __wbg_get_imports() {
453
453
  };
454
454
  }
455
455
 
456
- function wasm_bindgen_81378af8ea0f398f___convert__closures_____invoke___wasm_bindgen_81378af8ea0f398f___JsValue__core_3db1b4038a372208___result__Result_____wasm_bindgen_81378af8ea0f398f___JsError___true_(arg0, arg1, arg2) {
457
- const ret = wasm.wasm_bindgen_81378af8ea0f398f___convert__closures_____invoke___wasm_bindgen_81378af8ea0f398f___JsValue__core_3db1b4038a372208___result__Result_____wasm_bindgen_81378af8ea0f398f___JsError___true_(arg0, arg1, arg2);
456
+ function wasm_bindgen_9c27399100bd54e0___convert__closures_____invoke___wasm_bindgen_9c27399100bd54e0___JsValue__core_3cb842e049bdb8e___result__Result_____wasm_bindgen_9c27399100bd54e0___JsError___true_(arg0, arg1, arg2) {
457
+ const ret = wasm.wasm_bindgen_9c27399100bd54e0___convert__closures_____invoke___wasm_bindgen_9c27399100bd54e0___JsValue__core_3cb842e049bdb8e___result__Result_____wasm_bindgen_9c27399100bd54e0___JsError___true_(arg0, arg1, arg2);
458
458
  if (ret[1]) {
459
459
  throw takeFromExternrefTable0(ret[0]);
460
460
  }
461
461
  }
462
462
 
463
- function wasm_bindgen_81378af8ea0f398f___convert__closures_____invoke___js_sys_ab2ccd79369b73e8___Function_fn_wasm_bindgen_81378af8ea0f398f___JsValue_____wasm_bindgen_81378af8ea0f398f___sys__Undefined___js_sys_ab2ccd79369b73e8___Function_fn_wasm_bindgen_81378af8ea0f398f___JsValue_____wasm_bindgen_81378af8ea0f398f___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
464
- wasm.wasm_bindgen_81378af8ea0f398f___convert__closures_____invoke___js_sys_ab2ccd79369b73e8___Function_fn_wasm_bindgen_81378af8ea0f398f___JsValue_____wasm_bindgen_81378af8ea0f398f___sys__Undefined___js_sys_ab2ccd79369b73e8___Function_fn_wasm_bindgen_81378af8ea0f398f___JsValue_____wasm_bindgen_81378af8ea0f398f___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
463
+ function wasm_bindgen_9c27399100bd54e0___convert__closures_____invoke___js_sys_e50018b9e28773c6___Function_fn_wasm_bindgen_9c27399100bd54e0___JsValue_____wasm_bindgen_9c27399100bd54e0___sys__Undefined___js_sys_e50018b9e28773c6___Function_fn_wasm_bindgen_9c27399100bd54e0___JsValue_____wasm_bindgen_9c27399100bd54e0___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
464
+ wasm.wasm_bindgen_9c27399100bd54e0___convert__closures_____invoke___js_sys_e50018b9e28773c6___Function_fn_wasm_bindgen_9c27399100bd54e0___JsValue_____wasm_bindgen_9c27399100bd54e0___sys__Undefined___js_sys_e50018b9e28773c6___Function_fn_wasm_bindgen_9c27399100bd54e0___JsValue_____wasm_bindgen_9c27399100bd54e0___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
465
465
  }
466
466
 
467
467
  function addToExternrefTable0(obj) {
package/wasm_bg.wasm CHANGED
Binary file