@next/swc-wasm-nodejs 15.0.0-rc.0 → 15.0.0

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.
Files changed (4) hide show
  1. package/package.json +2 -2
  2. package/wasm.d.ts +12 -12
  3. package/wasm.js +139 -139
  4. package/wasm_bg.wasm +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next/swc-wasm-nodejs",
3
- "version": "15.0.0-rc.0",
3
+ "version": "15.0.0",
4
4
  "files": [
5
5
  "wasm_bg.wasm",
6
6
  "wasm.js",
@@ -11,6 +11,6 @@
11
11
  "repository": {
12
12
  "type": "git",
13
13
  "url": "https://github.com/vercel/next.js",
14
- "directory": "packages/next-swc/crates/wasm"
14
+ "directory": "crates/wasm"
15
15
  }
16
16
  }
package/wasm.d.ts CHANGED
@@ -1,18 +1,6 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * @param {string} value
5
- * @param {any} opts
6
- * @returns {any}
7
- */
8
- export function mdxCompileSync(value: string, opts: any): any;
9
- /**
10
- * @param {string} value
11
- * @param {any} opts
12
- * @returns {Promise<any>}
13
- */
14
- export function mdxCompile(value: string, opts: any): Promise<any>;
15
- /**
16
4
  * @param {string} s
17
5
  * @param {any} opts
18
6
  * @returns {any}
@@ -48,3 +36,15 @@ export function parseSync(s: string, opts: any): any;
48
36
  * @returns {Promise<any>}
49
37
  */
50
38
  export function parse(s: string, opts: any): Promise<any>;
39
+ /**
40
+ * @param {string} value
41
+ * @param {any} opts
42
+ * @returns {any}
43
+ */
44
+ export function mdxCompileSync(value: string, opts: any): any;
45
+ /**
46
+ * @param {string} value
47
+ * @param {any} opts
48
+ * @returns {Promise<any>}
49
+ */
50
+ export function mdxCompile(value: string, opts: any): Promise<any>;
package/wasm.js CHANGED
@@ -7,19 +7,10 @@ const heap = new Array(128).fill(undefined);
7
7
 
8
8
  heap.push(undefined, null, true, false);
9
9
 
10
- let heap_next = heap.length;
11
-
12
- function addHeapObject(obj) {
13
- if (heap_next === heap.length) heap.push(heap.length + 1);
14
- const idx = heap_next;
15
- heap_next = heap[idx];
16
-
17
- heap[idx] = obj;
18
- return idx;
19
- }
20
-
21
10
  function getObject(idx) { return heap[idx]; }
22
11
 
12
+ let heap_next = heap.length;
13
+
23
14
  function dropObject(idx) {
24
15
  if (idx < 132) return;
25
16
  heap[idx] = heap_next;
@@ -32,6 +23,15 @@ function takeObject(idx) {
32
23
  return ret;
33
24
  }
34
25
 
26
+ function addHeapObject(obj) {
27
+ if (heap_next === heap.length) heap.push(heap.length + 1);
28
+ const idx = heap_next;
29
+ heap_next = heap[idx];
30
+
31
+ heap[idx] = obj;
32
+ return idx;
33
+ }
34
+
35
35
  let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
36
36
 
37
37
  cachedTextDecoder.decode();
@@ -233,7 +233,7 @@ function makeMutClosure(arg0, arg1, dtor, f) {
233
233
  return real;
234
234
  }
235
235
  function __wbg_adapter_48(arg0, arg1, arg2) {
236
- wasm._dyn_core_6b630c532df341d7___ops__function__FnMut_______Output______as_wasm_bindgen_2928d838ea01524e___closure__WasmClosure___describe__invoke___wasm_bindgen_2928d838ea01524e___JsValue_____(arg0, arg1, addHeapObject(arg2));
236
+ wasm._dyn_core_575a3b57185f9003___ops__function__FnMut_______Output______as_wasm_bindgen_9ae5c17cf8bb59fd___closure__WasmClosure___describe__invoke___wasm_bindgen_9ae5c17cf8bb59fd___JsValue_____(arg0, arg1, addHeapObject(arg2));
237
237
  }
238
238
 
239
239
  function getCachedStringFromWasm0(ptr, len) {
@@ -252,18 +252,18 @@ function handleError(f, args) {
252
252
  }
253
253
  }
254
254
  function __wbg_adapter_109(arg0, arg1, arg2, arg3) {
255
- wasm.wasm_bindgen_2928d838ea01524e___convert__closures__invoke2_mut___wasm_bindgen_2928d838ea01524e___JsValue__wasm_bindgen_2928d838ea01524e___JsValue_____(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
255
+ wasm.wasm_bindgen_9ae5c17cf8bb59fd___convert__closures__invoke2_mut___wasm_bindgen_9ae5c17cf8bb59fd___JsValue__wasm_bindgen_9ae5c17cf8bb59fd___JsValue_____(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
256
256
  }
257
257
 
258
258
  /**
259
- * @param {string} value
259
+ * @param {string} s
260
260
  * @param {any} opts
261
261
  * @returns {any}
262
262
  */
263
- module.exports.mdxCompileSync = function(value, opts) {
263
+ module.exports.minifySync = function(s, opts) {
264
264
  try {
265
265
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
266
- wasm.mdxCompileSync(retptr, addHeapObject(value), addHeapObject(opts));
266
+ wasm.minifySync(retptr, addHeapObject(s), addHeapObject(opts));
267
267
  var r0 = getInt32Memory0()[retptr / 4 + 0];
268
268
  var r1 = getInt32Memory0()[retptr / 4 + 1];
269
269
  var r2 = getInt32Memory0()[retptr / 4 + 2];
@@ -277,24 +277,24 @@ module.exports.mdxCompileSync = function(value, opts) {
277
277
  };
278
278
 
279
279
  /**
280
- * @param {string} value
280
+ * @param {string} s
281
281
  * @param {any} opts
282
282
  * @returns {Promise<any>}
283
283
  */
284
- module.exports.mdxCompile = function(value, opts) {
285
- const ret = wasm.mdxCompile(addHeapObject(value), addHeapObject(opts));
284
+ module.exports.minify = function(s, opts) {
285
+ const ret = wasm.minify(addHeapObject(s), addHeapObject(opts));
286
286
  return takeObject(ret);
287
287
  };
288
288
 
289
289
  /**
290
- * @param {string} s
290
+ * @param {any} s
291
291
  * @param {any} opts
292
292
  * @returns {any}
293
293
  */
294
- module.exports.minifySync = function(s, opts) {
294
+ module.exports.transformSync = function(s, opts) {
295
295
  try {
296
296
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
297
- wasm.minifySync(retptr, addHeapObject(s), addHeapObject(opts));
297
+ wasm.transformSync(retptr, addHeapObject(s), addHeapObject(opts));
298
298
  var r0 = getInt32Memory0()[retptr / 4 + 0];
299
299
  var r1 = getInt32Memory0()[retptr / 4 + 1];
300
300
  var r2 = getInt32Memory0()[retptr / 4 + 2];
@@ -308,24 +308,24 @@ module.exports.minifySync = function(s, opts) {
308
308
  };
309
309
 
310
310
  /**
311
- * @param {string} s
311
+ * @param {any} s
312
312
  * @param {any} opts
313
313
  * @returns {Promise<any>}
314
314
  */
315
- module.exports.minify = function(s, opts) {
316
- const ret = wasm.minify(addHeapObject(s), addHeapObject(opts));
315
+ module.exports.transform = function(s, opts) {
316
+ const ret = wasm.transform(addHeapObject(s), addHeapObject(opts));
317
317
  return takeObject(ret);
318
318
  };
319
319
 
320
320
  /**
321
- * @param {any} s
321
+ * @param {string} s
322
322
  * @param {any} opts
323
323
  * @returns {any}
324
324
  */
325
- module.exports.transformSync = function(s, opts) {
325
+ module.exports.parseSync = function(s, opts) {
326
326
  try {
327
327
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
328
- wasm.transformSync(retptr, addHeapObject(s), addHeapObject(opts));
328
+ wasm.parseSync(retptr, addHeapObject(s), addHeapObject(opts));
329
329
  var r0 = getInt32Memory0()[retptr / 4 + 0];
330
330
  var r1 = getInt32Memory0()[retptr / 4 + 1];
331
331
  var r2 = getInt32Memory0()[retptr / 4 + 2];
@@ -339,24 +339,24 @@ module.exports.transformSync = function(s, opts) {
339
339
  };
340
340
 
341
341
  /**
342
- * @param {any} s
342
+ * @param {string} s
343
343
  * @param {any} opts
344
344
  * @returns {Promise<any>}
345
345
  */
346
- module.exports.transform = function(s, opts) {
347
- const ret = wasm.transform(addHeapObject(s), addHeapObject(opts));
346
+ module.exports.parse = function(s, opts) {
347
+ const ret = wasm.parse(addHeapObject(s), addHeapObject(opts));
348
348
  return takeObject(ret);
349
349
  };
350
350
 
351
351
  /**
352
- * @param {string} s
352
+ * @param {string} value
353
353
  * @param {any} opts
354
354
  * @returns {any}
355
355
  */
356
- module.exports.parseSync = function(s, opts) {
356
+ module.exports.mdxCompileSync = function(value, opts) {
357
357
  try {
358
358
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
359
- wasm.parseSync(retptr, addHeapObject(s), addHeapObject(opts));
359
+ wasm.mdxCompileSync(retptr, addHeapObject(value), addHeapObject(opts));
360
360
  var r0 = getInt32Memory0()[retptr / 4 + 0];
361
361
  var r1 = getInt32Memory0()[retptr / 4 + 1];
362
362
  var r2 = getInt32Memory0()[retptr / 4 + 2];
@@ -370,15 +370,19 @@ module.exports.parseSync = function(s, opts) {
370
370
  };
371
371
 
372
372
  /**
373
- * @param {string} s
373
+ * @param {string} value
374
374
  * @param {any} opts
375
375
  * @returns {Promise<any>}
376
376
  */
377
- module.exports.parse = function(s, opts) {
378
- const ret = wasm.parse(addHeapObject(s), addHeapObject(opts));
377
+ module.exports.mdxCompile = function(value, opts) {
378
+ const ret = wasm.mdxCompile(addHeapObject(value), addHeapObject(opts));
379
379
  return takeObject(ret);
380
380
  };
381
381
 
382
+ module.exports.__wbindgen_object_drop_ref = function(arg0) {
383
+ takeObject(arg0);
384
+ };
385
+
382
386
  module.exports.__wbg_new0_7a6141101f2206da = function() {
383
387
  const ret = new Date();
384
388
  return addHeapObject(ret);
@@ -394,10 +398,6 @@ module.exports.__wbg_new_a9d80688888b4894 = function(arg0) {
394
398
  return addHeapObject(ret);
395
399
  };
396
400
 
397
- module.exports.__wbindgen_object_drop_ref = function(arg0) {
398
- takeObject(arg0);
399
- };
400
-
401
401
  module.exports.__wbg_getTimezoneOffset_840b552f34917133 = function(arg0) {
402
402
  const ret = getObject(arg0).getTimezoneOffset();
403
403
  return ret;
@@ -427,44 +427,12 @@ if (arg0 !== 0) { wasm.__wbindgen_free(arg0, arg1, 1); }
427
427
  console.error(v0);
428
428
  };
429
429
 
430
- module.exports.__wbindgen_memory = function() {
431
- const ret = wasm.memory;
432
- return addHeapObject(ret);
433
- };
434
-
435
- module.exports.__wbg_buffer_b914fb8b50ebbc3e = function(arg0) {
436
- const ret = getObject(arg0).buffer;
437
- return addHeapObject(ret);
438
- };
439
-
440
- module.exports.__wbg_newwithbyteoffsetandlength_0de9ee56e9f6ee6e = function(arg0, arg1, arg2) {
441
- const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
442
- return addHeapObject(ret);
443
- };
444
-
445
- module.exports.__wbg_randomFillSync_dc1e9a60c158336d = function() { return handleError(function (arg0, arg1) {
446
- getObject(arg0).randomFillSync(takeObject(arg1));
447
- }, arguments) };
448
-
449
- module.exports.__wbg_subarray_adc418253d76e2f1 = function(arg0, arg1, arg2) {
450
- const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
451
- return addHeapObject(ret);
452
- };
453
-
454
- module.exports.__wbg_getRandomValues_37fa2ca9e4e07fab = function() { return handleError(function (arg0, arg1) {
455
- getObject(arg0).getRandomValues(getObject(arg1));
456
- }, arguments) };
457
-
458
- module.exports.__wbg_new_b1f2d6842d615181 = function(arg0) {
459
- const ret = new Uint8Array(getObject(arg0));
430
+ module.exports.__wbindgen_object_clone_ref = function(arg0) {
431
+ const ret = getObject(arg0);
460
432
  return addHeapObject(ret);
461
433
  };
462
434
 
463
- module.exports.__wbg_set_7d988c98e6ced92d = function(arg0, arg1, arg2) {
464
- getObject(arg0).set(getObject(arg1), arg2 >>> 0);
465
- };
466
-
467
- module.exports.__wbg_crypto_c48a774b022d20ac = function(arg0) {
435
+ module.exports.__wbg_crypto_1d1f22824a6a080c = function(arg0) {
468
436
  const ret = getObject(arg0).crypto;
469
437
  return addHeapObject(ret);
470
438
  };
@@ -475,17 +443,17 @@ module.exports.__wbindgen_is_object = function(arg0) {
475
443
  return ret;
476
444
  };
477
445
 
478
- module.exports.__wbg_process_298734cf255a885d = function(arg0) {
446
+ module.exports.__wbg_process_4a72847cc503995b = function(arg0) {
479
447
  const ret = getObject(arg0).process;
480
448
  return addHeapObject(ret);
481
449
  };
482
450
 
483
- module.exports.__wbg_versions_e2e78e134e3e5d01 = function(arg0) {
451
+ module.exports.__wbg_versions_f686565e586dd935 = function(arg0) {
484
452
  const ret = getObject(arg0).versions;
485
453
  return addHeapObject(ret);
486
454
  };
487
455
 
488
- module.exports.__wbg_node_1cd7a5d853dbea79 = function(arg0) {
456
+ module.exports.__wbg_node_104a2ff8d6ea03a2 = function(arg0) {
489
457
  const ret = getObject(arg0).node;
490
458
  return addHeapObject(ret);
491
459
  };
@@ -495,7 +463,7 @@ module.exports.__wbindgen_is_string = function(arg0) {
495
463
  return ret;
496
464
  };
497
465
 
498
- module.exports.__wbg_require_8f08ceecec0f4fee = function() { return handleError(function () {
466
+ module.exports.__wbg_require_cca90b1a94a0255b = function() { return handleError(function () {
499
467
  const ret = module.require;
500
468
  return addHeapObject(ret);
501
469
  }, arguments) };
@@ -515,7 +483,7 @@ module.exports.__wbg_call_67f2111acd2dfdb6 = function() { return handleError(fun
515
483
  return addHeapObject(ret);
516
484
  }, arguments) };
517
485
 
518
- module.exports.__wbg_msCrypto_bcb970640f50a1e8 = function(arg0) {
486
+ module.exports.__wbg_msCrypto_eb05e62b530a1508 = function(arg0) {
519
487
  const ret = getObject(arg0).msCrypto;
520
488
  return addHeapObject(ret);
521
489
  };
@@ -525,6 +493,43 @@ module.exports.__wbg_newwithlength_0d03cef43b68a530 = function(arg0) {
525
493
  return addHeapObject(ret);
526
494
  };
527
495
 
496
+ module.exports.__wbindgen_memory = function() {
497
+ const ret = wasm.memory;
498
+ return addHeapObject(ret);
499
+ };
500
+
501
+ module.exports.__wbg_buffer_b914fb8b50ebbc3e = function(arg0) {
502
+ const ret = getObject(arg0).buffer;
503
+ return addHeapObject(ret);
504
+ };
505
+
506
+ module.exports.__wbg_newwithbyteoffsetandlength_0de9ee56e9f6ee6e = function(arg0, arg1, arg2) {
507
+ const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
508
+ return addHeapObject(ret);
509
+ };
510
+
511
+ module.exports.__wbg_randomFillSync_5c9c955aa56b6049 = function() { return handleError(function (arg0, arg1) {
512
+ getObject(arg0).randomFillSync(takeObject(arg1));
513
+ }, arguments) };
514
+
515
+ module.exports.__wbg_subarray_adc418253d76e2f1 = function(arg0, arg1, arg2) {
516
+ const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
517
+ return addHeapObject(ret);
518
+ };
519
+
520
+ module.exports.__wbg_getRandomValues_3aa56aa6edec874c = function() { return handleError(function (arg0, arg1) {
521
+ getObject(arg0).getRandomValues(getObject(arg1));
522
+ }, arguments) };
523
+
524
+ module.exports.__wbg_new_b1f2d6842d615181 = function(arg0) {
525
+ const ret = new Uint8Array(getObject(arg0));
526
+ return addHeapObject(ret);
527
+ };
528
+
529
+ module.exports.__wbg_set_7d988c98e6ced92d = function(arg0, arg1, arg2) {
530
+ getObject(arg0).set(getObject(arg1), arg2 >>> 0);
531
+ };
532
+
528
533
  module.exports.__wbg_iterator_40027cdd598da26b = function() {
529
534
  const ret = Symbol.iterator;
530
535
  return addHeapObject(ret);
@@ -545,6 +550,20 @@ module.exports.__wbg_next_586204376d2ed373 = function(arg0) {
545
550
  return addHeapObject(ret);
546
551
  };
547
552
 
553
+ module.exports.__wbg_length_21c4b0ae73cba59d = function(arg0) {
554
+ const ret = getObject(arg0).length;
555
+ return ret;
556
+ };
557
+
558
+ module.exports.__wbindgen_string_get = function(arg0, arg1) {
559
+ const obj = getObject(arg1);
560
+ const ret = typeof(obj) === 'string' ? obj : undefined;
561
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
562
+ var len1 = WASM_VECTOR_LEN;
563
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
564
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
565
+ };
566
+
548
567
  module.exports.__wbg_self_05040bd9523805b9 = function() { return handleError(function () {
549
568
  const ret = self.self;
550
569
  return addHeapObject(ret);
@@ -576,25 +595,6 @@ module.exports.__wbg_newnoargs_cfecb3965268594c = function(arg0, arg1) {
576
595
  return addHeapObject(ret);
577
596
  };
578
597
 
579
- module.exports.__wbindgen_object_clone_ref = function(arg0) {
580
- const ret = getObject(arg0);
581
- return addHeapObject(ret);
582
- };
583
-
584
- module.exports.__wbg_length_21c4b0ae73cba59d = function(arg0) {
585
- const ret = getObject(arg0).length;
586
- return ret;
587
- };
588
-
589
- module.exports.__wbindgen_string_get = function(arg0, arg1) {
590
- const obj = getObject(arg1);
591
- const ret = typeof(obj) === 'string' ? obj : undefined;
592
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
593
- var len1 = WASM_VECTOR_LEN;
594
- getInt32Memory0()[arg0 / 4 + 1] = len1;
595
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
596
- };
597
-
598
598
  module.exports.__wbindgen_error_new = function(arg0, arg1) {
599
599
  const ret = new Error(getStringFromWasm0(arg0, arg1));
600
600
  return addHeapObject(ret);
@@ -640,13 +640,38 @@ module.exports.__wbg_instanceof_ArrayBuffer_9221fa854ffb71b5 = function(arg0) {
640
640
  return ret;
641
641
  };
642
642
 
643
- module.exports.__wbindgen_is_bigint = function(arg0) {
644
- const ret = typeof(getObject(arg0)) === 'bigint';
643
+ module.exports.__wbg_isArray_e783c41d0dd19b44 = function(arg0) {
644
+ const ret = Array.isArray(getObject(arg0));
645
645
  return ret;
646
646
  };
647
647
 
648
- module.exports.__wbg_isArray_e783c41d0dd19b44 = function(arg0) {
649
- const ret = Array.isArray(getObject(arg0));
648
+ module.exports.__wbg_length_161c0d89c6535c1d = function(arg0) {
649
+ const ret = getObject(arg0).length;
650
+ return ret;
651
+ };
652
+
653
+ module.exports.__wbg_get_0ee8ea3c7c984c45 = function(arg0, arg1) {
654
+ const ret = getObject(arg0)[arg1 >>> 0];
655
+ return addHeapObject(ret);
656
+ };
657
+
658
+ module.exports.__wbg_next_b2d3366343a208b3 = function() { return handleError(function (arg0) {
659
+ const ret = getObject(arg0).next();
660
+ return addHeapObject(ret);
661
+ }, arguments) };
662
+
663
+ module.exports.__wbg_done_90b14d6f6eacc42f = function(arg0) {
664
+ const ret = getObject(arg0).done;
665
+ return ret;
666
+ };
667
+
668
+ module.exports.__wbg_value_3158be908c80a75e = function(arg0) {
669
+ const ret = getObject(arg0).value;
670
+ return addHeapObject(ret);
671
+ };
672
+
673
+ module.exports.__wbindgen_is_bigint = function(arg0) {
674
+ const ret = typeof(getObject(arg0)) === 'bigint';
650
675
  return ret;
651
676
  };
652
677
 
@@ -682,39 +707,23 @@ module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
682
707
  return addHeapObject(ret);
683
708
  };
684
709
 
685
- module.exports.__wbg_length_161c0d89c6535c1d = function(arg0) {
686
- const ret = getObject(arg0).length;
687
- return ret;
688
- };
689
-
690
- module.exports.__wbg_get_0ee8ea3c7c984c45 = function(arg0, arg1) {
691
- const ret = getObject(arg0)[arg1 >>> 0];
692
- return addHeapObject(ret);
693
- };
694
-
695
- module.exports.__wbg_next_b2d3366343a208b3 = function() { return handleError(function (arg0) {
696
- const ret = getObject(arg0).next();
710
+ module.exports.__wbg_entries_488960b196cfb6a5 = function(arg0) {
711
+ const ret = Object.entries(getObject(arg0));
697
712
  return addHeapObject(ret);
698
- }, arguments) };
699
-
700
- module.exports.__wbg_done_90b14d6f6eacc42f = function(arg0) {
701
- const ret = getObject(arg0).done;
702
- return ret;
703
713
  };
704
714
 
705
- module.exports.__wbg_value_3158be908c80a75e = function(arg0) {
706
- const ret = getObject(arg0).value;
715
+ module.exports.__wbg_getwithrefkey_15c62c2b8546208d = function(arg0, arg1) {
716
+ const ret = getObject(arg0)[getObject(arg1)];
707
717
  return addHeapObject(ret);
708
718
  };
709
719
 
710
- module.exports.__wbg_entries_488960b196cfb6a5 = function(arg0) {
711
- const ret = Object.entries(getObject(arg0));
720
+ module.exports.__wbg_new_632630b5cec17f21 = function() {
721
+ const ret = new Object();
712
722
  return addHeapObject(ret);
713
723
  };
714
724
 
715
- module.exports.__wbg_getwithrefkey_15c62c2b8546208d = function(arg0, arg1) {
716
- const ret = getObject(arg0)[getObject(arg1)];
717
- return addHeapObject(ret);
725
+ module.exports.__wbg_set_20cbc34131e76824 = function(arg0, arg1, arg2) {
726
+ getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
718
727
  };
719
728
 
720
729
  module.exports.__wbg_new_70828a4353259d4b = function(arg0, arg1) {
@@ -736,15 +745,6 @@ module.exports.__wbg_new_70828a4353259d4b = function(arg0, arg1) {
736
745
  }
737
746
  };
738
747
 
739
- module.exports.__wbg_new_632630b5cec17f21 = function() {
740
- const ret = new Object();
741
- return addHeapObject(ret);
742
- };
743
-
744
- module.exports.__wbg_set_20cbc34131e76824 = function(arg0, arg1, arg2) {
745
- getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
746
- };
747
-
748
748
  module.exports.__wbindgen_debug_string = function(arg0, arg1) {
749
749
  const ret = debugString(getObject(arg1));
750
750
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -786,8 +786,8 @@ module.exports.__wbindgen_cb_drop = function(arg0) {
786
786
  return ret;
787
787
  };
788
788
 
789
- module.exports.__wbindgen_closure_wrapper26964 = function(arg0, arg1, arg2) {
790
- const ret = makeMutClosure(arg0, arg1, 455, __wbg_adapter_48);
789
+ module.exports.__wbindgen_closure_wrapper24355 = function(arg0, arg1, arg2) {
790
+ const ret = makeMutClosure(arg0, arg1, 1811, __wbg_adapter_48);
791
791
  return addHeapObject(ret);
792
792
  };
793
793
 
package/wasm_bg.wasm CHANGED
Binary file