@sebastienrousseau/noyalib-wasm 0.0.53 → 0.0.55
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 +33 -0
- 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.55
|
|
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.55` under the lockstep contract.
|
|
75
75
|
|
|
76
76
|
| Surface | Minimum | Enforcement |
|
|
77
77
|
| :--- | :---: | :--- |
|
package/noyalib_wasm_bg.js
CHANGED
|
@@ -289,6 +289,10 @@ export function __wbg_Error_30c8987f7c2ed4e2(arg0, arg1) {
|
|
|
289
289
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
290
290
|
return ret;
|
|
291
291
|
}
|
|
292
|
+
export function __wbg_Number_14af1003b8dd5ead(arg0) {
|
|
293
|
+
const ret = Number(arg0);
|
|
294
|
+
return ret;
|
|
295
|
+
}
|
|
292
296
|
export function __wbg_String_8564e559799eccda(arg0, arg1) {
|
|
293
297
|
const ret = String(arg1);
|
|
294
298
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -372,6 +376,27 @@ export function __wbg_entries_fb6397112b1de25f(arg0) {
|
|
|
372
376
|
const ret = Object.entries(arg0);
|
|
373
377
|
return ret;
|
|
374
378
|
}
|
|
379
|
+
export function __wbg_forEach_7ad975c8e42636ed(arg0, arg1, arg2) {
|
|
380
|
+
try {
|
|
381
|
+
var state0 = {a: arg1, b: arg2};
|
|
382
|
+
var cb0 = (arg0, arg1) => {
|
|
383
|
+
const a = state0.a;
|
|
384
|
+
state0.a = 0;
|
|
385
|
+
try {
|
|
386
|
+
return wasm_bindgen_36f319cbb35a5907___convert__closures_____invoke___js_sys_7f3ecdb60bb74b68___Function_fn_wasm_bindgen_36f319cbb35a5907___JsValue_____wasm_bindgen_36f319cbb35a5907___sys__Undefined___js_sys_7f3ecdb60bb74b68___Function_fn_wasm_bindgen_36f319cbb35a5907___JsValue_____wasm_bindgen_36f319cbb35a5907___sys__Undefined_______true_(a, state0.b, arg0, arg1);
|
|
387
|
+
} finally {
|
|
388
|
+
state0.a = a;
|
|
389
|
+
}
|
|
390
|
+
};
|
|
391
|
+
arg0.forEach(cb0);
|
|
392
|
+
} finally {
|
|
393
|
+
state0.a = 0;
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
export function __wbg_from_296ca31f8d0f1c52(arg0) {
|
|
397
|
+
const ret = Array.from(arg0);
|
|
398
|
+
return ret;
|
|
399
|
+
}
|
|
375
400
|
export function __wbg_get_658f6698067d9515() { return handleError(function (arg0, arg1) {
|
|
376
401
|
const ret = Reflect.get(arg0, arg1);
|
|
377
402
|
return ret;
|
|
@@ -422,6 +447,10 @@ export function __wbg_isSafeInteger_717808ad6a54bd9e(arg0) {
|
|
|
422
447
|
const ret = Number.isSafeInteger(arg0);
|
|
423
448
|
return ret;
|
|
424
449
|
}
|
|
450
|
+
export function __wbg_is_4b278c0bd3caba97(arg0, arg1) {
|
|
451
|
+
const ret = Object.is(arg0, arg1);
|
|
452
|
+
return ret;
|
|
453
|
+
}
|
|
425
454
|
export function __wbg_iterator_e3c31c892080e444() {
|
|
426
455
|
const ret = Symbol.iterator;
|
|
427
456
|
return ret;
|
|
@@ -504,6 +533,10 @@ export function __wbindgen_init_externref_table() {
|
|
|
504
533
|
table.set(offset + 2, true);
|
|
505
534
|
table.set(offset + 3, false);
|
|
506
535
|
}
|
|
536
|
+
function wasm_bindgen_36f319cbb35a5907___convert__closures_____invoke___js_sys_7f3ecdb60bb74b68___Function_fn_wasm_bindgen_36f319cbb35a5907___JsValue_____wasm_bindgen_36f319cbb35a5907___sys__Undefined___js_sys_7f3ecdb60bb74b68___Function_fn_wasm_bindgen_36f319cbb35a5907___JsValue_____wasm_bindgen_36f319cbb35a5907___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
|
|
537
|
+
wasm.wasm_bindgen_36f319cbb35a5907___convert__closures_____invoke___js_sys_7f3ecdb60bb74b68___Function_fn_wasm_bindgen_36f319cbb35a5907___JsValue_____wasm_bindgen_36f319cbb35a5907___sys__Undefined___js_sys_7f3ecdb60bb74b68___Function_fn_wasm_bindgen_36f319cbb35a5907___JsValue_____wasm_bindgen_36f319cbb35a5907___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
|
|
538
|
+
}
|
|
539
|
+
|
|
507
540
|
const WasmDocumentFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
508
541
|
? { register: () => {}, unregister: () => {} }
|
|
509
542
|
: new FinalizationRegistry(ptr => wasm.__wbg_wasmdocument_free(ptr, 1));
|
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.55",
|
|
9
9
|
"license": "MIT OR Apache-2.0",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|