@astral-sh/ruff-wasm-bundler 0.14.13 → 0.15.0
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 +1 -1
- package/ruff_wasm.d.ts +1 -1
- package/ruff_wasm_bg.js +4 -5
- package/ruff_wasm_bg.wasm +0 -0
package/package.json
CHANGED
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_bg.js
CHANGED
|
@@ -185,11 +185,6 @@ function getArrayU8FromWasm0(ptr, len) {
|
|
|
185
185
|
ptr = ptr >>> 0;
|
|
186
186
|
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
187
187
|
}
|
|
188
|
-
|
|
189
|
-
export function run() {
|
|
190
|
-
wasm.run();
|
|
191
|
-
}
|
|
192
|
-
|
|
193
188
|
/**
|
|
194
189
|
* Initializes the logger with the given log level.
|
|
195
190
|
*
|
|
@@ -201,6 +196,10 @@ export function initLogging(level) {
|
|
|
201
196
|
wasm.initLogging(level);
|
|
202
197
|
}
|
|
203
198
|
|
|
199
|
+
export function run() {
|
|
200
|
+
wasm.run();
|
|
201
|
+
}
|
|
202
|
+
|
|
204
203
|
function takeFromExternrefTable0(idx) {
|
|
205
204
|
const value = wasm.__wbindgen_externrefs.get(idx);
|
|
206
205
|
wasm.__externref_table_dealloc(idx);
|
package/ruff_wasm_bg.wasm
CHANGED
|
Binary file
|