rumdl-wasm 0.1.28 → 0.1.30

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
  "Ruben J. Jongejan <ruben.jongejan@gmail.com>"
6
6
  ],
7
7
  "description": "Fast markdown linter with 60+ rules - WebAssembly build",
8
- "version": "0.1.28",
8
+ "version": "0.1.30",
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",
package/rumdl_lib.d.ts CHANGED
@@ -8,14 +8,14 @@
8
8
  * - `description`: Rule description
9
9
  */
10
10
  export function get_available_rules(): string;
11
- /**
12
- * Get the rumdl version
13
- */
14
- export function get_version(): string;
15
11
  /**
16
12
  * Initialize the WASM module with better panic messages
17
13
  */
18
14
  export function init(): void;
15
+ /**
16
+ * Get the rumdl version
17
+ */
18
+ export function get_version(): string;
19
19
  /**
20
20
  * A markdown linter with configuration
21
21
  *
package/rumdl_lib.js CHANGED
@@ -228,6 +228,13 @@ export function get_available_rules() {
228
228
  }
229
229
  }
230
230
 
231
+ /**
232
+ * Initialize the WASM module with better panic messages
233
+ */
234
+ export function init() {
235
+ wasm.init();
236
+ }
237
+
231
238
  /**
232
239
  * Get the rumdl version
233
240
  * @returns {string}
@@ -249,13 +256,6 @@ export function get_version() {
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