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 0.7.1 to 0.7.2

7

lib/sparqlAlgebra.js

@@ -349,3 +349,3 @@ "use strict";

let PV = new Set();
if (query.queryType === 'SELECT') {
if (query.queryType === 'SELECT' || query.queryType === 'DESCRIBE') {
if (query.variables.indexOf('*') >= 0)

@@ -355,3 +355,4 @@ PV = variables;

for (let v of query.variables) {
if (isVariable(v))
// can have non-variables with DESCRIBE
if (isVariable(v) || !v.variable)
PV.add(factory.createTerm(v));

@@ -400,3 +401,3 @@ else if (v.variable) {

else if (query.queryType === 'DESCRIBE')
res = factory.createDescribe(res, query.variables.map(factory.createTerm.bind(factory)));
res = factory.createDescribe(res, Array.from(PV));
return res;

@@ -403,0 +404,0 @@ }

{
"name": "sparqlalgebrajs",
"version": "0.7.1",
"version": "0.7.2",
"description": "Convert SPARQL to SPARL 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