@astral-sh/ruff-wasm-web 0.9.2 → 0.9.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.
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "Charlie Marsh <charlie.r.marsh@gmail.com>"
6
6
  ],
7
7
  "description": "WebAssembly bindings for Ruff",
8
- "version": "0.9.2",
8
+ "version": "0.9.4",
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",
package/ruff_wasm.d.ts CHANGED
@@ -27,7 +27,7 @@ export interface Diagnostic {
27
27
  };
28
28
  }[];
29
29
  } | null;
30
- };
30
+ }
31
31
 
32
32
 
33
33
  export class Workspace {
package/ruff_wasm.js CHANGED
@@ -408,30 +408,30 @@ function __wbg_get_imports() {
408
408
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
409
409
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
410
410
  };
411
- imports.wbg.__wbg_buffer_6e1d53ff183194fc = function(arg0) {
411
+ imports.wbg.__wbg_buffer_609cc3eee51ed158 = function(arg0) {
412
412
  const ret = arg0.buffer;
413
413
  return ret;
414
414
  };
415
- imports.wbg.__wbg_call_3114932863209ca6 = function() { return handleError(function (arg0, arg1) {
415
+ imports.wbg.__wbg_call_672a4d21634d4a24 = function() { return handleError(function (arg0, arg1) {
416
416
  const ret = arg0.call(arg1);
417
417
  return ret;
418
418
  }, arguments) };
419
- imports.wbg.__wbg_codePointAt_c423330931704e82 = function(arg0, arg1) {
419
+ imports.wbg.__wbg_codePointAt_78181f32881e5b59 = function(arg0, arg1) {
420
420
  const ret = arg0.codePointAt(arg1 >>> 0);
421
421
  return ret;
422
422
  };
423
- imports.wbg.__wbg_debug_347b3d1f33e1c28e = function(arg0) {
423
+ imports.wbg.__wbg_debug_3cb59063b29f58c1 = function(arg0) {
424
424
  console.debug(arg0);
425
425
  };
426
- imports.wbg.__wbg_done_adfd3f40364def50 = function(arg0) {
426
+ imports.wbg.__wbg_done_769e5ede4b31c67b = function(arg0) {
427
427
  const ret = arg0.done;
428
428
  return ret;
429
429
  };
430
- imports.wbg.__wbg_entries_ce82e236f8300a53 = function(arg0) {
430
+ imports.wbg.__wbg_entries_3265d4158b33e5dc = function(arg0) {
431
431
  const ret = Object.entries(arg0);
432
432
  return ret;
433
433
  };
434
- imports.wbg.__wbg_error_2a6b93fdada7ff11 = function(arg0) {
434
+ imports.wbg.__wbg_error_524f506f44df1645 = function(arg0) {
435
435
  console.error(arg0);
436
436
  };
437
437
  imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
@@ -445,26 +445,26 @@ function __wbg_get_imports() {
445
445
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
446
446
  }
447
447
  };
448
- imports.wbg.__wbg_fromCodePoint_12f8bccbf527a957 = function() { return handleError(function (arg0) {
448
+ imports.wbg.__wbg_fromCodePoint_f37c25c172f2e8b5 = function() { return handleError(function (arg0) {
449
449
  const ret = String.fromCodePoint(arg0 >>> 0);
450
450
  return ret;
451
451
  }, arguments) };
452
- imports.wbg.__wbg_get_68aa371864aa301a = function(arg0, arg1) {
453
- const ret = arg0[arg1 >>> 0];
454
- return ret;
455
- };
456
- imports.wbg.__wbg_get_92a4780a3beb5fe9 = function() { return handleError(function (arg0, arg1) {
452
+ imports.wbg.__wbg_get_67b2ba62fc30de12 = function() { return handleError(function (arg0, arg1) {
457
453
  const ret = Reflect.get(arg0, arg1);
458
454
  return ret;
459
455
  }, arguments) };
456
+ imports.wbg.__wbg_get_b9b93047fe3cf45b = function(arg0, arg1) {
457
+ const ret = arg0[arg1 >>> 0];
458
+ return ret;
459
+ };
460
460
  imports.wbg.__wbg_getwithrefkey_1dc361bd10053bfe = function(arg0, arg1) {
461
461
  const ret = arg0[arg1];
462
462
  return ret;
463
463
  };
464
- imports.wbg.__wbg_info_b6bd3cb6471c2b4c = function(arg0) {
464
+ imports.wbg.__wbg_info_3daf2e093e091b66 = function(arg0) {
465
465
  console.info(arg0);
466
466
  };
467
- imports.wbg.__wbg_instanceof_ArrayBuffer_435fcead703e2827 = function(arg0) {
467
+ imports.wbg.__wbg_instanceof_ArrayBuffer_e14585432e3737fc = function(arg0) {
468
468
  let result;
469
469
  try {
470
470
  result = arg0 instanceof ArrayBuffer;
@@ -474,7 +474,7 @@ function __wbg_get_imports() {
474
474
  const ret = result;
475
475
  return ret;
476
476
  };
477
- imports.wbg.__wbg_instanceof_Map_77fd223783fe0068 = function(arg0) {
477
+ imports.wbg.__wbg_instanceof_Map_f3469ce2244d2430 = function(arg0) {
478
478
  let result;
479
479
  try {
480
480
  result = arg0 instanceof Map;
@@ -484,7 +484,7 @@ function __wbg_get_imports() {
484
484
  const ret = result;
485
485
  return ret;
486
486
  };
487
- imports.wbg.__wbg_instanceof_Uint8Array_9b67296cab48238f = function(arg0) {
487
+ imports.wbg.__wbg_instanceof_Uint8Array_17156bcf118086a9 = function(arg0) {
488
488
  let result;
489
489
  try {
490
490
  result = arg0 instanceof Uint8Array;
@@ -494,77 +494,77 @@ function __wbg_get_imports() {
494
494
  const ret = result;
495
495
  return ret;
496
496
  };
497
- imports.wbg.__wbg_isArray_fcd559a3bcfde1e9 = function(arg0) {
497
+ imports.wbg.__wbg_isArray_a1eab7e0d067391b = function(arg0) {
498
498
  const ret = Array.isArray(arg0);
499
499
  return ret;
500
500
  };
501
- imports.wbg.__wbg_isSafeInteger_4de146aa53f6e470 = function(arg0) {
501
+ imports.wbg.__wbg_isSafeInteger_343e2beeeece1bb0 = function(arg0) {
502
502
  const ret = Number.isSafeInteger(arg0);
503
503
  return ret;
504
504
  };
505
- imports.wbg.__wbg_iterator_7a20c20ce22add0f = function() {
505
+ imports.wbg.__wbg_iterator_9a24c88df860dc65 = function() {
506
506
  const ret = Symbol.iterator;
507
507
  return ret;
508
508
  };
509
- imports.wbg.__wbg_length_1bf135cd2bac85bb = function(arg0) {
509
+ imports.wbg.__wbg_length_a446193dc22c12f8 = function(arg0) {
510
510
  const ret = arg0.length;
511
511
  return ret;
512
512
  };
513
- imports.wbg.__wbg_length_2e63ba34c4121df5 = function(arg0) {
513
+ imports.wbg.__wbg_length_d56737991078581b = function(arg0) {
514
514
  const ret = arg0.length;
515
515
  return ret;
516
516
  };
517
- imports.wbg.__wbg_length_e74df4881604f1d9 = function(arg0) {
517
+ imports.wbg.__wbg_length_e2d2a49132c1b256 = function(arg0) {
518
518
  const ret = arg0.length;
519
519
  return ret;
520
520
  };
521
- imports.wbg.__wbg_log_d818ca3cab23fc77 = function(arg0) {
521
+ imports.wbg.__wbg_log_c222819a41e063d3 = function(arg0) {
522
522
  console.log(arg0);
523
523
  };
524
- imports.wbg.__wbg_new_076cac58bb698dd4 = function() {
524
+ imports.wbg.__wbg_new_405e22f390576ce2 = function() {
525
525
  const ret = new Object();
526
526
  return ret;
527
527
  };
528
- imports.wbg.__wbg_new_0c28e72025e00594 = function() {
528
+ imports.wbg.__wbg_new_5e0be73521bc8c17 = function() {
529
+ const ret = new Map();
530
+ return ret;
531
+ };
532
+ imports.wbg.__wbg_new_78feb108b6472713 = function() {
529
533
  const ret = new Array();
530
534
  return ret;
531
535
  };
532
- imports.wbg.__wbg_new_23362fa370a0a372 = function(arg0) {
533
- const ret = new Uint8Array(arg0);
536
+ imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
537
+ const ret = new Error();
534
538
  return ret;
535
539
  };
536
- imports.wbg.__wbg_new_3f616ed16821b4c5 = function() {
537
- const ret = new Map();
540
+ imports.wbg.__wbg_new_a12002a7f91c75be = function(arg0) {
541
+ const ret = new Uint8Array(arg0);
538
542
  return ret;
539
543
  };
540
- imports.wbg.__wbg_new_4d81617a04bc1b5b = function(arg0, arg1) {
544
+ imports.wbg.__wbg_new_c68d7209be747379 = function(arg0, arg1) {
541
545
  const ret = new Error(getStringFromWasm0(arg0, arg1));
542
546
  return ret;
543
547
  };
544
- imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
545
- const ret = new Error();
548
+ imports.wbg.__wbg_next_25feadfc0913fea9 = function(arg0) {
549
+ const ret = arg0.next;
546
550
  return ret;
547
551
  };
548
- imports.wbg.__wbg_next_c591766a7286b02a = function() { return handleError(function (arg0) {
552
+ imports.wbg.__wbg_next_6574e1a8a62d1055 = function() { return handleError(function (arg0) {
549
553
  const ret = arg0.next();
550
554
  return ret;
551
555
  }, arguments) };
552
- imports.wbg.__wbg_next_f387ecc56a94ba00 = function(arg0) {
553
- const ret = arg0.next;
554
- return ret;
555
- };
556
- imports.wbg.__wbg_set_1d975b42d95fd6c6 = function(arg0, arg1, arg2) {
557
- const ret = arg0.set(arg1, arg2);
558
- return ret;
556
+ imports.wbg.__wbg_set_37837023f3d740e8 = function(arg0, arg1, arg2) {
557
+ arg0[arg1 >>> 0] = arg2;
559
558
  };
560
559
  imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
561
560
  arg0[arg1] = arg2;
562
561
  };
563
- imports.wbg.__wbg_set_7b70226104a82921 = function(arg0, arg1, arg2) {
562
+ imports.wbg.__wbg_set_65595bdd868b3009 = function(arg0, arg1, arg2) {
564
563
  arg0.set(arg1, arg2 >>> 0);
565
564
  };
566
- imports.wbg.__wbg_set_a1fb6291729caffb = function(arg0, arg1, arg2) {
567
- arg0[arg1 >>> 0] = arg2;
565
+ imports.wbg.__wbg_set_8fc6bf8a5b1071d1 = function(arg0, arg1, arg2) {
566
+ const ret = arg0.set(arg1, arg2);
567
+ return ret;
568
568
  };
569
569
  imports.wbg.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
570
570
  const ret = arg1.stack;
@@ -573,11 +573,11 @@ function __wbg_get_imports() {
573
573
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
574
574
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
575
575
  };
576
- imports.wbg.__wbg_value_30db1d77772f3236 = function(arg0) {
576
+ imports.wbg.__wbg_value_cd1ffa7b1ab794f1 = function(arg0) {
577
577
  const ret = arg0.value;
578
578
  return ret;
579
579
  };
580
- imports.wbg.__wbg_warn_a6963915e4da61f6 = function(arg0) {
580
+ imports.wbg.__wbg_warn_4ca3906c248c47c4 = function(arg0) {
581
581
  console.warn(arg0);
582
582
  };
583
583
  imports.wbg.__wbindgen_as_number = function(arg0) {
package/ruff_wasm_bg.wasm CHANGED
Binary file