@astral-sh/ruff-wasm-nodejs 0.13.0 → 0.13.2

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/README.md CHANGED
@@ -19,7 +19,7 @@ There are multiple versions for the different wasm-pack targets. See [here](http
19
19
  This example uses the wasm-pack web target and is known to work with Vite.
20
20
 
21
21
  ```ts
22
- import init, { Workspace, type Diagnostic } from '@astral-sh/ruff-api';
22
+ import init, { Workspace, type Diagnostic, PositionEncoding } from '@astral-sh/ruff-wasm-web';
23
23
 
24
24
  const exampleDocument = `print('hello'); print("world")`
25
25
 
@@ -42,7 +42,7 @@ const workspace = new Workspace({
42
42
  'F'
43
43
  ],
44
44
  },
45
- });
45
+ }, PositionEncoding.UTF16);
46
46
 
47
47
  // Will contain 1 diagnostic code for E702: Multiple statements on one line
48
48
  const diagnostics: Diagnostic[] = workspace.check(exampleDocument);
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "Charlie Marsh <charlie.r.marsh@gmail.com>"
5
5
  ],
6
6
  "description": "WebAssembly bindings for Ruff",
7
- "version": "0.13.0",
7
+ "version": "0.13.2",
8
8
  "license": "MIT",
9
9
  "repository": {
10
10
  "type": "git",
package/ruff_wasm.d.ts CHANGED
@@ -1,6 +1,11 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export function run(): void;
4
+ export enum PositionEncoding {
5
+ Utf8 = 0,
6
+ Utf16 = 1,
7
+ Utf32 = 2,
8
+ }
4
9
 
5
10
  export interface Diagnostic {
6
11
  code: string | null;
@@ -33,7 +38,7 @@ export interface Diagnostic {
33
38
  export class Workspace {
34
39
  free(): void;
35
40
  static version(): string;
36
- constructor(options: any);
41
+ constructor(options: any, position_encoding: PositionEncoding);
37
42
  static defaultSettings(): any;
38
43
  check(contents: string): any;
39
44
  format(contents: string): string;
package/ruff_wasm.js CHANGED
@@ -106,6 +106,11 @@ function handleError(f, args) {
106
106
  }
107
107
  }
108
108
 
109
+ function getArrayU8FromWasm0(ptr, len) {
110
+ ptr = ptr >>> 0;
111
+ return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
112
+ }
113
+
109
114
  function isLikeNone(x) {
110
115
  return x === undefined || x === null;
111
116
  }
@@ -184,6 +189,14 @@ function takeFromExternrefTable0(idx) {
184
189
  wasm.__externref_table_dealloc(idx);
185
190
  return value;
186
191
  }
192
+ /**
193
+ * @enum {0 | 1 | 2}
194
+ */
195
+ module.exports.PositionEncoding = Object.freeze({
196
+ Utf8: 0, "0": "Utf8",
197
+ Utf16: 1, "1": "Utf16",
198
+ Utf32: 2, "2": "Utf32",
199
+ });
187
200
 
188
201
  const WorkspaceFinalization = (typeof FinalizationRegistry === 'undefined')
189
202
  ? { register: () => {}, unregister: () => {} }
@@ -219,9 +232,10 @@ class Workspace {
219
232
  }
220
233
  /**
221
234
  * @param {any} options
235
+ * @param {PositionEncoding} position_encoding
222
236
  */
223
- constructor(options) {
224
- const ret = wasm.workspace_new(options);
237
+ constructor(options, position_encoding) {
238
+ const ret = wasm.workspace_new(options, position_encoding);
225
239
  if (ret[2]) {
226
240
  throw takeFromExternrefTable0(ret[1]);
227
241
  }
@@ -376,11 +390,16 @@ class Workspace {
376
390
  }
377
391
  module.exports.Workspace = Workspace;
378
392
 
379
- module.exports.__wbg_Error_0497d5bdba9362e5 = function(arg0, arg1) {
393
+ module.exports.__wbg_Error_1f3748b298f99708 = function(arg0, arg1) {
380
394
  const ret = Error(getStringFromWasm0(arg0, arg1));
381
395
  return ret;
382
396
  };
383
397
 
398
+ module.exports.__wbg_Number_577a493fc95ea223 = function(arg0) {
399
+ const ret = Number(arg0);
400
+ return ret;
401
+ };
402
+
384
403
  module.exports.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
385
404
  const ret = String(arg1);
386
405
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -389,36 +408,31 @@ module.exports.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
389
408
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
390
409
  };
391
410
 
392
- module.exports.__wbg_buffer_a1a27a0dfa70165d = function(arg0) {
393
- const ret = arg0.buffer;
394
- return ret;
395
- };
396
-
397
- module.exports.__wbg_call_fbe8be8bf6436ce5 = function() { return handleError(function (arg0, arg1) {
411
+ module.exports.__wbg_call_2f8d426a20a307fe = function() { return handleError(function (arg0, arg1) {
398
412
  const ret = arg0.call(arg1);
399
413
  return ret;
400
414
  }, arguments) };
401
415
 
402
- module.exports.__wbg_codePointAt_d9b87d53dffc810a = function(arg0, arg1) {
416
+ module.exports.__wbg_codePointAt_12acefc1bed285e5 = function(arg0, arg1) {
403
417
  const ret = arg0.codePointAt(arg1 >>> 0);
404
418
  return ret;
405
419
  };
406
420
 
407
- module.exports.__wbg_debug_58d16ea352cfbca1 = function(arg0) {
421
+ module.exports.__wbg_debug_9a166dc82b4ba6a6 = function(arg0) {
408
422
  console.debug(arg0);
409
423
  };
410
424
 
411
- module.exports.__wbg_done_4d01f352bade43b7 = function(arg0) {
425
+ module.exports.__wbg_done_4a7743b6f942c9f3 = function(arg0) {
412
426
  const ret = arg0.done;
413
427
  return ret;
414
428
  };
415
429
 
416
- module.exports.__wbg_entries_41651c850143b957 = function(arg0) {
430
+ module.exports.__wbg_entries_17f7acbc2d691c0d = function(arg0) {
417
431
  const ret = Object.entries(arg0);
418
432
  return ret;
419
433
  };
420
434
 
421
- module.exports.__wbg_error_51ecdd39ec054205 = function(arg0) {
435
+ module.exports.__wbg_error_41f0589870426ea4 = function(arg0) {
422
436
  console.error(arg0);
423
437
  };
424
438
 
@@ -434,17 +448,17 @@ module.exports.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
434
448
  }
435
449
  };
436
450
 
437
- module.exports.__wbg_fromCodePoint_429ae2379fd10205 = function() { return handleError(function (arg0) {
451
+ module.exports.__wbg_fromCodePoint_258371ef302abf8a = function() { return handleError(function (arg0) {
438
452
  const ret = String.fromCodePoint(arg0 >>> 0);
439
453
  return ret;
440
454
  }, arguments) };
441
455
 
442
- module.exports.__wbg_get_92470be87867c2e5 = function() { return handleError(function (arg0, arg1) {
456
+ module.exports.__wbg_get_27b4bcbec57323ca = function() { return handleError(function (arg0, arg1) {
443
457
  const ret = Reflect.get(arg0, arg1);
444
458
  return ret;
445
459
  }, arguments) };
446
460
 
447
- module.exports.__wbg_get_a131a44bd1eb6979 = function(arg0, arg1) {
461
+ module.exports.__wbg_get_59c6316d15f9f1d0 = function(arg0, arg1) {
448
462
  const ret = arg0[arg1 >>> 0];
449
463
  return ret;
450
464
  };
@@ -454,11 +468,11 @@ module.exports.__wbg_getwithrefkey_1dc361bd10053bfe = function(arg0, arg1) {
454
468
  return ret;
455
469
  };
456
470
 
457
- module.exports.__wbg_info_e56933705c348038 = function(arg0) {
471
+ module.exports.__wbg_info_ed6e390d09c09062 = function(arg0) {
458
472
  console.info(arg0);
459
473
  };
460
474
 
461
- module.exports.__wbg_instanceof_ArrayBuffer_a8b6f580b363f2bc = function(arg0) {
475
+ module.exports.__wbg_instanceof_ArrayBuffer_59339a3a6f0c10ea = function(arg0) {
462
476
  let result;
463
477
  try {
464
478
  result = arg0 instanceof ArrayBuffer;
@@ -469,7 +483,7 @@ module.exports.__wbg_instanceof_ArrayBuffer_a8b6f580b363f2bc = function(arg0) {
469
483
  return ret;
470
484
  };
471
485
 
472
- module.exports.__wbg_instanceof_Map_80cc65041c96417a = function(arg0) {
486
+ module.exports.__wbg_instanceof_Map_dd89a82d76d1b25f = function(arg0) {
473
487
  let result;
474
488
  try {
475
489
  result = arg0 instanceof Map;
@@ -480,7 +494,7 @@ module.exports.__wbg_instanceof_Map_80cc65041c96417a = function(arg0) {
480
494
  return ret;
481
495
  };
482
496
 
483
- module.exports.__wbg_instanceof_Uint8Array_ca460677bc155827 = function(arg0) {
497
+ module.exports.__wbg_instanceof_Uint8Array_91f3c5adee7e6672 = function(arg0) {
484
498
  let result;
485
499
  try {
486
500
  result = arg0 instanceof Uint8Array;
@@ -491,52 +505,47 @@ module.exports.__wbg_instanceof_Uint8Array_ca460677bc155827 = function(arg0) {
491
505
  return ret;
492
506
  };
493
507
 
494
- module.exports.__wbg_isArray_5f090bed72bd4f89 = function(arg0) {
508
+ module.exports.__wbg_isArray_bc2498eba6fcb71f = function(arg0) {
495
509
  const ret = Array.isArray(arg0);
496
510
  return ret;
497
511
  };
498
512
 
499
- module.exports.__wbg_isSafeInteger_90d7c4674047d684 = function(arg0) {
513
+ module.exports.__wbg_isSafeInteger_6091d6e3ee1b65fd = function(arg0) {
500
514
  const ret = Number.isSafeInteger(arg0);
501
515
  return ret;
502
516
  };
503
517
 
504
- module.exports.__wbg_iterator_4068add5b2aef7a6 = function() {
518
+ module.exports.__wbg_iterator_96378c3c9a17347c = function() {
505
519
  const ret = Symbol.iterator;
506
520
  return ret;
507
521
  };
508
522
 
509
- module.exports.__wbg_length_0ca5b4c83d5d9721 = function(arg0) {
523
+ module.exports.__wbg_length_246fa1f85a0dea5b = function(arg0) {
510
524
  const ret = arg0.length;
511
525
  return ret;
512
526
  };
513
527
 
514
- module.exports.__wbg_length_ab6d22b5ead75c72 = function(arg0) {
528
+ module.exports.__wbg_length_7bca5263dfc69dd1 = function(arg0) {
515
529
  const ret = arg0.length;
516
530
  return ret;
517
531
  };
518
532
 
519
- module.exports.__wbg_length_f00ec12454a5d9fd = function(arg0) {
533
+ module.exports.__wbg_length_904c0910ed998bf3 = function(arg0) {
520
534
  const ret = arg0.length;
521
535
  return ret;
522
536
  };
523
537
 
524
- module.exports.__wbg_log_ea240990d83e374e = function(arg0) {
538
+ module.exports.__wbg_log_f3c04200b995730f = function(arg0) {
525
539
  console.log(arg0);
526
540
  };
527
541
 
528
- module.exports.__wbg_new_07b483f72211fd66 = function() {
542
+ module.exports.__wbg_new_1930cbb8d9ffc31b = function() {
529
543
  const ret = new Object();
530
544
  return ret;
531
545
  };
532
546
 
533
- module.exports.__wbg_new_476169e6d59f23ae = function(arg0, arg1) {
534
- const ret = new Error(getStringFromWasm0(arg0, arg1));
535
- return ret;
536
- };
537
-
538
- module.exports.__wbg_new_58353953ad2097cc = function() {
539
- const ret = new Array();
547
+ module.exports.__wbg_new_56407f99198feff7 = function() {
548
+ const ret = new Map();
540
549
  return ret;
541
550
  };
542
551
 
@@ -545,41 +554,46 @@ module.exports.__wbg_new_8a6f238a6ece86ea = function() {
545
554
  return ret;
546
555
  };
547
556
 
548
- module.exports.__wbg_new_a979b4b45bd55c7f = function() {
549
- const ret = new Map();
557
+ module.exports.__wbg_new_9190433fb67ed635 = function(arg0) {
558
+ const ret = new Uint8Array(arg0);
550
559
  return ret;
551
560
  };
552
561
 
553
- module.exports.__wbg_new_e52b3efaaa774f96 = function(arg0) {
554
- const ret = new Uint8Array(arg0);
562
+ module.exports.__wbg_new_97ddeb994a38bb69 = function(arg0, arg1) {
563
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
555
564
  return ret;
556
565
  };
557
566
 
558
- module.exports.__wbg_next_8bb824d217961b5d = function(arg0) {
559
- const ret = arg0.next;
567
+ module.exports.__wbg_new_e969dc3f68d25093 = function() {
568
+ const ret = new Array();
560
569
  return ret;
561
570
  };
562
571
 
563
- module.exports.__wbg_next_e2da48d8fff7439a = function() { return handleError(function (arg0) {
572
+ module.exports.__wbg_next_2e6b37020ac5fe58 = function() { return handleError(function (arg0) {
564
573
  const ret = arg0.next();
565
574
  return ret;
566
575
  }, arguments) };
567
576
 
568
- module.exports.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
569
- arg0[arg1] = arg2;
577
+ module.exports.__wbg_next_3de8f2669431a3ff = function(arg0) {
578
+ const ret = arg0.next;
579
+ return ret;
570
580
  };
571
581
 
572
- module.exports.__wbg_set_7422acbe992d64ab = function(arg0, arg1, arg2) {
573
- arg0[arg1 >>> 0] = arg2;
582
+ module.exports.__wbg_prototypesetcall_c5f74efd31aea86b = function(arg0, arg1, arg2) {
583
+ Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
574
584
  };
575
585
 
576
- module.exports.__wbg_set_d6bdfd275fb8a4ce = function(arg0, arg1, arg2) {
586
+ module.exports.__wbg_set_31197016f65a6a19 = function(arg0, arg1, arg2) {
577
587
  const ret = arg0.set(arg1, arg2);
578
588
  return ret;
579
589
  };
580
590
 
581
- module.exports.__wbg_set_fe4e79d1ed3b0e9b = function(arg0, arg1, arg2) {
582
- arg0.set(arg1, arg2 >>> 0);
591
+ module.exports.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
592
+ arg0[arg1] = arg2;
593
+ };
594
+
595
+ module.exports.__wbg_set_d636a0463acf1dbc = function(arg0, arg1, arg2) {
596
+ arg0[arg1 >>> 0] = arg2;
583
597
  };
584
598
 
585
599
  module.exports.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
@@ -590,44 +604,29 @@ module.exports.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
590
604
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
591
605
  };
592
606
 
593
- module.exports.__wbg_value_17b896954e14f896 = function(arg0) {
607
+ module.exports.__wbg_value_09d0b4eaab48b91d = function(arg0) {
594
608
  const ret = arg0.value;
595
609
  return ret;
596
610
  };
597
611
 
598
- module.exports.__wbg_warn_d89f6637da554c8d = function(arg0) {
612
+ module.exports.__wbg_warn_07ef1f61c52799fb = function(arg0) {
599
613
  console.warn(arg0);
600
614
  };
601
615
 
602
- module.exports.__wbindgen_as_number = function(arg0) {
603
- const ret = +arg0;
604
- return ret;
605
- };
606
-
607
- module.exports.__wbindgen_bigint_from_i64 = function(arg0) {
608
- const ret = arg0;
609
- return ret;
610
- };
611
-
612
- module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
613
- const ret = BigInt.asUintN(64, arg0);
614
- return ret;
615
- };
616
-
617
- module.exports.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
616
+ module.exports.__wbg_wbindgenbigintgetasi64_7637cb1a7fb9a81e = function(arg0, arg1) {
618
617
  const v = arg1;
619
618
  const ret = typeof(v) === 'bigint' ? v : undefined;
620
619
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
621
620
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
622
621
  };
623
622
 
624
- module.exports.__wbindgen_boolean_get = function(arg0) {
623
+ module.exports.__wbg_wbindgenbooleanget_59f830b1a70d2530 = function(arg0) {
625
624
  const v = arg0;
626
- const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
627
- return ret;
625
+ const ret = typeof(v) === 'boolean' ? v : undefined;
626
+ return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
628
627
  };
629
628
 
630
- module.exports.__wbindgen_debug_string = function(arg0, arg1) {
629
+ module.exports.__wbg_wbindgendebugstring_bb652b1bc2061b6d = function(arg0, arg1) {
631
630
  const ret = debugString(arg1);
632
631
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
633
632
  const len1 = WASM_VECTOR_LEN;
@@ -635,76 +634,55 @@ module.exports.__wbindgen_debug_string = function(arg0, arg1) {
635
634
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
636
635
  };
637
636
 
638
- module.exports.__wbindgen_in = function(arg0, arg1) {
637
+ module.exports.__wbg_wbindgenin_192b210aa1c401e9 = function(arg0, arg1) {
639
638
  const ret = arg0 in arg1;
640
639
  return ret;
641
640
  };
642
641
 
643
- module.exports.__wbindgen_init_externref_table = function() {
644
- const table = wasm.__wbindgen_export_4;
645
- const offset = table.grow(4);
646
- table.set(0, undefined);
647
- table.set(offset + 0, undefined);
648
- table.set(offset + 1, null);
649
- table.set(offset + 2, true);
650
- table.set(offset + 3, false);
651
- ;
652
- };
653
-
654
- module.exports.__wbindgen_is_bigint = function(arg0) {
642
+ module.exports.__wbg_wbindgenisbigint_7d76a1ca6454e439 = function(arg0) {
655
643
  const ret = typeof(arg0) === 'bigint';
656
644
  return ret;
657
645
  };
658
646
 
659
- module.exports.__wbindgen_is_function = function(arg0) {
647
+ module.exports.__wbg_wbindgenisfunction_ea72b9d66a0e1705 = function(arg0) {
660
648
  const ret = typeof(arg0) === 'function';
661
649
  return ret;
662
650
  };
663
651
 
664
- module.exports.__wbindgen_is_object = function(arg0) {
652
+ module.exports.__wbg_wbindgenisobject_dfe064a121d87553 = function(arg0) {
665
653
  const val = arg0;
666
654
  const ret = typeof(val) === 'object' && val !== null;
667
655
  return ret;
668
656
  };
669
657
 
670
- module.exports.__wbindgen_is_string = function(arg0) {
658
+ module.exports.__wbg_wbindgenisstring_4b74e4111ba029e6 = function(arg0) {
671
659
  const ret = typeof(arg0) === 'string';
672
660
  return ret;
673
661
  };
674
662
 
675
- module.exports.__wbindgen_is_undefined = function(arg0) {
663
+ module.exports.__wbg_wbindgenisundefined_71f08a6ade4354e7 = function(arg0) {
676
664
  const ret = arg0 === undefined;
677
665
  return ret;
678
666
  };
679
667
 
680
- module.exports.__wbindgen_jsval_eq = function(arg0, arg1) {
668
+ module.exports.__wbg_wbindgenjsvaleq_f27272c0a890df7f = function(arg0, arg1) {
681
669
  const ret = arg0 === arg1;
682
670
  return ret;
683
671
  };
684
672
 
685
- module.exports.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
673
+ module.exports.__wbg_wbindgenjsvallooseeq_9dd7bb4b95ac195c = function(arg0, arg1) {
686
674
  const ret = arg0 == arg1;
687
675
  return ret;
688
676
  };
689
677
 
690
- module.exports.__wbindgen_memory = function() {
691
- const ret = wasm.memory;
692
- return ret;
693
- };
694
-
695
- module.exports.__wbindgen_number_get = function(arg0, arg1) {
678
+ module.exports.__wbg_wbindgennumberget_d855f947247a3fbc = function(arg0, arg1) {
696
679
  const obj = arg1;
697
680
  const ret = typeof(obj) === 'number' ? obj : undefined;
698
681
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
699
682
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
700
683
  };
701
684
 
702
- module.exports.__wbindgen_number_new = function(arg0) {
703
- const ret = arg0;
704
- return ret;
705
- };
706
-
707
- module.exports.__wbindgen_string_get = function(arg0, arg1) {
685
+ module.exports.__wbg_wbindgenstringget_43fe05afe34b0cb1 = function(arg0, arg1) {
708
686
  const obj = arg1;
709
687
  const ret = typeof(obj) === 'string' ? obj : undefined;
710
688
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -713,13 +691,43 @@ module.exports.__wbindgen_string_get = function(arg0, arg1) {
713
691
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
714
692
  };
715
693
 
716
- module.exports.__wbindgen_string_new = function(arg0, arg1) {
694
+ module.exports.__wbg_wbindgenthrow_4c11a24fca429ccf = function(arg0, arg1) {
695
+ throw new Error(getStringFromWasm0(arg0, arg1));
696
+ };
697
+
698
+ module.exports.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
699
+ // Cast intrinsic for `Ref(String) -> Externref`.
717
700
  const ret = getStringFromWasm0(arg0, arg1);
718
701
  return ret;
719
702
  };
720
703
 
721
- module.exports.__wbindgen_throw = function(arg0, arg1) {
722
- throw new Error(getStringFromWasm0(arg0, arg1));
704
+ module.exports.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) {
705
+ // Cast intrinsic for `U64 -> Externref`.
706
+ const ret = BigInt.asUintN(64, arg0);
707
+ return ret;
708
+ };
709
+
710
+ module.exports.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
711
+ // Cast intrinsic for `I64 -> Externref`.
712
+ const ret = arg0;
713
+ return ret;
714
+ };
715
+
716
+ module.exports.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
717
+ // Cast intrinsic for `F64 -> Externref`.
718
+ const ret = arg0;
719
+ return ret;
720
+ };
721
+
722
+ module.exports.__wbindgen_init_externref_table = function() {
723
+ const table = wasm.__wbindgen_export_4;
724
+ const offset = table.grow(4);
725
+ table.set(0, undefined);
726
+ table.set(offset + 0, undefined);
727
+ table.set(offset + 1, null);
728
+ table.set(offset + 2, true);
729
+ table.set(offset + 3, false);
730
+ ;
723
731
  };
724
732
 
725
733
  const path = require('path').join(__dirname, 'ruff_wasm_bg.wasm');
package/ruff_wasm_bg.wasm CHANGED
Binary file