Comparing version 1.2.0 to 1.2.1
{ | ||
"name": "rdf-ext", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Extended Linked Data module", | ||
@@ -27,3 +27,3 @@ "main": "rdf-ext.js", | ||
"@rdfjs/to-ntriples": "^1.0.1", | ||
"rdf-dataset-indexed": "^0.1.0", | ||
"rdf-dataset-indexed": "^0.2.0", | ||
"rdf-normalize": "^1.0.0" | ||
@@ -30,0 +30,0 @@ }, |
@@ -5,2 +5,3 @@ /* global describe, it */ | ||
const rdf = require('../lib/DataFactory') | ||
const DatasetExt = require('../lib/Dataset') | ||
const standard = require('@rdfjs/data-model/test') | ||
@@ -403,2 +404,12 @@ | ||
it('should return a DatasetExt instance', () => { | ||
assert.strictEqual(rdf.dataset() instanceof DatasetExt, true) | ||
}) | ||
it('should always return a DatasetExt instance', () => { | ||
assert.strictEqual(rdf.dataset().clone() instanceof DatasetExt, true) | ||
assert.strictEqual(rdf.dataset().merge(rdf.dataset()) instanceof DatasetExt, true) | ||
assert.strictEqual(rdf.dataset().filter(() => true) instanceof DatasetExt, true) | ||
}) | ||
describe('implements the extended Dataset interface', () => { | ||
@@ -405,0 +416,0 @@ it('should implement .equals', () => { |
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
44056
1041
1
+ Addedrdf-dataset-indexed@0.2.0(transitive)
- Removedrdf-dataset-indexed@0.1.1(transitive)
Updatedrdf-dataset-indexed@^0.2.0