shacl-wasm-node 0.3.0 → 0.3.2
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/package.json +1 -1
- package/shacl_wasm.d.ts +9 -2
- package/shacl_wasm.js +9 -2
- package/shacl_wasm_bg.wasm +0 -0
package/package.json
CHANGED
package/shacl_wasm.d.ts
CHANGED
|
@@ -14,8 +14,15 @@ export class Report {
|
|
|
14
14
|
*/
|
|
15
15
|
toTurtle(): string;
|
|
16
16
|
/**
|
|
17
|
-
* True when
|
|
18
|
-
*
|
|
17
|
+
* True when the report holds no result of a conformance-blocking
|
|
18
|
+
* severity.
|
|
19
|
+
*
|
|
20
|
+
* Those are `sh:Violation`, `sh:Warning` and `sh:Info`, which is what
|
|
21
|
+
* the specification defines when a report declares no
|
|
22
|
+
* `sh:conformanceDisallows`. SHACL 1.2's `sh:Debug` and `sh:Trace`
|
|
23
|
+
* report without blocking. Until 0.3.2 this counted violations alone,
|
|
24
|
+
* which is pySHACL's `--allow-warnings` reading rather than its default;
|
|
25
|
+
* a caller who wants that reading can judge `results` by severity.
|
|
19
26
|
*/
|
|
20
27
|
readonly conforms: boolean;
|
|
21
28
|
/**
|
package/shacl_wasm.js
CHANGED
|
@@ -21,8 +21,15 @@ class Report {
|
|
|
21
21
|
wasm.__wbg_report_free(ptr, 0);
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
|
-
* True when
|
|
25
|
-
*
|
|
24
|
+
* True when the report holds no result of a conformance-blocking
|
|
25
|
+
* severity.
|
|
26
|
+
*
|
|
27
|
+
* Those are `sh:Violation`, `sh:Warning` and `sh:Info`, which is what
|
|
28
|
+
* the specification defines when a report declares no
|
|
29
|
+
* `sh:conformanceDisallows`. SHACL 1.2's `sh:Debug` and `sh:Trace`
|
|
30
|
+
* report without blocking. Until 0.3.2 this counted violations alone,
|
|
31
|
+
* which is pySHACL's `--allow-warnings` reading rather than its default;
|
|
32
|
+
* a caller who wants that reading can judge `results` by severity.
|
|
26
33
|
* @returns {boolean}
|
|
27
34
|
*/
|
|
28
35
|
get conforms() {
|
package/shacl_wasm_bg.wasm
CHANGED
|
Binary file
|