sparqlalgebrajs
Advanced tools
Comparing version 4.3.6 to 4.3.7
@@ -99,2 +99,5 @@ "use strict"; | ||
createTerm(str) { | ||
if (str[0] === '$') { | ||
str = str.replace('$', '?'); | ||
} | ||
return (0, rdf_string_1.stringToTerm)(str, this.dataFactory); | ||
@@ -101,0 +104,0 @@ } |
@@ -122,4 +122,8 @@ "use strict"; | ||
// Some variables are hidden in keys (specifically for VALUES) | ||
if (key.startsWith('?')) | ||
if (key.startsWith('?')) { | ||
variables.add(key); | ||
} | ||
else if (key.startsWith('$')) { | ||
variables.add(`?${key.slice(1)}`); | ||
} | ||
findAllVariables(thingy[key]); | ||
@@ -126,0 +130,0 @@ } |
{ | ||
"name": "sparqlalgebrajs", | ||
"version": "4.3.6", | ||
"version": "4.3.7", | ||
"description": "Convert SPARQL to SPARQL algebra", | ||
@@ -5,0 +5,0 @@ "author": "Joachim Van Herwegen", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
329177
2894