@astral-sh/ruff-wasm-nodejs 0.6.1 → 0.6.3

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/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.6.1",
7
+ "version": "0.6.3",
8
8
  "license": "MIT",
9
9
  "repository": {
10
10
  "type": "git",
package/ruff_wasm.js CHANGED
@@ -1,3 +1,4 @@
1
+
1
2
  let imports = {};
2
3
  imports['__wbindgen_placeholder__'] = module.exports;
3
4
  let wasm;
@@ -27,18 +28,18 @@ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true
27
28
 
28
29
  cachedTextDecoder.decode();
29
30
 
30
- let cachedUint8Memory0 = null;
31
+ let cachedUint8ArrayMemory0 = null;
31
32
 
32
- function getUint8Memory0() {
33
- if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) {
34
- cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
33
+ function getUint8ArrayMemory0() {
34
+ if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
35
+ cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
35
36
  }
36
- return cachedUint8Memory0;
37
+ return cachedUint8ArrayMemory0;
37
38
  }
38
39
 
39
40
  function getStringFromWasm0(ptr, len) {
40
41
  ptr = ptr >>> 0;
41
- return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
42
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
42
43
  }
43
44
 
44
45
  function addHeapObject(obj) {
@@ -54,22 +55,13 @@ function isLikeNone(x) {
54
55
  return x === undefined || x === null;
55
56
  }
56
57
 
57
- let cachedFloat64Memory0 = null;
58
-
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 cachedInt32Memory0 = null;
58
+ let cachedDataViewMemory0 = null;
67
59
 
68
- function getInt32Memory0() {
69
- if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
70
- cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
60
+ function getDataViewMemory0() {
61
+ if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
62
+ cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
71
63
  }
72
- return cachedInt32Memory0;
64
+ return cachedDataViewMemory0;
73
65
  }
74
66
 
75
67
  let WASM_VECTOR_LEN = 0;
@@ -94,7 +86,7 @@ function passStringToWasm0(arg, malloc, realloc) {
94
86
  if (realloc === undefined) {
95
87
  const buf = cachedTextEncoder.encode(arg);
96
88
  const ptr = malloc(buf.length, 1) >>> 0;
97
- getUint8Memory0().subarray(ptr, ptr + buf.length).set(buf);
89
+ getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
98
90
  WASM_VECTOR_LEN = buf.length;
99
91
  return ptr;
100
92
  }
@@ -102,7 +94,7 @@ function passStringToWasm0(arg, malloc, realloc) {
102
94
  let len = arg.length;
103
95
  let ptr = malloc(len, 1) >>> 0;
104
96
 
105
- const mem = getUint8Memory0();
97
+ const mem = getUint8ArrayMemory0();
106
98
 
107
99
  let offset = 0;
108
100
 
@@ -117,7 +109,7 @@ function passStringToWasm0(arg, malloc, realloc) {
117
109
  arg = arg.slice(offset);
118
110
  }
119
111
  ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
120
- const view = getUint8Memory0().subarray(ptr + offset, ptr + len);
112
+ const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
121
113
  const ret = encodeString(arg, view);
122
114
 
123
115
  offset += ret.written;
@@ -128,15 +120,6 @@ function passStringToWasm0(arg, malloc, realloc) {
128
120
  return ptr;
129
121
  }
130
122
 
131
- let cachedBigInt64Memory0 = null;
132
-
133
- function getBigInt64Memory0() {
134
- if (cachedBigInt64Memory0 === null || cachedBigInt64Memory0.byteLength === 0) {
135
- cachedBigInt64Memory0 = new BigInt64Array(wasm.memory.buffer);
136
- }
137
- return cachedBigInt64Memory0;
138
- }
139
-
140
123
  function debugString(val) {
141
124
  // primitive types
142
125
  const type = typeof val;
@@ -217,7 +200,7 @@ function handleError(f, args) {
217
200
 
218
201
  const WorkspaceFinalization = (typeof FinalizationRegistry === 'undefined')
219
202
  ? { register: () => {}, unregister: () => {} }
220
- : new FinalizationRegistry(ptr => wasm.__wbg_workspace_free(ptr >>> 0));
203
+ : new FinalizationRegistry(ptr => wasm.__wbg_workspace_free(ptr >>> 0, 1));
221
204
  /**
222
205
  */
223
206
  class Workspace {
@@ -231,7 +214,7 @@ class Workspace {
231
214
 
232
215
  free() {
233
216
  const ptr = this.__destroy_into_raw();
234
- wasm.__wbg_workspace_free(ptr);
217
+ wasm.__wbg_workspace_free(ptr, 0);
235
218
  }
236
219
  /**
237
220
  * @returns {string}
@@ -242,8 +225,8 @@ class Workspace {
242
225
  try {
243
226
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
244
227
  wasm.workspace_version(retptr);
245
- var r0 = getInt32Memory0()[retptr / 4 + 0];
246
- var r1 = getInt32Memory0()[retptr / 4 + 1];
228
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
229
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
247
230
  deferred1_0 = r0;
248
231
  deferred1_1 = r1;
249
232
  return getStringFromWasm0(r0, r1);
@@ -259,13 +242,14 @@ class Workspace {
259
242
  try {
260
243
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
261
244
  wasm.workspace_new(retptr, addHeapObject(options));
262
- var r0 = getInt32Memory0()[retptr / 4 + 0];
263
- var r1 = getInt32Memory0()[retptr / 4 + 1];
264
- var r2 = getInt32Memory0()[retptr / 4 + 2];
245
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
246
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
247
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
265
248
  if (r2) {
266
249
  throw takeObject(r1);
267
250
  }
268
251
  this.__wbg_ptr = r0 >>> 0;
252
+ WorkspaceFinalization.register(this, this.__wbg_ptr, this);
269
253
  return this;
270
254
  } finally {
271
255
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -278,9 +262,9 @@ class Workspace {
278
262
  try {
279
263
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
280
264
  wasm.workspace_defaultSettings(retptr);
281
- var r0 = getInt32Memory0()[retptr / 4 + 0];
282
- var r1 = getInt32Memory0()[retptr / 4 + 1];
283
- var r2 = getInt32Memory0()[retptr / 4 + 2];
265
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
266
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
267
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
284
268
  if (r2) {
285
269
  throw takeObject(r1);
286
270
  }
@@ -299,9 +283,9 @@ class Workspace {
299
283
  const ptr0 = passStringToWasm0(contents, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
300
284
  const len0 = WASM_VECTOR_LEN;
301
285
  wasm.workspace_check(retptr, this.__wbg_ptr, ptr0, len0);
302
- var r0 = getInt32Memory0()[retptr / 4 + 0];
303
- var r1 = getInt32Memory0()[retptr / 4 + 1];
304
- var r2 = getInt32Memory0()[retptr / 4 + 2];
286
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
287
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
288
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
305
289
  if (r2) {
306
290
  throw takeObject(r1);
307
291
  }
@@ -322,10 +306,10 @@ class Workspace {
322
306
  const ptr0 = passStringToWasm0(contents, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
323
307
  const len0 = WASM_VECTOR_LEN;
324
308
  wasm.workspace_format(retptr, this.__wbg_ptr, ptr0, len0);
325
- var r0 = getInt32Memory0()[retptr / 4 + 0];
326
- var r1 = getInt32Memory0()[retptr / 4 + 1];
327
- var r2 = getInt32Memory0()[retptr / 4 + 2];
328
- var r3 = getInt32Memory0()[retptr / 4 + 3];
309
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
310
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
311
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
312
+ var r3 = getDataViewMemory0().getInt32(retptr + 4 * 3, true);
329
313
  var ptr2 = r0;
330
314
  var len2 = r1;
331
315
  if (r3) {
@@ -352,10 +336,10 @@ class Workspace {
352
336
  const ptr0 = passStringToWasm0(contents, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
353
337
  const len0 = WASM_VECTOR_LEN;
354
338
  wasm.workspace_format_ir(retptr, this.__wbg_ptr, ptr0, len0);
355
- var r0 = getInt32Memory0()[retptr / 4 + 0];
356
- var r1 = getInt32Memory0()[retptr / 4 + 1];
357
- var r2 = getInt32Memory0()[retptr / 4 + 2];
358
- var r3 = getInt32Memory0()[retptr / 4 + 3];
339
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
340
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
341
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
342
+ var r3 = getDataViewMemory0().getInt32(retptr + 4 * 3, true);
359
343
  var ptr2 = r0;
360
344
  var len2 = r1;
361
345
  if (r3) {
@@ -382,10 +366,10 @@ class Workspace {
382
366
  const ptr0 = passStringToWasm0(contents, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
383
367
  const len0 = WASM_VECTOR_LEN;
384
368
  wasm.workspace_comments(retptr, this.__wbg_ptr, ptr0, len0);
385
- var r0 = getInt32Memory0()[retptr / 4 + 0];
386
- var r1 = getInt32Memory0()[retptr / 4 + 1];
387
- var r2 = getInt32Memory0()[retptr / 4 + 2];
388
- var r3 = getInt32Memory0()[retptr / 4 + 3];
369
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
370
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
371
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
372
+ var r3 = getDataViewMemory0().getInt32(retptr + 4 * 3, true);
389
373
  var ptr2 = r0;
390
374
  var len2 = r1;
391
375
  if (r3) {
@@ -413,10 +397,10 @@ class Workspace {
413
397
  const ptr0 = passStringToWasm0(contents, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
414
398
  const len0 = WASM_VECTOR_LEN;
415
399
  wasm.workspace_parse(retptr, this.__wbg_ptr, ptr0, len0);
416
- var r0 = getInt32Memory0()[retptr / 4 + 0];
417
- var r1 = getInt32Memory0()[retptr / 4 + 1];
418
- var r2 = getInt32Memory0()[retptr / 4 + 2];
419
- var r3 = getInt32Memory0()[retptr / 4 + 3];
400
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
401
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
402
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
403
+ var r3 = getDataViewMemory0().getInt32(retptr + 4 * 3, true);
420
404
  var ptr2 = r0;
421
405
  var len2 = r1;
422
406
  if (r3) {
@@ -443,10 +427,10 @@ class Workspace {
443
427
  const ptr0 = passStringToWasm0(contents, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
444
428
  const len0 = WASM_VECTOR_LEN;
445
429
  wasm.workspace_tokens(retptr, this.__wbg_ptr, ptr0, len0);
446
- var r0 = getInt32Memory0()[retptr / 4 + 0];
447
- var r1 = getInt32Memory0()[retptr / 4 + 1];
448
- var r2 = getInt32Memory0()[retptr / 4 + 2];
449
- var r3 = getInt32Memory0()[retptr / 4 + 3];
430
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
431
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
432
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
433
+ var r3 = getDataViewMemory0().getInt32(retptr + 4 * 3, true);
450
434
  var ptr2 = r0;
451
435
  var len2 = r1;
452
436
  if (r3) {
@@ -502,8 +486,8 @@ module.exports.__wbindgen_is_bigint = function(arg0) {
502
486
  module.exports.__wbindgen_number_get = function(arg0, arg1) {
503
487
  const obj = getObject(arg1);
504
488
  const ret = typeof(obj) === 'number' ? obj : undefined;
505
- getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
506
- getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
489
+ getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
490
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
507
491
  };
508
492
 
509
493
  module.exports.__wbindgen_string_get = function(arg0, arg1) {
@@ -511,8 +495,8 @@ module.exports.__wbindgen_string_get = function(arg0, arg1) {
511
495
  const ret = typeof(obj) === 'string' ? obj : undefined;
512
496
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
513
497
  var len1 = WASM_VECTOR_LEN;
514
- getInt32Memory0()[arg0 / 4 + 1] = len1;
515
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
498
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
499
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
516
500
  };
517
501
 
518
502
  module.exports.__wbindgen_is_object = function(arg0) {
@@ -565,8 +549,8 @@ module.exports.__wbg_String_b9412f8799faab3e = function(arg0, arg1) {
565
549
  const ret = String(getObject(arg1));
566
550
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
567
551
  const len1 = WASM_VECTOR_LEN;
568
- getInt32Memory0()[arg0 / 4 + 1] = len1;
569
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
552
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
553
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
570
554
  };
571
555
 
572
556
  module.exports.__wbg_getwithrefkey_edc2c8960f0f1191 = function(arg0, arg1) {
@@ -607,8 +591,8 @@ module.exports.__wbg_stack_658279fe44541cf6 = function(arg0, arg1) {
607
591
  const ret = getObject(arg1).stack;
608
592
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
609
593
  const len1 = WASM_VECTOR_LEN;
610
- getInt32Memory0()[arg0 / 4 + 1] = len1;
611
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
594
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
595
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
612
596
  };
613
597
 
614
598
  module.exports.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) {
@@ -628,76 +612,76 @@ module.exports.__wbindgen_is_function = function(arg0) {
628
612
  return ret;
629
613
  };
630
614
 
631
- module.exports.__wbg_get_bd8e338fbd5f5cc8 = function(arg0, arg1) {
615
+ module.exports.__wbg_get_3baa728f9d58d3f6 = function(arg0, arg1) {
632
616
  const ret = getObject(arg0)[arg1 >>> 0];
633
617
  return addHeapObject(ret);
634
618
  };
635
619
 
636
- module.exports.__wbg_length_cd7af8117672b8b8 = function(arg0) {
620
+ module.exports.__wbg_length_ae22078168b726f5 = function(arg0) {
637
621
  const ret = getObject(arg0).length;
638
622
  return ret;
639
623
  };
640
624
 
641
- module.exports.__wbg_new_16b304a2cfa7ff4a = function() {
625
+ module.exports.__wbg_new_a220cf903aa02ca2 = function() {
642
626
  const ret = new Array();
643
627
  return addHeapObject(ret);
644
628
  };
645
629
 
646
- module.exports.__wbg_new_d9bc3a0147634640 = function() {
630
+ module.exports.__wbg_new_8608a2b51a5f6737 = function() {
647
631
  const ret = new Map();
648
632
  return addHeapObject(ret);
649
633
  };
650
634
 
651
- module.exports.__wbg_next_40fc327bfc8770e6 = function(arg0) {
635
+ module.exports.__wbg_next_de3e9db4440638b2 = function(arg0) {
652
636
  const ret = getObject(arg0).next;
653
637
  return addHeapObject(ret);
654
638
  };
655
639
 
656
- module.exports.__wbg_next_196c84450b364254 = function() { return handleError(function (arg0) {
640
+ module.exports.__wbg_next_f9cb570345655b9a = function() { return handleError(function (arg0) {
657
641
  const ret = getObject(arg0).next();
658
642
  return addHeapObject(ret);
659
643
  }, arguments) };
660
644
 
661
- module.exports.__wbg_done_298b57d23c0fc80c = function(arg0) {
645
+ module.exports.__wbg_done_bfda7aa8f252b39f = function(arg0) {
662
646
  const ret = getObject(arg0).done;
663
647
  return ret;
664
648
  };
665
649
 
666
- module.exports.__wbg_value_d93c65011f51a456 = function(arg0) {
650
+ module.exports.__wbg_value_6d39332ab4788d86 = function(arg0) {
667
651
  const ret = getObject(arg0).value;
668
652
  return addHeapObject(ret);
669
653
  };
670
654
 
671
- module.exports.__wbg_iterator_2cee6dadfd956dfa = function() {
655
+ module.exports.__wbg_iterator_888179a48810a9fe = function() {
672
656
  const ret = Symbol.iterator;
673
657
  return addHeapObject(ret);
674
658
  };
675
659
 
676
- module.exports.__wbg_get_e3c254076557e348 = function() { return handleError(function (arg0, arg1) {
660
+ module.exports.__wbg_get_224d16597dbbfd96 = function() { return handleError(function (arg0, arg1) {
677
661
  const ret = Reflect.get(getObject(arg0), getObject(arg1));
678
662
  return addHeapObject(ret);
679
663
  }, arguments) };
680
664
 
681
- module.exports.__wbg_call_27c0f87801dedf93 = function() { return handleError(function (arg0, arg1) {
665
+ module.exports.__wbg_call_1084a111329e68ce = function() { return handleError(function (arg0, arg1) {
682
666
  const ret = getObject(arg0).call(getObject(arg1));
683
667
  return addHeapObject(ret);
684
668
  }, arguments) };
685
669
 
686
- module.exports.__wbg_new_72fb9a18b5ae2624 = function() {
670
+ module.exports.__wbg_new_525245e2b9901204 = function() {
687
671
  const ret = new Object();
688
672
  return addHeapObject(ret);
689
673
  };
690
674
 
691
- module.exports.__wbg_set_d4638f722068f043 = function(arg0, arg1, arg2) {
675
+ module.exports.__wbg_set_673dda6c73d19609 = function(arg0, arg1, arg2) {
692
676
  getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
693
677
  };
694
678
 
695
- module.exports.__wbg_isArray_2ab64d95e09ea0ae = function(arg0) {
679
+ module.exports.__wbg_isArray_8364a5371e9737d8 = function(arg0) {
696
680
  const ret = Array.isArray(getObject(arg0));
697
681
  return ret;
698
682
  };
699
683
 
700
- module.exports.__wbg_instanceof_ArrayBuffer_836825be07d4c9d2 = function(arg0) {
684
+ module.exports.__wbg_instanceof_ArrayBuffer_61dfc3198373c902 = function(arg0) {
701
685
  let result;
702
686
  try {
703
687
  result = getObject(arg0) instanceof ArrayBuffer;
@@ -708,12 +692,12 @@ module.exports.__wbg_instanceof_ArrayBuffer_836825be07d4c9d2 = function(arg0) {
708
692
  return ret;
709
693
  };
710
694
 
711
- module.exports.__wbg_new_28c511d9baebfa89 = function(arg0, arg1) {
695
+ module.exports.__wbg_new_796382978dfd4fb0 = function(arg0, arg1) {
712
696
  const ret = new Error(getStringFromWasm0(arg0, arg1));
713
697
  return addHeapObject(ret);
714
698
  };
715
699
 
716
- module.exports.__wbg_instanceof_Map_87917e0a7aaf4012 = function(arg0) {
700
+ module.exports.__wbg_instanceof_Map_763ce0e95960d55e = function(arg0) {
717
701
  let result;
718
702
  try {
719
703
  result = getObject(arg0) instanceof Map;
@@ -724,46 +708,46 @@ module.exports.__wbg_instanceof_Map_87917e0a7aaf4012 = function(arg0) {
724
708
  return ret;
725
709
  };
726
710
 
727
- module.exports.__wbg_set_8417257aaedc936b = function(arg0, arg1, arg2) {
711
+ module.exports.__wbg_set_49185437f0ab06f8 = function(arg0, arg1, arg2) {
728
712
  const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
729
713
  return addHeapObject(ret);
730
714
  };
731
715
 
732
- module.exports.__wbg_isSafeInteger_f7b04ef02296c4d2 = function(arg0) {
716
+ module.exports.__wbg_isSafeInteger_7f1ed56200d90674 = function(arg0) {
733
717
  const ret = Number.isSafeInteger(getObject(arg0));
734
718
  return ret;
735
719
  };
736
720
 
737
- module.exports.__wbg_entries_95cc2c823b285a09 = function(arg0) {
721
+ module.exports.__wbg_entries_7a0e06255456ebcd = function(arg0) {
738
722
  const ret = Object.entries(getObject(arg0));
739
723
  return addHeapObject(ret);
740
724
  };
741
725
 
742
- module.exports.__wbg_fromCodePoint_cedd7612a2ff688f = function() { return handleError(function (arg0) {
726
+ module.exports.__wbg_fromCodePoint_ae875c4ff5f6a86b = function() { return handleError(function (arg0) {
743
727
  const ret = String.fromCodePoint(arg0 >>> 0);
744
728
  return addHeapObject(ret);
745
729
  }, arguments) };
746
730
 
747
- module.exports.__wbg_buffer_12d079cc21e14bdb = function(arg0) {
731
+ module.exports.__wbg_buffer_b7b08af79b0b0974 = function(arg0) {
748
732
  const ret = getObject(arg0).buffer;
749
733
  return addHeapObject(ret);
750
734
  };
751
735
 
752
- module.exports.__wbg_new_63b92bc8671ed464 = function(arg0) {
736
+ module.exports.__wbg_new_ea1883e1e5e86686 = function(arg0) {
753
737
  const ret = new Uint8Array(getObject(arg0));
754
738
  return addHeapObject(ret);
755
739
  };
756
740
 
757
- module.exports.__wbg_set_a47bac70306a19a7 = function(arg0, arg1, arg2) {
741
+ module.exports.__wbg_set_d1e79e2388520f18 = function(arg0, arg1, arg2) {
758
742
  getObject(arg0).set(getObject(arg1), arg2 >>> 0);
759
743
  };
760
744
 
761
- module.exports.__wbg_length_c20a40f15020d68a = function(arg0) {
745
+ module.exports.__wbg_length_8339fcf5d8ecd12e = function(arg0) {
762
746
  const ret = getObject(arg0).length;
763
747
  return ret;
764
748
  };
765
749
 
766
- module.exports.__wbg_instanceof_Uint8Array_2b3bbecd033d19f6 = function(arg0) {
750
+ module.exports.__wbg_instanceof_Uint8Array_247a91427532499e = function(arg0) {
767
751
  let result;
768
752
  try {
769
753
  result = getObject(arg0) instanceof Uint8Array;
@@ -777,16 +761,16 @@ module.exports.__wbg_instanceof_Uint8Array_2b3bbecd033d19f6 = function(arg0) {
777
761
  module.exports.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
778
762
  const v = getObject(arg1);
779
763
  const ret = typeof(v) === 'bigint' ? v : undefined;
780
- getBigInt64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? BigInt(0) : ret;
781
- getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
764
+ getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
765
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
782
766
  };
783
767
 
784
768
  module.exports.__wbindgen_debug_string = function(arg0, arg1) {
785
769
  const ret = debugString(getObject(arg1));
786
770
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
787
771
  const len1 = WASM_VECTOR_LEN;
788
- getInt32Memory0()[arg0 / 4 + 1] = len1;
789
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
772
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
773
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
790
774
  };
791
775
 
792
776
  module.exports.__wbindgen_throw = function(arg0, arg1) {
package/ruff_wasm_bg.wasm CHANGED
Binary file