@astral-sh/ruff-wasm-web 0.14.13 → 0.14.14

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.14.13",
8
+ "version": "0.14.14",
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",
package/ruff_wasm.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- export function run(): void;
4
3
  /**
5
4
  * Initializes the logger with the given log level.
6
5
  *
@@ -8,6 +7,7 @@ export function run(): void;
8
7
  * If this function is called more than once.
9
8
  */
10
9
  export function initLogging(level: LogLevel): void;
10
+ export function run(): void;
11
11
  export enum LogLevel {
12
12
  Trace = 0,
13
13
  Debug = 1,
package/ruff_wasm.js CHANGED
@@ -181,11 +181,6 @@ function getArrayU8FromWasm0(ptr, len) {
181
181
  ptr = ptr >>> 0;
182
182
  return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
183
183
  }
184
-
185
- export function run() {
186
- wasm.run();
187
- }
188
-
189
184
  /**
190
185
  * Initializes the logger with the given log level.
191
186
  *
@@ -197,6 +192,10 @@ export function initLogging(level) {
197
192
  wasm.initLogging(level);
198
193
  }
199
194
 
195
+ export function run() {
196
+ wasm.run();
197
+ }
198
+
200
199
  function takeFromExternrefTable0(idx) {
201
200
  const value = wasm.__wbindgen_externrefs.get(idx);
202
201
  wasm.__externref_table_dealloc(idx);
package/ruff_wasm_bg.wasm CHANGED
Binary file