rumdl-wasm 0.0.215 → 0.0.216

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.0.215",
8
+ "version": "0.0.216",
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",
package/rumdl_lib.d.ts CHANGED
@@ -4,10 +4,6 @@
4
4
  * Initialize the WASM module with better panic messages
5
5
  */
6
6
  export function init(): void;
7
- /**
8
- * Get the rumdl version
9
- */
10
- export function get_version(): string;
11
7
  /**
12
8
  * Get list of available rules as JSON
13
9
  *
@@ -16,6 +12,10 @@ export function get_version(): string;
16
12
  * - `description`: Rule description
17
13
  */
18
14
  export function get_available_rules(): string;
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
@@ -211,15 +211,19 @@ export function init() {
211
211
  }
212
212
 
213
213
  /**
214
- * Get the rumdl version
214
+ * Get list of available rules as JSON
215
+ *
216
+ * Returns a JSON array of rule info objects, each with:
217
+ * - `name`: Rule name (e.g., "MD001")
218
+ * - `description`: Rule description
215
219
  * @returns {string}
216
220
  */
217
- export function get_version() {
221
+ export function get_available_rules() {
218
222
  let deferred1_0;
219
223
  let deferred1_1;
220
224
  try {
221
225
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
222
- wasm.get_version(retptr);
226
+ wasm.get_available_rules(retptr);
223
227
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
224
228
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
225
229
  deferred1_0 = r0;
@@ -232,19 +236,15 @@ export function get_version() {
232
236
  }
233
237
 
234
238
  /**
235
- * Get list of available rules as JSON
236
- *
237
- * Returns a JSON array of rule info objects, each with:
238
- * - `name`: Rule name (e.g., "MD001")
239
- * - `description`: Rule description
239
+ * Get the rumdl version
240
240
  * @returns {string}
241
241
  */
242
- export function get_available_rules() {
242
+ export function get_version() {
243
243
  let deferred1_0;
244
244
  let deferred1_1;
245
245
  try {
246
246
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
247
- wasm.get_available_rules(retptr);
247
+ wasm.get_version(retptr);
248
248
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
249
249
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
250
250
  deferred1_0 = r0;
package/rumdl_lib_bg.wasm CHANGED
Binary file