@next/swc-wasm-nodejs 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 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,6 +1,6 @@
1
1
  {
2
2
  "name": "@next/swc-wasm-nodejs",
3
- "version": "16.5.0-canary.6",
3
+ "version": "16.5.0-canary.61",
4
4
  "files": [
5
5
  "wasm_bg.wasm",
6
6
  "wasm.js",
package/wasm.js CHANGED
@@ -260,10 +260,6 @@ function __wbg_get_imports() {
260
260
  const ret = arg0.getTime();
261
261
  return ret;
262
262
  },
263
- __wbg_getTimezoneOffset_639bcf2dde21158b: function(arg0) {
264
- const ret = arg0.getTimezoneOffset();
265
- return ret;
266
- },
267
263
  __wbg_get_326e41e095fb2575: function() { return handleError(function (arg0, arg1) {
268
264
  const ret = Reflect.get(arg0, arg1);
269
265
  return ret;
@@ -340,10 +336,6 @@ function __wbg_get_imports() {
340
336
  const ret = new Object();
341
337
  return ret;
342
338
  },
343
- __wbg_new_fd94ca5c9639abd2: function(arg0) {
344
- const ret = new Date(arg0);
345
- return ret;
346
- },
347
339
  __wbg_new_typed_aaaeaf29cf802876: function(arg0, arg1) {
348
340
  try {
349
341
  var state0 = {a: arg0, b: arg1};
@@ -351,7 +343,7 @@ function __wbg_get_imports() {
351
343
  const a = state0.a;
352
344
  state0.a = 0;
353
345
  try {
354
- 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);
346
+ 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);
355
347
  } finally {
356
348
  state0.a = a;
357
349
  }
@@ -422,27 +414,22 @@ function __wbg_get_imports() {
422
414
  return ret;
423
415
  },
424
416
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
425
- // Cast intrinsic for `Closure(Closure { dtor_idx: 4327, function: Function { arguments: [Externref], shim_idx: 463, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
426
- 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
+ // 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`.
418
+ 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_);
427
419
  return ret;
428
420
  },
429
421
  __wbindgen_cast_0000000000000002: function(arg0) {
430
- // Cast intrinsic for `F64 -> Externref`.
431
- const ret = arg0;
432
- return ret;
433
- },
434
- __wbindgen_cast_0000000000000003: function(arg0) {
435
422
  // Cast intrinsic for `I64 -> Externref`.
436
423
  const ret = arg0;
437
424
  return ret;
438
425
  },
439
- __wbindgen_cast_0000000000000004: function(arg0, arg1) {
426
+ __wbindgen_cast_0000000000000003: function(arg0, arg1) {
440
427
  var v0 = getCachedStringFromWasm0(arg0, arg1);
441
428
  // Cast intrinsic for `Ref(CachedString) -> Externref`.
442
429
  const ret = v0;
443
430
  return ret;
444
431
  },
445
- __wbindgen_cast_0000000000000005: function(arg0) {
432
+ __wbindgen_cast_0000000000000004: function(arg0) {
446
433
  // Cast intrinsic for `U64 -> Externref`.
447
434
  const ret = BigInt.asUintN(64, arg0);
448
435
  return ret;
@@ -463,15 +450,15 @@ function __wbg_get_imports() {
463
450
  };
464
451
  }
465
452
 
466
- function wasm_bindgen_9c27399100bd54e0___convert__closures_____invoke___wasm_bindgen_9c27399100bd54e0___JsValue__core_3cb842e049bdb8e___result__Result_____wasm_bindgen_9c27399100bd54e0___JsError___true_(arg0, arg1, arg2) {
467
- 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);
453
+ function wasm_bindgen_84a803a896c9bab___convert__closures_____invoke___wasm_bindgen_84a803a896c9bab___JsValue__core_6c1206e26a8948b0___result__Result_____wasm_bindgen_84a803a896c9bab___JsError___true_(arg0, arg1, arg2) {
454
+ 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);
468
455
  if (ret[1]) {
469
456
  throw takeFromExternrefTable0(ret[0]);
470
457
  }
471
458
  }
472
459
 
473
- 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) {
474
- 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);
460
+ 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) {
461
+ 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);
475
462
  }
476
463
 
477
464
  function addToExternrefTable0(obj) {
package/wasm_bg.wasm CHANGED
Binary file