@astral-sh/ruff-wasm-nodejs 0.15.0 → 0.15.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/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.15.0",
7
+ "version": "0.15.2",
8
8
  "license": "MIT",
9
9
  "repository": {
10
10
  "type": "git",
package/ruff_wasm.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
+ export function run(): void;
3
4
  /**
4
5
  * Initializes the logger with the given log level.
5
6
  *
@@ -7,7 +8,6 @@
7
8
  * If this function is called more than once.
8
9
  */
9
10
  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
@@ -175,6 +175,11 @@ function getArrayU8FromWasm0(ptr, len) {
175
175
  ptr = ptr >>> 0;
176
176
  return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
177
177
  }
178
+
179
+ exports.run = function() {
180
+ wasm.run();
181
+ };
182
+
178
183
  /**
179
184
  * Initializes the logger with the given log level.
180
185
  *
@@ -186,10 +191,6 @@ exports.initLogging = function(level) {
186
191
  wasm.initLogging(level);
187
192
  };
188
193
 
189
- exports.run = function() {
190
- wasm.run();
191
- };
192
-
193
194
  function takeFromExternrefTable0(idx) {
194
195
  const value = wasm.__wbindgen_externrefs.get(idx);
195
196
  wasm.__externref_table_dealloc(idx);
package/ruff_wasm_bg.wasm CHANGED
Binary file