Socket
Socket
Sign inDemoInstall

sparqlalgebrajs

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sparqlalgebrajs - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2

6

lib/factory.js

@@ -45,7 +45,3 @@ "use strict";

createPattern(subject, predicate, object, graph) {
let pattern;
if (graph)
pattern = this.dataFactory.quad(subject, predicate, object, graph);
else
pattern = this.dataFactory.triple(subject, predicate, object);
let pattern = this.dataFactory.quad(subject, predicate, object, graph);
pattern.type = 'pattern';

@@ -52,0 +48,0 @@ return pattern;

4

lib/sparql.js

@@ -35,3 +35,5 @@ "use strict";

// this allows us to differentiate between BIND and SELECT when translating EXTEND
if (op.type !== types.EXTEND && op.type !== types.ORDER_BY)
// GRAPH was added because the way graphs get added back here is not the same as how they get added in the future
// ^ seems fine but might have to be changed if problems get detected in the future
if (op.type !== types.EXTEND && op.type !== types.ORDER_BY && op.type !== types.GRAPH)
context.project = false;

@@ -38,0 +40,0 @@ switch (op.type) {

{
"name": "sparqlalgebrajs",
"version": "2.2.1",
"version": "2.2.2",
"description": "Convert SPARQL to SPARQL algebra",

@@ -24,3 +24,3 @@ "author": "Joachim Van Herwegen",

"@types/node": "^13.9.1",
"@types/rdf-js": "^2.0.11",
"@types/rdf-js": "^3.0.0",
"chai": "^4.2.0",

@@ -27,0 +27,0 @@ "mocha": "^7.1.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