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.8 to 0.7.9

2

lib/Factory.d.ts

@@ -67,3 +67,3 @@ import * as A from './algebra';

*/
private mapExpression(expr, callbacks);
private mapExpression;
}

@@ -70,0 +70,0 @@ /**

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const DataFactory = require("rdf-data-model");
const DataFactory = require("@rdfjs/data-model");
const rdf_string_1 = require("rdf-string");

@@ -5,0 +5,0 @@ const algebra_1 = require("./algebra");

@@ -7,3 +7,3 @@ import * as Algebra from './algebra';

* @param options - Optional options object. Current options:
* * dataFactory: The Datafactory used to generate terms. Default rdf-data-model.
* * dataFactory: The Datafactory used to generate terms. Default @rdfjs/data-model.
* * quads: Boolean indicating whether triples should be converted to Quads (consumes GRAPH statements). Default false.

@@ -10,0 +10,0 @@ * * prefixes: Pre-defined prefixes for the given query. Default empty.

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

* @param options - Optional options object. Current options:
* * dataFactory: The Datafactory used to generate terms. Default rdf-data-model.
* * dataFactory: The Datafactory used to generate terms. Default @rdfjs/data-model.
* * quads: Boolean indicating whether triples should be converted to Quads (consumes GRAPH statements). Default false.

@@ -76,3 +76,3 @@ * * prefixes: Pre-defined prefixes for the given query. Default empty.

Object.assign(inScope, all);
else if (v.variable)
else if (v.variable) // aggregates
Object.assign(inScope, inScopeVariables(v.variable));

@@ -121,2 +121,3 @@ else

result = nonfilters.reduce(accumulateGroupGraphPattern, factory.createBgp([]));
// custom values operation
else if (thingy.type === 'values')

@@ -268,3 +269,3 @@ result = translateInlineData(thingy);

thingy[key] = thingy[key].map((x) => recurseGraph(x, graph));
else if (typeVals.indexOf(thingy[key].type) >= 0)
else if (typeVals.indexOf(thingy[key].type) >= 0) // can't do instanceof on an interface
thingy[key] = recurseGraph(thingy[key], graph);

@@ -367,3 +368,4 @@ }

PV.add(factory.createTerm(v));
else if (v.variable) {
else if (v.variable) // ... AS ?x
{
PV.add(factory.createTerm(v.variable));

@@ -370,0 +372,0 @@ E.push(v);

{
"name": "sparqlalgebrajs",
"version": "0.7.8",
"version": "0.7.9",
"description": "Convert SPARQL to SPARL algebra",

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

"dependencies": {
"@rdfjs/data-model": "^1.1.0",
"lodash.isequal": "^4.5.0",
"minimist": "^1.2.0",
"rdf-data-model": "^1.0.0",
"rdf-string": "^1.1.1",

@@ -26,3 +26,2 @@ "sparqljs": "^2.0.3"

"@types/node": "^8.10.20",
"@types/rdf-data-model": "^1.0.1",
"@types/rdf-js": "^1.0.1",

@@ -29,0 +28,0 @@ "chai": "^4.1.2",

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