leptris 0.1.51 → 0.1.53
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/dist/leptris.wasm +0 -0
- package/package.json +1 -1
- package/src/index.d.ts +3 -0
- package/src/index.js +1 -1
package/dist/leptris.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -20,6 +20,9 @@ export function load(xml: string): Promise<number>;
|
|
|
20
20
|
/** Serialize a document to XML (the engine's canonical emit). */
|
|
21
21
|
export function xml(id: number): Promise<string>;
|
|
22
22
|
|
|
23
|
+
/** Serialize synchronously after awaiting init(). */
|
|
24
|
+
export function xmlSync(id: number): string;
|
|
25
|
+
|
|
23
26
|
/** Evaluate an XPath; nodesets yield the first node's string
|
|
24
27
|
* value, atomics yield their string form. */
|
|
25
28
|
export function xpath(id: number, expr: string): Promise<string | null>;
|
package/src/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// evaluation. Documents live in the wasm registry addressed by an
|
|
5
5
|
// integer id; load/close bracket their lifetime.
|
|
6
6
|
|
|
7
|
-
export const VERSION = "1.9.
|
|
7
|
+
export const VERSION = "1.9.419";
|
|
8
8
|
|
|
9
9
|
export class XmlError extends Error {
|
|
10
10
|
constructor(message, line, column) {
|