sparqljson-parse
Advanced tools
Comparing version 2.2.0 to 3.0.0
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
import * as RDF from "@rdfjs/types"; | ||
@@ -3,0 +2,0 @@ /** |
@@ -108,3 +108,5 @@ "use strict"; | ||
if (rawValue['xml:lang']) { | ||
value = this.dataFactory.literal(rawValue.value, rawValue['xml:lang']); | ||
const language = rawValue['xml:lang']; | ||
const direction = rawValue['its:dir']; | ||
value = this.dataFactory.literal(rawValue.value, { language, direction }); | ||
} | ||
@@ -111,0 +113,0 @@ else if (rawValue.datatype) { |
{ | ||
"name": "sparqljson-parse", | ||
"version": "2.2.0", | ||
"version": "3.0.0", | ||
"description": "Parses SPARQL JSON query results", | ||
@@ -16,2 +16,6 @@ "keywords": [ | ||
"author": "Ruben Taelman <rubensworks@gmail.com>", | ||
"funding": { | ||
"type": "individual", | ||
"url": "https://github.com/sponsors/rubensworks/" | ||
}, | ||
"bugs": { | ||
@@ -41,3 +45,3 @@ "url": "https://github.com/rubensworks/sparqljson-parse.js/issues" | ||
"jest": "^29.0.0", | ||
"jest-rdf": "^1.7.0", | ||
"jest-rdf": "^2.0.0", | ||
"manual-git-changelog": "^1.0.0", | ||
@@ -50,3 +54,3 @@ "pre-commit": "^1.2.2", | ||
"tslint-eslint-rules": "^5.3.1", | ||
"typescript": "^4.3.5", | ||
"typescript": "^5.7.2", | ||
"webpack": "^5.73.0", | ||
@@ -89,9 +93,9 @@ "webpack-cli": "^5.0.0" | ||
"dependencies": { | ||
"@rdfjs/types": "*", | ||
"@types/readable-stream": "^2.3.13", | ||
"@types/readable-stream": "^4.0.0", | ||
"@bergos/jsonparse": "^1.4.1", | ||
"rdf-data-factory": "^1.1.0", | ||
"rdf-data-factory": "^2.0.0", | ||
"readable-stream": "^4.0.0" | ||
}, | ||
"sideEffects": false | ||
"sideEffects": false, | ||
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" | ||
} |
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
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
33759
4
264
0
+ Added@types/readable-stream@4.0.18(transitive)
+ Addedrdf-data-factory@2.0.2(transitive)
- Removed@rdfjs/types@*
- Removed@rdfjs/types@1.1.2(transitive)
- Removed@types/readable-stream@2.3.15(transitive)
- Removedrdf-data-factory@1.1.3(transitive)
Updatedrdf-data-factory@^2.0.0