rumdl-wasm 0.0.199 → 0.0.200
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/rumdl_lib.d.ts +4 -4
- package/rumdl_lib.js +7 -7
- package/rumdl_lib_bg.wasm +0 -0
package/package.json
CHANGED
package/rumdl_lib.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Initialize the WASM module with better panic messages
|
|
5
|
+
*/
|
|
6
|
+
export function init(): void;
|
|
3
7
|
/**
|
|
4
8
|
* Get the rumdl version
|
|
5
9
|
*/
|
|
@@ -12,10 +16,6 @@ export function get_version(): string;
|
|
|
12
16
|
* - `description`: Rule description
|
|
13
17
|
*/
|
|
14
18
|
export function get_available_rules(): string;
|
|
15
|
-
/**
|
|
16
|
-
* Initialize the WASM module with better panic messages
|
|
17
|
-
*/
|
|
18
|
-
export function init(): void;
|
|
19
19
|
/**
|
|
20
20
|
* A markdown linter with configuration
|
|
21
21
|
*
|
package/rumdl_lib.js
CHANGED
|
@@ -203,6 +203,13 @@ function takeObject(idx) {
|
|
|
203
203
|
dropObject(idx);
|
|
204
204
|
return ret;
|
|
205
205
|
}
|
|
206
|
+
/**
|
|
207
|
+
* Initialize the WASM module with better panic messages
|
|
208
|
+
*/
|
|
209
|
+
export function init() {
|
|
210
|
+
wasm.init();
|
|
211
|
+
}
|
|
212
|
+
|
|
206
213
|
/**
|
|
207
214
|
* Get the rumdl version
|
|
208
215
|
* @returns {string}
|
|
@@ -249,13 +256,6 @@ export function get_available_rules() {
|
|
|
249
256
|
}
|
|
250
257
|
}
|
|
251
258
|
|
|
252
|
-
/**
|
|
253
|
-
* Initialize the WASM module with better panic messages
|
|
254
|
-
*/
|
|
255
|
-
export function init() {
|
|
256
|
-
wasm.init();
|
|
257
|
-
}
|
|
258
|
-
|
|
259
259
|
const LinterFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
260
260
|
? { register: () => {}, unregister: () => {} }
|
|
261
261
|
: new FinalizationRegistry(ptr => wasm.__wbg_linter_free(ptr >>> 0, 1));
|
package/rumdl_lib_bg.wasm
CHANGED
|
Binary file
|