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 1.4.2 to 1.5.0

7

lib/sparqlAlgebra.js

@@ -347,5 +347,6 @@ "use strict";

for (let e of query.group) {
if (e.variable) {
res = factory.createExtend(res, factory.createTerm(e.variable), translateExpression(e.expression));
vars.push(factory.createTerm(e.variable));
if (e.expression.type) {
const v = e.variable ? factory.createTerm(e.variable) : generateFreshVar();
res = factory.createExtend(res, v, translateExpression(e.expression));
vars.push(v);
}

@@ -352,0 +353,0 @@ else

{
"name": "sparqlalgebrajs",
"version": "1.4.2",
"version": "1.5.0",
"description": "Convert SPARQL to SPARQL algebra",

@@ -23,11 +23,11 @@ "author": "Joachim Van Herwegen",

"@types/minimist": "^1.2.0",
"@types/mocha": "^2.2.48",
"@types/node": "^8.10.24",
"@types/mocha": "^5.2.6",
"@types/node": "^11.9.5",
"@types/rdf-js": "^2.0.1",
"chai": "^4.1.2",
"mocha": "^5.2.0",
"nyc": "^12.0.2",
"mocha": "^6.0.2",
"nyc": "^13.3.0",
"pre-commit": "^1.2.2",
"ts-node": "^6.2.0",
"typescript": "^2.9.2"
"ts-node": "^8.0.2",
"typescript": "^3.3.3333"
},

@@ -34,0 +34,0 @@ "scripts": {

# SPARQL to SPARQL Algebra converter
[![npm version](https://badge.fury.io/js/sparqlalgebrajs.svg)](https://www.npmjs.com/package/sparqlalgebrajs)
[![Build Status](https://travis-ci.org/joachimvh/SPARQLAlgebra.js.svg?branch=master)](https://travis-ci.org/joachimvh/SPARQLAlgebra.js) [![Greenkeeper badge](https://badges.greenkeeper.io/joachimvh/SPARQLAlgebra.js.svg)](https://greenkeeper.io/)

@@ -3,0 +5,0 @@ 2 components get exposed: the **translate** function and the **Algebra** object,

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