rumdl-wasm 0.0.189 → 0.0.191

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.189",
8
+ "version": "0.0.191",
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",
package/rumdl_lib.d.ts CHANGED
@@ -1,21 +1,21 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Get list of available rules as JSON
5
- *
6
- * Returns a JSON array of rule info objects, each with:
7
- * - `name`: Rule name (e.g., "MD001")
8
- * - `description`: Rule description
4
+ * Get the rumdl version
9
5
  */
10
- export function get_available_rules(): string;
6
+ export function get_version(): string;
11
7
  /**
12
8
  * Initialize the WASM module with better panic messages
13
9
  */
14
10
  export function init(): void;
15
11
  /**
16
- * Get the rumdl version
12
+ * Get list of available rules as JSON
13
+ *
14
+ * Returns a JSON array of rule info objects, each with:
15
+ * - `name`: Rule name (e.g., "MD001")
16
+ * - `description`: Rule description
17
17
  */
18
- export function get_version(): string;
18
+ export function get_available_rules(): string;
19
19
  /**
20
20
  * A markdown linter with configuration
21
21
  *
package/rumdl_lib.js CHANGED
@@ -204,19 +204,15 @@ function takeObject(idx) {
204
204
  return ret;
205
205
  }
206
206
  /**
207
- * Get list of available rules as JSON
208
- *
209
- * Returns a JSON array of rule info objects, each with:
210
- * - `name`: Rule name (e.g., "MD001")
211
- * - `description`: Rule description
207
+ * Get the rumdl version
212
208
  * @returns {string}
213
209
  */
214
- export function get_available_rules() {
210
+ export function get_version() {
215
211
  let deferred1_0;
216
212
  let deferred1_1;
217
213
  try {
218
214
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
219
- wasm.get_available_rules(retptr);
215
+ wasm.get_version(retptr);
220
216
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
221
217
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
222
218
  deferred1_0 = r0;
@@ -236,15 +232,19 @@ export function init() {
236
232
  }
237
233
 
238
234
  /**
239
- * Get the rumdl version
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
240
240
  * @returns {string}
241
241
  */
242
- export function get_version() {
242
+ export function get_available_rules() {
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_version(retptr);
247
+ wasm.get_available_rules(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