Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rdf-ext

Package Overview
Dependencies
Maintainers
2
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rdf-ext - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

4

package.json
{
"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', () => {

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