@next/swc-wasm-nodejs 13.4.5-canary.2 → 13.4.5-canary.4

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 +1 -1
  2. package/wasm.d.ts +12 -12
  3. package/wasm.js +184 -184
  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": "13.4.5-canary.2",
3
+ "version": "13.4.5-canary.4",
4
4
  "files": [
5
5
  "wasm_bg.wasm",
6
6
  "wasm.js",
package/wasm.d.ts CHANGED
@@ -7,6 +7,18 @@
7
7
  */
8
8
  export function browserslist(query: string, opts: any): any;
9
9
  /**
10
+ * @param {string} value
11
+ * @param {any} opts
12
+ * @returns {any}
13
+ */
14
+ export function mdxCompileSync(value: string, opts: any): any;
15
+ /**
16
+ * @param {string} value
17
+ * @param {any} opts
18
+ * @returns {Promise<any>}
19
+ */
20
+ export function mdxCompile(value: string, opts: any): Promise<any>;
21
+ /**
10
22
  * @param {string} s
11
23
  * @param {any} opts
12
24
  * @returns {any}
@@ -42,15 +54,3 @@ export function parseSync(s: string, opts: any): any;
42
54
  * @returns {Promise<any>}
43
55
  */
44
56
  export function parse(s: string, opts: any): Promise<any>;
45
- /**
46
- * @param {string} value
47
- * @param {any} opts
48
- * @returns {any}
49
- */
50
- export function mdxCompileSync(value: string, opts: any): any;
51
- /**
52
- * @param {string} value
53
- * @param {any} opts
54
- * @returns {Promise<any>}
55
- */
56
- export function mdxCompile(value: string, opts: any): Promise<any>;
package/wasm.js CHANGED
@@ -1,7 +1,7 @@
1
1
  let imports = {};
2
2
  imports['__wbindgen_placeholder__'] = module.exports;
3
3
  let wasm;
4
- const { TextDecoder, TextEncoder } = require(`util`);
4
+ const { TextEncoder, TextDecoder } = require(`util`);
5
5
 
6
6
  const heap = new Array(128).fill(undefined);
7
7
 
@@ -23,6 +23,28 @@ function takeObject(idx) {
23
23
  return ret;
24
24
  }
25
25
 
26
+ function isLikeNone(x) {
27
+ return x === undefined || x === null;
28
+ }
29
+
30
+ let cachedBigInt64Memory0 = null;
31
+
32
+ function getBigInt64Memory0() {
33
+ if (cachedBigInt64Memory0 === null || cachedBigInt64Memory0.byteLength === 0) {
34
+ cachedBigInt64Memory0 = new BigInt64Array(wasm.memory.buffer);
35
+ }
36
+ return cachedBigInt64Memory0;
37
+ }
38
+
39
+ let cachedInt32Memory0 = null;
40
+
41
+ function getInt32Memory0() {
42
+ if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
43
+ cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
44
+ }
45
+ return cachedInt32Memory0;
46
+ }
47
+
26
48
  function addHeapObject(obj) {
27
49
  if (heap_next === heap.length) heap.push(heap.length + 1);
28
50
  const idx = heap_next;
@@ -32,9 +54,16 @@ function addHeapObject(obj) {
32
54
  return idx;
33
55
  }
34
56
 
35
- let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
57
+ let cachedFloat64Memory0 = null;
36
58
 
37
- cachedTextDecoder.decode();
59
+ function getFloat64Memory0() {
60
+ if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
61
+ cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
62
+ }
63
+ return cachedFloat64Memory0;
64
+ }
65
+
66
+ let WASM_VECTOR_LEN = 0;
38
67
 
39
68
  let cachedUint8Memory0 = null;
40
69
 
@@ -45,12 +74,6 @@ function getUint8Memory0() {
45
74
  return cachedUint8Memory0;
46
75
  }
47
76
 
48
- function getStringFromWasm0(ptr, len) {
49
- return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
50
- }
51
-
52
- let WASM_VECTOR_LEN = 0;
53
-
54
77
  let cachedTextEncoder = new TextEncoder('utf-8');
55
78
 
56
79
  const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
@@ -104,17 +127,12 @@ function passStringToWasm0(arg, malloc, realloc) {
104
127
  return ptr;
105
128
  }
106
129
 
107
- function isLikeNone(x) {
108
- return x === undefined || x === null;
109
- }
130
+ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
110
131
 
111
- let cachedInt32Memory0 = null;
132
+ cachedTextDecoder.decode();
112
133
 
113
- function getInt32Memory0() {
114
- if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
115
- cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
116
- }
117
- return cachedInt32Memory0;
134
+ function getStringFromWasm0(ptr, len) {
135
+ return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
118
136
  }
119
137
 
120
138
  function debugString(val) {
@@ -182,24 +200,6 @@ function debugString(val) {
182
200
  return className;
183
201
  }
184
202
 
185
- let cachedFloat64Memory0 = null;
186
-
187
- function getFloat64Memory0() {
188
- if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
189
- cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
190
- }
191
- return cachedFloat64Memory0;
192
- }
193
-
194
- let cachedBigInt64Memory0 = null;
195
-
196
- function getBigInt64Memory0() {
197
- if (cachedBigInt64Memory0 === null || cachedBigInt64Memory0.byteLength === 0) {
198
- cachedBigInt64Memory0 = new BigInt64Array(wasm.memory.buffer);
199
- }
200
- return cachedBigInt64Memory0;
201
- }
202
-
203
203
  function makeMutClosure(arg0, arg1, dtor, f) {
204
204
  const state = { a: arg0, b: arg1, cnt: 1, dtor };
205
205
  const real = (...args) => {
@@ -225,7 +225,7 @@ function makeMutClosure(arg0, arg1, dtor, f) {
225
225
  return real;
226
226
  }
227
227
  function __wbg_adapter_46(arg0, arg1, arg2) {
228
- wasm._dyn_core_e7bf91d7bc92fdf___ops__function__FnMut_______Output______as_wasm_bindgen_4d5bb25a28c50f23___closure__WasmClosure___describe__invoke___wasm_bindgen_4d5bb25a28c50f23___JsValue_____(arg0, arg1, addHeapObject(arg2));
228
+ wasm._dyn_core_e7bf91d7bc92fdf___ops__function__FnMut_______Output______as_wasm_bindgen_f4e5d8fad5010fc3___closure__WasmClosure___describe__invoke___wasm_bindgen_f4e5d8fad5010fc3___JsValue_____(arg0, arg1, addHeapObject(arg2));
229
229
  }
230
230
 
231
231
  /**
@@ -267,18 +267,18 @@ function handleError(f, args) {
267
267
  }
268
268
  }
269
269
  function __wbg_adapter_94(arg0, arg1, arg2, arg3) {
270
- wasm.wasm_bindgen_4d5bb25a28c50f23___convert__closures__invoke2_mut___wasm_bindgen_4d5bb25a28c50f23___JsValue__wasm_bindgen_4d5bb25a28c50f23___JsValue_____(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
270
+ wasm.wasm_bindgen_f4e5d8fad5010fc3___convert__closures__invoke2_mut___wasm_bindgen_f4e5d8fad5010fc3___JsValue__wasm_bindgen_f4e5d8fad5010fc3___JsValue_____(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
271
271
  }
272
272
 
273
273
  /**
274
- * @param {string} s
274
+ * @param {string} value
275
275
  * @param {any} opts
276
276
  * @returns {any}
277
277
  */
278
- module.exports.minifySync = function(s, opts) {
278
+ module.exports.mdxCompileSync = function(value, opts) {
279
279
  try {
280
280
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
281
- wasm.minifySync(retptr, addHeapObject(s), addHeapObject(opts));
281
+ wasm.mdxCompileSync(retptr, addHeapObject(value), addHeapObject(opts));
282
282
  var r0 = getInt32Memory0()[retptr / 4 + 0];
283
283
  var r1 = getInt32Memory0()[retptr / 4 + 1];
284
284
  var r2 = getInt32Memory0()[retptr / 4 + 2];
@@ -292,24 +292,24 @@ module.exports.minifySync = function(s, opts) {
292
292
  };
293
293
 
294
294
  /**
295
- * @param {string} s
295
+ * @param {string} value
296
296
  * @param {any} opts
297
297
  * @returns {Promise<any>}
298
298
  */
299
- module.exports.minify = function(s, opts) {
300
- const ret = wasm.minify(addHeapObject(s), addHeapObject(opts));
299
+ module.exports.mdxCompile = function(value, opts) {
300
+ const ret = wasm.mdxCompile(addHeapObject(value), addHeapObject(opts));
301
301
  return takeObject(ret);
302
302
  };
303
303
 
304
304
  /**
305
- * @param {any} s
305
+ * @param {string} s
306
306
  * @param {any} opts
307
307
  * @returns {any}
308
308
  */
309
- module.exports.transformSync = function(s, opts) {
309
+ module.exports.minifySync = function(s, opts) {
310
310
  try {
311
311
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
312
- wasm.transformSync(retptr, addHeapObject(s), addHeapObject(opts));
312
+ wasm.minifySync(retptr, addHeapObject(s), addHeapObject(opts));
313
313
  var r0 = getInt32Memory0()[retptr / 4 + 0];
314
314
  var r1 = getInt32Memory0()[retptr / 4 + 1];
315
315
  var r2 = getInt32Memory0()[retptr / 4 + 2];
@@ -323,24 +323,24 @@ module.exports.transformSync = function(s, opts) {
323
323
  };
324
324
 
325
325
  /**
326
- * @param {any} s
326
+ * @param {string} s
327
327
  * @param {any} opts
328
328
  * @returns {Promise<any>}
329
329
  */
330
- module.exports.transform = function(s, opts) {
331
- const ret = wasm.transform(addHeapObject(s), addHeapObject(opts));
330
+ module.exports.minify = function(s, opts) {
331
+ const ret = wasm.minify(addHeapObject(s), addHeapObject(opts));
332
332
  return takeObject(ret);
333
333
  };
334
334
 
335
335
  /**
336
- * @param {string} s
336
+ * @param {any} s
337
337
  * @param {any} opts
338
338
  * @returns {any}
339
339
  */
340
- module.exports.parseSync = function(s, opts) {
340
+ module.exports.transformSync = function(s, opts) {
341
341
  try {
342
342
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
343
- wasm.parseSync(retptr, addHeapObject(s), addHeapObject(opts));
343
+ wasm.transformSync(retptr, addHeapObject(s), addHeapObject(opts));
344
344
  var r0 = getInt32Memory0()[retptr / 4 + 0];
345
345
  var r1 = getInt32Memory0()[retptr / 4 + 1];
346
346
  var r2 = getInt32Memory0()[retptr / 4 + 2];
@@ -354,24 +354,24 @@ module.exports.parseSync = function(s, opts) {
354
354
  };
355
355
 
356
356
  /**
357
- * @param {string} s
357
+ * @param {any} s
358
358
  * @param {any} opts
359
359
  * @returns {Promise<any>}
360
360
  */
361
- module.exports.parse = function(s, opts) {
362
- const ret = wasm.parse(addHeapObject(s), addHeapObject(opts));
361
+ module.exports.transform = function(s, opts) {
362
+ const ret = wasm.transform(addHeapObject(s), addHeapObject(opts));
363
363
  return takeObject(ret);
364
364
  };
365
365
 
366
366
  /**
367
- * @param {string} value
367
+ * @param {string} s
368
368
  * @param {any} opts
369
369
  * @returns {any}
370
370
  */
371
- module.exports.mdxCompileSync = function(value, opts) {
371
+ module.exports.parseSync = function(s, opts) {
372
372
  try {
373
373
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
374
- wasm.mdxCompileSync(retptr, addHeapObject(value), addHeapObject(opts));
374
+ wasm.parseSync(retptr, addHeapObject(s), addHeapObject(opts));
375
375
  var r0 = getInt32Memory0()[retptr / 4 + 0];
376
376
  var r1 = getInt32Memory0()[retptr / 4 + 1];
377
377
  var r2 = getInt32Memory0()[retptr / 4 + 2];
@@ -385,15 +385,124 @@ module.exports.mdxCompileSync = function(value, opts) {
385
385
  };
386
386
 
387
387
  /**
388
- * @param {string} value
388
+ * @param {string} s
389
389
  * @param {any} opts
390
390
  * @returns {Promise<any>}
391
391
  */
392
- module.exports.mdxCompile = function(value, opts) {
393
- const ret = wasm.mdxCompile(addHeapObject(value), addHeapObject(opts));
392
+ module.exports.parse = function(s, opts) {
393
+ const ret = wasm.parse(addHeapObject(s), addHeapObject(opts));
394
394
  return takeObject(ret);
395
395
  };
396
396
 
397
+ module.exports.__wbg_get_27fe3dac1c4d0224 = function(arg0, arg1) {
398
+ const ret = getObject(arg0)[arg1 >>> 0];
399
+ return addHeapObject(ret);
400
+ };
401
+
402
+ module.exports.__wbindgen_object_drop_ref = function(arg0) {
403
+ takeObject(arg0);
404
+ };
405
+
406
+ module.exports.__wbg_next_88560ec06a094dea = function() { return handleError(function (arg0) {
407
+ const ret = getObject(arg0).next();
408
+ return addHeapObject(ret);
409
+ }, arguments) };
410
+
411
+ module.exports.__wbg_done_1ebec03bbd919843 = function(arg0) {
412
+ const ret = getObject(arg0).done;
413
+ return ret;
414
+ };
415
+
416
+ module.exports.__wbg_value_6ac8da5cc5b3efda = function(arg0) {
417
+ const ret = getObject(arg0).value;
418
+ return addHeapObject(ret);
419
+ };
420
+
421
+ module.exports.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
422
+ const ret = getObject(arg0) == getObject(arg1);
423
+ return ret;
424
+ };
425
+
426
+ module.exports.__wbindgen_boolean_get = function(arg0) {
427
+ const v = getObject(arg0);
428
+ const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
429
+ return ret;
430
+ };
431
+
432
+ module.exports.__wbindgen_is_bigint = function(arg0) {
433
+ const ret = typeof(getObject(arg0)) === 'bigint';
434
+ return ret;
435
+ };
436
+
437
+ module.exports.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
438
+ const v = getObject(arg1);
439
+ const ret = typeof(v) === 'bigint' ? v : undefined;
440
+ getBigInt64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? BigInt(0) : ret;
441
+ getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
442
+ };
443
+
444
+ module.exports.__wbindgen_bigint_from_i64 = function(arg0) {
445
+ const ret = arg0;
446
+ return addHeapObject(ret);
447
+ };
448
+
449
+ module.exports.__wbindgen_jsval_eq = function(arg0, arg1) {
450
+ const ret = getObject(arg0) === getObject(arg1);
451
+ return ret;
452
+ };
453
+
454
+ module.exports.__wbindgen_number_get = function(arg0, arg1) {
455
+ const obj = getObject(arg1);
456
+ const ret = typeof(obj) === 'number' ? obj : undefined;
457
+ getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
458
+ getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
459
+ };
460
+
461
+ module.exports.__wbg_isSafeInteger_8c4789029e885159 = function(arg0) {
462
+ const ret = Number.isSafeInteger(getObject(arg0));
463
+ return ret;
464
+ };
465
+
466
+ module.exports.__wbindgen_string_get = function(arg0, arg1) {
467
+ const obj = getObject(arg1);
468
+ const ret = typeof(obj) === 'string' ? obj : undefined;
469
+ var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
470
+ var len0 = WASM_VECTOR_LEN;
471
+ getInt32Memory0()[arg0 / 4 + 1] = len0;
472
+ getInt32Memory0()[arg0 / 4 + 0] = ptr0;
473
+ };
474
+
475
+ module.exports.__wbg_isArray_39d28997bf6b96b4 = function(arg0) {
476
+ const ret = Array.isArray(getObject(arg0));
477
+ return ret;
478
+ };
479
+
480
+ module.exports.__wbindgen_is_object = function(arg0) {
481
+ const val = getObject(arg0);
482
+ const ret = typeof(val) === 'object' && val !== null;
483
+ return ret;
484
+ };
485
+
486
+ module.exports.__wbg_length_e498fbc24f9c1d4f = function(arg0) {
487
+ const ret = getObject(arg0).length;
488
+ return ret;
489
+ };
490
+
491
+ module.exports.__wbg_iterator_55f114446221aa5a = function() {
492
+ const ret = Symbol.iterator;
493
+ return addHeapObject(ret);
494
+ };
495
+
496
+ module.exports.__wbindgen_in = function(arg0, arg1) {
497
+ const ret = getObject(arg0) in getObject(arg1);
498
+ return ret;
499
+ };
500
+
501
+ module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
502
+ const ret = BigInt.asUintN(64, arg0);
503
+ return addHeapObject(ret);
504
+ };
505
+
397
506
  module.exports.__wbg_new0_25059e40b1c02766 = function() {
398
507
  const ret = new Date();
399
508
  return addHeapObject(ret);
@@ -404,10 +513,6 @@ module.exports.__wbg_getTimezoneOffset_2a6b27fb18493a56 = function(arg0) {
404
513
  return ret;
405
514
  };
406
515
 
407
- module.exports.__wbindgen_object_drop_ref = function(arg0) {
408
- takeObject(arg0);
409
- };
410
-
411
516
  module.exports.__wbg_self_e7c1f827057f6584 = function() { return handleError(function () {
412
517
  const ret = self.self;
413
518
  return addHeapObject(ret);
@@ -459,47 +564,11 @@ module.exports.__wbg_get_baf4855f9a986186 = function() { return handleError(func
459
564
  return addHeapObject(ret);
460
565
  }, arguments) };
461
566
 
462
- module.exports.__wbindgen_string_get = function(arg0, arg1) {
463
- const obj = getObject(arg1);
464
- const ret = typeof(obj) === 'string' ? obj : undefined;
465
- var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
466
- var len0 = WASM_VECTOR_LEN;
467
- getInt32Memory0()[arg0 / 4 + 1] = len0;
468
- getInt32Memory0()[arg0 / 4 + 0] = ptr0;
469
- };
470
-
471
- module.exports.__wbindgen_error_new = function(arg0, arg1) {
472
- const ret = new Error(getStringFromWasm0(arg0, arg1));
473
- return addHeapObject(ret);
474
- };
475
-
476
- module.exports.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
477
- const ret = getObject(arg0) == getObject(arg1);
478
- return ret;
479
- };
480
-
481
- module.exports.__wbindgen_is_object = function(arg0) {
482
- const val = getObject(arg0);
483
- const ret = typeof(val) === 'object' && val !== null;
484
- return ret;
485
- };
486
-
487
567
  module.exports.__wbg_getwithrefkey_15c62c2b8546208d = function(arg0, arg1) {
488
568
  const ret = getObject(arg0)[getObject(arg1)];
489
569
  return addHeapObject(ret);
490
570
  };
491
571
 
492
- module.exports.__wbindgen_in = function(arg0, arg1) {
493
- const ret = getObject(arg0) in getObject(arg1);
494
- return ret;
495
- };
496
-
497
- module.exports.__wbindgen_boolean_get = function(arg0) {
498
- const v = getObject(arg0);
499
- const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
500
- return ret;
501
- };
502
-
503
572
  module.exports.__wbg_new_b525de17f44a8943 = function() {
504
573
  const ret = new Array();
505
574
  return addHeapObject(ret);
@@ -533,11 +602,6 @@ if (arg0 !== 0) { wasm.__wbindgen_free(arg0, arg1); }
533
602
  console.error(v0);
534
603
  };
535
604
 
536
- module.exports.__wbg_iterator_55f114446221aa5a = function() {
537
- const ret = Symbol.iterator;
538
- return addHeapObject(ret);
539
- };
540
-
541
605
  module.exports.__wbindgen_is_function = function(arg0) {
542
606
  const ret = typeof(getObject(arg0)) === 'function';
543
607
  return ret;
@@ -585,13 +649,6 @@ module.exports.__wbg_entries_4e1315b774245952 = function(arg0) {
585
649
  return addHeapObject(ret);
586
650
  };
587
651
 
588
- module.exports.__wbindgen_number_get = function(arg0, arg1) {
589
- const obj = getObject(arg1);
590
- const ret = typeof(obj) === 'number' ? obj : undefined;
591
- getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
592
- getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
593
- };
594
-
595
652
  module.exports.__wbg_instanceof_Uint8Array_01cebe79ca606cca = function(arg0) {
596
653
  let result;
597
654
  try {
@@ -614,45 +671,29 @@ module.exports.__wbg_instanceof_ArrayBuffer_a69f02ee4c4f5065 = function(arg0) {
614
671
  return ret;
615
672
  };
616
673
 
617
- module.exports.__wbg_call_9495de66fdbe016b = function() { return handleError(function (arg0, arg1, arg2) {
618
- const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
674
+ module.exports.__wbindgen_error_new = function(arg0, arg1) {
675
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
619
676
  return addHeapObject(ret);
620
- }, arguments) };
621
-
622
- module.exports.__wbindgen_is_string = function(arg0) {
623
- const ret = typeof(getObject(arg0)) === 'string';
624
- return ret;
625
677
  };
626
678
 
627
- module.exports.__wbg_length_e498fbc24f9c1d4f = function(arg0) {
628
- const ret = getObject(arg0).length;
629
- return ret;
630
- };
631
-
632
- module.exports.__wbg_get_27fe3dac1c4d0224 = function(arg0, arg1) {
633
- const ret = getObject(arg0)[arg1 >>> 0];
679
+ module.exports.__wbg_new_f9876326328f45ed = function() {
680
+ const ret = new Object();
634
681
  return addHeapObject(ret);
635
682
  };
636
683
 
637
- module.exports.__wbg_isArray_39d28997bf6b96b4 = function(arg0) {
638
- const ret = Array.isArray(getObject(arg0));
639
- return ret;
684
+ module.exports.__wbg_set_20cbc34131e76824 = function(arg0, arg1, arg2) {
685
+ getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
640
686
  };
641
687
 
642
- module.exports.__wbg_next_88560ec06a094dea = function() { return handleError(function (arg0) {
643
- const ret = getObject(arg0).next();
644
- return addHeapObject(ret);
645
- }, arguments) };
646
-
647
- module.exports.__wbg_done_1ebec03bbd919843 = function(arg0) {
648
- const ret = getObject(arg0).done;
688
+ module.exports.__wbindgen_is_string = function(arg0) {
689
+ const ret = typeof(getObject(arg0)) === 'string';
649
690
  return ret;
650
691
  };
651
692
 
652
- module.exports.__wbg_value_6ac8da5cc5b3efda = function(arg0) {
653
- const ret = getObject(arg0).value;
693
+ module.exports.__wbg_call_9495de66fdbe016b = function() { return handleError(function (arg0, arg1, arg2) {
694
+ const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
654
695
  return addHeapObject(ret);
655
- };
696
+ }, arguments) };
656
697
 
657
698
  module.exports.__wbg_new_9d3a9ce4282a18a8 = function(arg0, arg1) {
658
699
  try {
@@ -673,47 +714,6 @@ module.exports.__wbg_new_9d3a9ce4282a18a8 = function(arg0, arg1) {
673
714
  }
674
715
  };
675
716
 
676
- module.exports.__wbindgen_is_bigint = function(arg0) {
677
- const ret = typeof(getObject(arg0)) === 'bigint';
678
- return ret;
679
- };
680
-
681
- module.exports.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
682
- const v = getObject(arg1);
683
- const ret = typeof(v) === 'bigint' ? v : undefined;
684
- getBigInt64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? BigInt(0) : ret;
685
- getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
686
- };
687
-
688
- module.exports.__wbindgen_bigint_from_i64 = function(arg0) {
689
- const ret = arg0;
690
- return addHeapObject(ret);
691
- };
692
-
693
- module.exports.__wbindgen_jsval_eq = function(arg0, arg1) {
694
- const ret = getObject(arg0) === getObject(arg1);
695
- return ret;
696
- };
697
-
698
- module.exports.__wbg_isSafeInteger_8c4789029e885159 = function(arg0) {
699
- const ret = Number.isSafeInteger(getObject(arg0));
700
- return ret;
701
- };
702
-
703
- module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
704
- const ret = BigInt.asUintN(64, arg0);
705
- return addHeapObject(ret);
706
- };
707
-
708
- module.exports.__wbg_new_f9876326328f45ed = function() {
709
- const ret = new Object();
710
- return addHeapObject(ret);
711
- };
712
-
713
- module.exports.__wbg_set_20cbc34131e76824 = function(arg0, arg1, arg2) {
714
- getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
715
- };
716
-
717
717
  module.exports.__wbindgen_throw = function(arg0, arg1) {
718
718
  throw new Error(getStringFromWasm0(arg0, arg1));
719
719
  };
@@ -738,8 +738,8 @@ module.exports.__wbindgen_cb_drop = function(arg0) {
738
738
  return ret;
739
739
  };
740
740
 
741
- module.exports.__wbindgen_closure_wrapper22884 = function(arg0, arg1, arg2) {
742
- const ret = makeMutClosure(arg0, arg1, 287, __wbg_adapter_46);
741
+ module.exports.__wbindgen_closure_wrapper18223 = function(arg0, arg1, arg2) {
742
+ const ret = makeMutClosure(arg0, arg1, 277, __wbg_adapter_46);
743
743
  return addHeapObject(ret);
744
744
  };
745
745
 
package/wasm_bg.wasm CHANGED
Binary file