@sebastienrousseau/noyalib-wasm 0.0.15 → 0.0.17
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/noyalib_wasm.d.ts +4 -2
- package/noyalib_wasm_bg.js +4 -2
- package/noyalib_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/noyalib_wasm.d.ts
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
* A YAML document with byte-faithful source preservation and path-targeted
|
|
5
|
+
* A YAML document with byte-faithful source preservation and path-targeted
|
|
6
|
+
* edits.
|
|
6
7
|
*/
|
|
7
8
|
export class WasmDocument {
|
|
8
9
|
free(): void;
|
|
@@ -58,7 +59,8 @@ export class WasmDocument {
|
|
|
58
59
|
*/
|
|
59
60
|
spanAt(path: string): any;
|
|
60
61
|
/**
|
|
61
|
-
* Re-emit the document as a string. Byte-identical to original if no
|
|
62
|
+
* Re-emit the document as a string. Byte-identical to original if no
|
|
63
|
+
* edits.
|
|
62
64
|
*
|
|
63
65
|
* Bound on the JS side as `toString()` (the conventional camelCase
|
|
64
66
|
* name) so callers can write `doc.toString()` and override the
|
package/noyalib_wasm_bg.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* A YAML document with byte-faithful source preservation and path-targeted
|
|
2
|
+
* A YAML document with byte-faithful source preservation and path-targeted
|
|
3
|
+
* edits.
|
|
3
4
|
*/
|
|
4
5
|
export class WasmDocument {
|
|
5
6
|
__destroy_into_raw() {
|
|
@@ -141,7 +142,8 @@ export class WasmDocument {
|
|
|
141
142
|
return takeFromExternrefTable0(ret[0]);
|
|
142
143
|
}
|
|
143
144
|
/**
|
|
144
|
-
* Re-emit the document as a string. Byte-identical to original if no
|
|
145
|
+
* Re-emit the document as a string. Byte-identical to original if no
|
|
146
|
+
* edits.
|
|
145
147
|
*
|
|
146
148
|
* Bound on the JS side as `toString()` (the conventional camelCase
|
|
147
149
|
* name) so callers can write `doc.toString()` and override the
|
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.17",
|
|
9
9
|
"license": "MIT OR Apache-2.0",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|