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

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.5.3 to 2.5.4

13

lib/sparqlAlgebra.js

@@ -42,2 +42,5 @@ "use strict";

useQuads = quads;
// Assume this is an empty query
if (!sparql.type)
return factory.createProject(factory.createBgp([]), []);
if (sparql.type !== 'query' && sparql.type !== 'update')

@@ -534,4 +537,4 @@ throw new Error('Translate only works on complete query or update objects.');

else if (thingy.graph)
// this is equivalent
where = factory.createFrom(where, [thingy.graph], []);
// This is equivalent
where = recurseGraph(where, thingy.graph);
}

@@ -543,3 +546,3 @@ else if (thingy.updateType === 'deletewhere' && deleteTriples.length > 0) {

}
// for now, UPDATE parsing will always return quads and have no GRAPH elements
// UPDATE parsing will always return quads and have no GRAPH elements
function translateUpdateTriplesBlock(thingy, graph) {

@@ -589,2 +592,6 @@ let currentGraph = graph;

return util_1.default.mapOperation(res, {
'deleteinsert': (op) => {
// Only relevant for INSERT operations as others should never contain blank nodes
return { result: op, recurse: false };
},
'path': (op, factory) => {

@@ -591,0 +598,0 @@ return {

{
"name": "sparqlalgebrajs",
"version": "2.5.3",
"version": "2.5.4",
"description": "Convert SPARQL to SPARQL algebra",

@@ -5,0 +5,0 @@ "author": "Joachim Van Herwegen",

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