@sebastienrousseau/noyalib-wasm 0.0.52 → 0.0.54
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/README.md +2 -2
- package/noyalib_wasm_bg.js +41 -41
- package/noyalib_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
### As a JavaScript library
|
|
59
59
|
|
|
60
60
|
```bash
|
|
61
|
-
npm install @sebastienrousseau/noyalib-wasm@0.0.
|
|
61
|
+
npm install @sebastienrousseau/noyalib-wasm@0.0.54
|
|
62
62
|
```
|
|
63
63
|
|
|
64
64
|
`pnpm add` and `yarn add` work with the same package. To build from source:
|
|
@@ -71,7 +71,7 @@ wasm-pack build --release --target bundler
|
|
|
71
71
|
|
|
72
72
|
- Rust **1.86.0 or newer** and `wasm-pack` when building from source.
|
|
73
73
|
- A WebAssembly-capable browser, Node.js, Deno, Bun, or edge runtime.
|
|
74
|
-
- The crate pins `noyalib` at exactly `=0.0.
|
|
74
|
+
- The crate pins `noyalib` at exactly `=0.0.54` under the lockstep contract.
|
|
75
75
|
|
|
76
76
|
| Surface | Minimum | Enforcement |
|
|
77
77
|
| :--- | :---: | :--- |
|
package/noyalib_wasm_bg.js
CHANGED
|
@@ -285,7 +285,7 @@ export function validateJson(yaml) {
|
|
|
285
285
|
}
|
|
286
286
|
return ret[0] !== 0;
|
|
287
287
|
}
|
|
288
|
-
export function
|
|
288
|
+
export function __wbg_Error_30c8987f7c2ed4e2(arg0, arg1) {
|
|
289
289
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
290
290
|
return ret;
|
|
291
291
|
}
|
|
@@ -296,60 +296,60 @@ export function __wbg_String_8564e559799eccda(arg0, arg1) {
|
|
|
296
296
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
297
297
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
298
298
|
}
|
|
299
|
-
export function
|
|
299
|
+
export function __wbg___wbindgen_bigint_get_as_i64_a2383202b9353e4c(arg0, arg1) {
|
|
300
300
|
const v = arg1;
|
|
301
301
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
302
302
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
303
303
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
304
304
|
}
|
|
305
|
-
export function
|
|
305
|
+
export function __wbg___wbindgen_boolean_get_5b446f51afd21013(arg0) {
|
|
306
306
|
const v = arg0;
|
|
307
307
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
308
308
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
309
309
|
}
|
|
310
|
-
export function
|
|
310
|
+
export function __wbg___wbindgen_debug_string_4687d8d8c2017d52(arg0, arg1) {
|
|
311
311
|
const ret = debugString(arg1);
|
|
312
312
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
313
313
|
const len1 = WASM_VECTOR_LEN;
|
|
314
314
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
315
315
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
316
316
|
}
|
|
317
|
-
export function
|
|
317
|
+
export function __wbg___wbindgen_in_92f62ee1427d9e49(arg0, arg1) {
|
|
318
318
|
const ret = arg0 in arg1;
|
|
319
319
|
return ret;
|
|
320
320
|
}
|
|
321
|
-
export function
|
|
321
|
+
export function __wbg___wbindgen_is_bigint_b123553bed3bb382(arg0) {
|
|
322
322
|
const ret = typeof(arg0) === 'bigint';
|
|
323
323
|
return ret;
|
|
324
324
|
}
|
|
325
|
-
export function
|
|
325
|
+
export function __wbg___wbindgen_is_function_1f9d30630b8b1d3d(arg0) {
|
|
326
326
|
const ret = typeof(arg0) === 'function';
|
|
327
327
|
return ret;
|
|
328
328
|
}
|
|
329
|
-
export function
|
|
329
|
+
export function __wbg___wbindgen_is_object_3c45d4f2dde4e749(arg0) {
|
|
330
330
|
const val = arg0;
|
|
331
331
|
const ret = typeof(val) === 'object' && val !== null;
|
|
332
332
|
return ret;
|
|
333
333
|
}
|
|
334
|
-
export function
|
|
334
|
+
export function __wbg___wbindgen_is_string_90b56bc79aad6f6c(arg0) {
|
|
335
335
|
const ret = typeof(arg0) === 'string';
|
|
336
336
|
return ret;
|
|
337
337
|
}
|
|
338
|
-
export function
|
|
338
|
+
export function __wbg___wbindgen_jsval_eq_02babf21faa37971(arg0, arg1) {
|
|
339
339
|
const ret = arg0 === arg1;
|
|
340
340
|
return ret;
|
|
341
341
|
}
|
|
342
|
-
export function
|
|
342
|
+
export function __wbg___wbindgen_jsval_loose_eq_677f21e468d6b461(arg0, arg1) {
|
|
343
343
|
const ret = arg0 == arg1;
|
|
344
344
|
return ret;
|
|
345
345
|
}
|
|
346
|
-
export function
|
|
346
|
+
export function __wbg___wbindgen_number_get_2e0e7dee9f701a71(arg0, arg1) {
|
|
347
347
|
const obj = arg1;
|
|
348
348
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
349
349
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
350
350
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
351
351
|
}
|
|
352
|
-
export function
|
|
352
|
+
export function __wbg___wbindgen_string_get_0380ccaa2f57f0d9(arg0, arg1) {
|
|
353
353
|
const obj = arg1;
|
|
354
354
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
355
355
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -357,34 +357,34 @@ export function __wbg___wbindgen_string_get_92ab86bb19cbc12f(arg0, arg1) {
|
|
|
357
357
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
358
358
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
359
359
|
}
|
|
360
|
-
export function
|
|
360
|
+
export function __wbg___wbindgen_throw_41e9ee4f547fc59a(arg0, arg1) {
|
|
361
361
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
362
362
|
}
|
|
363
|
-
export function
|
|
363
|
+
export function __wbg_call_6137034ef55c9d0f() { return handleError(function (arg0, arg1) {
|
|
364
364
|
const ret = arg0.call(arg1);
|
|
365
365
|
return ret;
|
|
366
366
|
}, arguments); }
|
|
367
|
-
export function
|
|
367
|
+
export function __wbg_done_b41a1d26cdb37fb6(arg0) {
|
|
368
368
|
const ret = arg0.done;
|
|
369
369
|
return ret;
|
|
370
370
|
}
|
|
371
|
-
export function
|
|
371
|
+
export function __wbg_entries_fb6397112b1de25f(arg0) {
|
|
372
372
|
const ret = Object.entries(arg0);
|
|
373
373
|
return ret;
|
|
374
374
|
}
|
|
375
|
-
export function
|
|
375
|
+
export function __wbg_get_658f6698067d9515() { return handleError(function (arg0, arg1) {
|
|
376
376
|
const ret = Reflect.get(arg0, arg1);
|
|
377
377
|
return ret;
|
|
378
378
|
}, arguments); }
|
|
379
|
-
export function
|
|
379
|
+
export function __wbg_get_6c896e0571ddae51(arg0, arg1) {
|
|
380
380
|
const ret = arg0[arg1 >>> 0];
|
|
381
381
|
return ret;
|
|
382
382
|
}
|
|
383
|
-
export function
|
|
383
|
+
export function __wbg_get_unchecked_288889d017702237(arg0, arg1) {
|
|
384
384
|
const ret = arg0[arg1 >>> 0];
|
|
385
385
|
return ret;
|
|
386
386
|
}
|
|
387
|
-
export function
|
|
387
|
+
export function __wbg_instanceof_ArrayBuffer_a99f175873e5d9b8(arg0) {
|
|
388
388
|
let result;
|
|
389
389
|
try {
|
|
390
390
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -394,7 +394,7 @@ export function __wbg_instanceof_ArrayBuffer_d4ff01f8247925ae(arg0) {
|
|
|
394
394
|
const ret = result;
|
|
395
395
|
return ret;
|
|
396
396
|
}
|
|
397
|
-
export function
|
|
397
|
+
export function __wbg_instanceof_Map_b2611749102d7ba3(arg0) {
|
|
398
398
|
let result;
|
|
399
399
|
try {
|
|
400
400
|
result = arg0 instanceof Map;
|
|
@@ -404,7 +404,7 @@ export function __wbg_instanceof_Map_1ff6a2b54c899f0d(arg0) {
|
|
|
404
404
|
const ret = result;
|
|
405
405
|
return ret;
|
|
406
406
|
}
|
|
407
|
-
export function
|
|
407
|
+
export function __wbg_instanceof_Uint8Array_828cef2aaacafc31(arg0) {
|
|
408
408
|
let result;
|
|
409
409
|
try {
|
|
410
410
|
result = arg0 instanceof Uint8Array;
|
|
@@ -414,64 +414,64 @@ export function __wbg_instanceof_Uint8Array_598adc0fef426aa8(arg0) {
|
|
|
414
414
|
const ret = result;
|
|
415
415
|
return ret;
|
|
416
416
|
}
|
|
417
|
-
export function
|
|
417
|
+
export function __wbg_isArray_e15a2ff68ffdbef2(arg0) {
|
|
418
418
|
const ret = Array.isArray(arg0);
|
|
419
419
|
return ret;
|
|
420
420
|
}
|
|
421
|
-
export function
|
|
421
|
+
export function __wbg_isSafeInteger_717808ad6a54bd9e(arg0) {
|
|
422
422
|
const ret = Number.isSafeInteger(arg0);
|
|
423
423
|
return ret;
|
|
424
424
|
}
|
|
425
|
-
export function
|
|
425
|
+
export function __wbg_iterator_e3c31c892080e444() {
|
|
426
426
|
const ret = Symbol.iterator;
|
|
427
427
|
return ret;
|
|
428
428
|
}
|
|
429
|
-
export function
|
|
429
|
+
export function __wbg_length_7f3c00c40364105e(arg0) {
|
|
430
430
|
const ret = arg0.length;
|
|
431
431
|
return ret;
|
|
432
432
|
}
|
|
433
|
-
export function
|
|
433
|
+
export function __wbg_length_d4bdea10311bd9cf(arg0) {
|
|
434
434
|
const ret = arg0.length;
|
|
435
435
|
return ret;
|
|
436
436
|
}
|
|
437
|
-
export function
|
|
437
|
+
export function __wbg_new_1dbf7428bba60a42(arg0) {
|
|
438
438
|
const ret = new Uint8Array(arg0);
|
|
439
439
|
return ret;
|
|
440
440
|
}
|
|
441
|
-
export function
|
|
441
|
+
export function __wbg_new_28744009d011f847() {
|
|
442
442
|
const ret = new Map();
|
|
443
443
|
return ret;
|
|
444
444
|
}
|
|
445
|
-
export function
|
|
445
|
+
export function __wbg_new_617a8cdb8bb1130e() {
|
|
446
446
|
const ret = new Object();
|
|
447
447
|
return ret;
|
|
448
448
|
}
|
|
449
|
-
export function
|
|
449
|
+
export function __wbg_new_ee2291f50781bf1d() {
|
|
450
450
|
const ret = new Array();
|
|
451
451
|
return ret;
|
|
452
452
|
}
|
|
453
|
-
export function
|
|
453
|
+
export function __wbg_next_33784799010f1bbe(arg0) {
|
|
454
454
|
const ret = arg0.next;
|
|
455
455
|
return ret;
|
|
456
456
|
}
|
|
457
|
-
export function
|
|
457
|
+
export function __wbg_next_f4aac29c42af995c() { return handleError(function (arg0) {
|
|
458
458
|
const ret = arg0.next();
|
|
459
459
|
return ret;
|
|
460
460
|
}, arguments); }
|
|
461
|
-
export function
|
|
461
|
+
export function __wbg_prototypesetcall_bc27214492979395(arg0, arg1, arg2) {
|
|
462
462
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
463
463
|
}
|
|
464
|
-
export function
|
|
465
|
-
|
|
464
|
+
export function __wbg_set_6ae97e73113c4f0b(arg0, arg1, arg2) {
|
|
465
|
+
const ret = arg0.set(arg1, arg2);
|
|
466
|
+
return ret;
|
|
466
467
|
}
|
|
467
468
|
export function __wbg_set_6be42768c690e380(arg0, arg1, arg2) {
|
|
468
469
|
arg0[arg1] = arg2;
|
|
469
470
|
}
|
|
470
|
-
export function
|
|
471
|
-
|
|
472
|
-
return ret;
|
|
471
|
+
export function __wbg_set_bea140a88be9b277(arg0, arg1, arg2) {
|
|
472
|
+
arg0[arg1 >>> 0] = arg2;
|
|
473
473
|
}
|
|
474
|
-
export function
|
|
474
|
+
export function __wbg_value_f3c585ee8f5ba40c(arg0) {
|
|
475
475
|
const ret = arg0.value;
|
|
476
476
|
return ret;
|
|
477
477
|
}
|
package/noyalib_wasm_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"Sebastien Rousseau <sebastian.rousseau@gmail.com>"
|
|
6
6
|
],
|
|
7
7
|
"description": "WebAssembly (wasm-bindgen) bindings for the noyalib YAML library — browser-ready parse / serialise / lossless edit",
|
|
8
|
-
"version": "0.0.
|
|
8
|
+
"version": "0.0.54",
|
|
9
9
|
"license": "MIT OR Apache-2.0",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|