shacl-wasm-node 0.1.7 → 0.1.9
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 -3
- package/shacl_wasm.js +9 -3
- package/shacl_wasm_bg.wasm +0 -0
package/package.json
CHANGED
package/shacl_wasm.d.ts
CHANGED
|
@@ -58,9 +58,15 @@ export class Validator {
|
|
|
58
58
|
/**
|
|
59
59
|
* Validates a data graph in any supported format.
|
|
60
60
|
*
|
|
61
|
-
* `inference`
|
|
62
|
-
*
|
|
63
|
-
*
|
|
61
|
+
* `inference` selects what is materialised before validating:
|
|
62
|
+
*
|
|
63
|
+
* - `"none"` (default)
|
|
64
|
+
* - `"rdfs"` — the RDFS closure, so a finding can depend on an entailed
|
|
65
|
+
* `rdf:type` rather than only an asserted one
|
|
66
|
+
* - `"rules"` — SHACL-AF rules (`sh:rule`), one pass, as the
|
|
67
|
+
* specification defines
|
|
68
|
+
* - `"rules-iterated"` — the same, repeated to a fixpoint, which a
|
|
69
|
+
* transitive rule needs and the specification does not define
|
|
64
70
|
*/
|
|
65
71
|
validateText(text: string, format: string, base?: string | null, inference?: string | null): Report;
|
|
66
72
|
/**
|
package/shacl_wasm.js
CHANGED
|
@@ -178,9 +178,15 @@ class Validator {
|
|
|
178
178
|
/**
|
|
179
179
|
* Validates a data graph in any supported format.
|
|
180
180
|
*
|
|
181
|
-
* `inference`
|
|
182
|
-
*
|
|
183
|
-
*
|
|
181
|
+
* `inference` selects what is materialised before validating:
|
|
182
|
+
*
|
|
183
|
+
* - `"none"` (default)
|
|
184
|
+
* - `"rdfs"` — the RDFS closure, so a finding can depend on an entailed
|
|
185
|
+
* `rdf:type` rather than only an asserted one
|
|
186
|
+
* - `"rules"` — SHACL-AF rules (`sh:rule`), one pass, as the
|
|
187
|
+
* specification defines
|
|
188
|
+
* - `"rules-iterated"` — the same, repeated to a fixpoint, which a
|
|
189
|
+
* transitive rule needs and the specification does not define
|
|
184
190
|
* @param {string} text
|
|
185
191
|
* @param {string} format
|
|
186
192
|
* @param {string | null} [base]
|
package/shacl_wasm_bg.wasm
CHANGED
|
Binary file
|