solid-namespace
Advanced tools
Comparing version 0.3.0 to 0.4.0
@@ -21,2 +21,3 @@ /** | ||
cal: 'http://www.w3.org/2002/12/cal/ical#', | ||
cert: 'http://www.w3.org/ns/auth/cert#', | ||
contact: 'http://www.w3.org/2000/10/swap/pim/contact#', | ||
@@ -23,0 +24,0 @@ dc: 'http://purl.org/dc/elements/1.1/', |
{ | ||
"name": "solid-namespace", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "A collection of common RDF namespaces used in the Solid project", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -19,3 +19,3 @@ # Solid Namespace | ||
If a rdf library is provided then the map of namespaces given will be the result of calling `rdflib.Namespace` on the namespace urls. | ||
If a rdf library is provided then the map of namespaces given will be the result of calling `$rdf.namedNode` on the namespace urls. | ||
@@ -22,0 +22,0 @@ ```js |
@@ -5,3 +5,3 @@ const assert = require('assert'); | ||
const ns = require('./index.js')(); | ||
assert.equal(ns.schema('Recipe'), 'http:/schema.org/Recipe'); | ||
assert.equal(ns.schema('Recipe'), 'http://schema.org/Recipe'); | ||
@@ -14,2 +14,2 @@ | ||
const rdfns = require('./index.js')(rdflib); | ||
assert.equal(rdfns.schema('Recipe'), 'RDF::http:/schema.org/Recipe'); | ||
assert.equal(rdfns.schema('Recipe'), 'RDF::http://schema.org/Recipe'); |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
20692
81