@veripublica/epubveri-wasm 0.1.0 → 0.2.1
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/epubveri.d.ts +12 -0
- package/epubveri_bg.wasm +0 -0
- package/package.json +2 -2
package/epubveri.d.ts
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* A 1-indexed line/column position, mirroring [`epubveri::report::Position`].
|
|
5
|
+
*/
|
|
6
|
+
export interface Position {
|
|
7
|
+
line: number;
|
|
8
|
+
column: number;
|
|
9
|
+
}
|
|
10
|
+
|
|
3
11
|
/**
|
|
4
12
|
* One diagnostic, mirroring [`epubveri::report::Message`] with the message ID
|
|
5
13
|
* and severity flattened to strings for the JS boundary.
|
|
@@ -21,6 +29,10 @@ export interface Message {
|
|
|
21
29
|
* Optional location hint (path / element), when the check provides one.
|
|
22
30
|
*/
|
|
23
31
|
location: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Optional exact source position, when the check provides one.
|
|
34
|
+
*/
|
|
35
|
+
position: Position | undefined;
|
|
24
36
|
}
|
|
25
37
|
|
|
26
38
|
/**
|
package/epubveri_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"name": "@veripublica/epubveri-wasm",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"description": "WebAssembly bindings for epubveri — a pure-Rust, JVM-free EPUB validator that runs in the browser.",
|
|
5
|
-
"version": "0.1
|
|
5
|
+
"version": "0.2.1",
|
|
6
6
|
"license": "AGPL-3.0-only OR LicenseRef-veripublica-Commercial",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "https://github.com/veripublica/epubveri"
|
|
9
|
+
"url": "git+https://github.com/veripublica/epubveri.git"
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"epubveri_bg.wasm",
|