New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rdf-validate-shacl

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rdf-validate-shacl - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

11

CHANGELOG.md

@@ -10,6 +10,12 @@

## 0.2.1 (2020-05-25)
* Fix `ValidationResult.severity` not returning anything
## 0.2.0 (2020-05-25)
* [BREAKING] Change `ValidationReport` and `ValidationResult` shorthand
properties to return RDF terms instead of strings (#30).
properties to return RDF terms instead of strings
[[#30](https://github.com/zazuko/rdf-validate-shacl/issues/30)]

@@ -19,3 +25,4 @@

* Mitigate conflicting blank node issue when using default data factory (#25)
* Mitigate conflicting blank node issue when using default data factory
[[#25](https://github.com/zazuko/rdf-validate-shacl/issues/25)]

@@ -22,0 +29,0 @@

2

package.json
{
"name": "rdf-validate-shacl",
"version": "0.2.0",
"version": "0.2.1",
"description": "RDF SHACL validator",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -204,2 +204,3 @@ // Design:

this.severity = context.$shapes.cf.node(shapeNode).out(sh.severity).term
if (!this.severity) {

@@ -206,0 +207,0 @@ this.severity = context.factory.ns.sh.Violation

@@ -59,3 +59,3 @@ const clownface = require('clownface')

get severity () {
return this.cf.out(sh.severity).term || null
return this.cf.out(sh.resultSeverity).term || null
}

@@ -62,0 +62,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc