rdf-validate-shacl
Advanced tools
Comparing version 0.2.4 to 0.2.5
@@ -5,5 +5,7 @@ | ||
## Next version (TBA) | ||
## 0.2.5 (2020-12-21) | ||
* | ||
* Fix issue with multi-level inheritance | ||
[[#41](https://github.com/zazuko/rdf-validate-shacl/issues/41)] | ||
[[#42](https://github.com/zazuko/rdf-validate-shacl/pull/42)] | ||
@@ -10,0 +12,0 @@ |
{ | ||
"name": "rdf-validate-shacl", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"description": "RDF SHACL validator", | ||
@@ -13,2 +13,6 @@ "main": "index.js", | ||
"author": "Zazuko (https://zazuko.com)", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/zazuko/rdf-validate-shacl.git" | ||
}, | ||
"license": "MIT", | ||
@@ -30,10 +34,10 @@ "keywords": [ | ||
"@rdfjs/parser-n3": "^1.1.4", | ||
"@zazuko/rdf-vocabularies": "^2020.8.17", | ||
"@zazuko/rdf-vocabularies": "^2020.11.3", | ||
"get-stream": "^6.0.0", | ||
"mocha": "^8.2.0", | ||
"nanoid": "^3.1.12", | ||
"mocha": "^8.2.1", | ||
"nanoid": "^3.1.20", | ||
"nyc": "^15.0.1", | ||
"rdf-ext": "^1.3.0", | ||
"rdf-utils-dataset": "1.1.0", | ||
"standard": "^14.3.3" | ||
"standard": "^16.0.0" | ||
}, | ||
@@ -40,0 +44,0 @@ "files": [ |
@@ -41,3 +41,11 @@ const clownface = require('clownface') | ||
return new NodeSet(subclasses) | ||
const transubclasses = subclasses.reduce((acc, cls) => { | ||
const scs = this.getSubClassesOf(cls) | ||
acc.addAll(scs) | ||
return acc | ||
}, new NodeSet()) | ||
return new NodeSet([...subclasses, ...transubclasses]) | ||
} | ||
@@ -44,0 +52,0 @@ |
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
396340
8256
0