@aml-org/amf-custom-validator
Advanced tools
Comparing version 0.1.0-SNAPSHOT.10 to 0.1.0-SNAPSHOT.11
{ | ||
"name": "@aml-org/amf-custom-validator", | ||
"version": "0.1.0-SNAPSHOT.10", | ||
"version": "0.1.0-SNAPSHOT.11", | ||
"description": "AMF validator backed by OPA Rego", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -18,3 +18,3 @@ const fs = require("fs"); | ||
let report = JSON.parse(r) | ||
assert.ok(report["http://www.w3.org/ns/shacl#conforms"] === false) | ||
assert.ok(report["conforms"] === false) | ||
validator.validate(profile, data, false, (r,err) => { | ||
@@ -25,3 +25,3 @@ if (err) { | ||
let report = JSON.parse(r) | ||
assert.ok(report["http://www.w3.org/ns/shacl#conforms"] === false) | ||
assert.ok(report["conforms"] === false) | ||
validator.exit(); | ||
@@ -28,0 +28,0 @@ done(); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4967612