rdf-object
Advanced tools
Comparing version 1.8.0 to 1.9.0
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
<a name="v1.9.0"></a> | ||
## [v1.9.0](https://github.com/rubensworks/rdf-object.js/compare/v1.8.0...v1.9.0) - 2021-02-22 | ||
### Added | ||
* [Accept RDF/JS terms in compacted resources](https://github.com/rubensworks/rdf-object.js/commit/e6ddc5c13841734ba0cfc26c03abb903210ace28) | ||
<a name="v1.8.0"></a> | ||
@@ -5,0 +11,0 @@ ## [v1.8.0](https://github.com/rubensworks/rdf-object.js/compare/v1.7.1...v1.8.0) - 2020-12-03 |
@@ -72,2 +72,6 @@ "use strict"; | ||
} | ||
// Wrap terms in resources | ||
if ('termType' in hash && 'equals' in hash) { | ||
return this.getOrMakeResource(hash); | ||
} | ||
// Create resource for named node term by @id value, or blank node | ||
@@ -74,0 +78,0 @@ let term; |
{ | ||
"name": "rdf-object", | ||
"version": "1.8.0", | ||
"version": "1.9.0", | ||
"description": "Loads RDF as JSON objects", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -249,3 +249,3 @@ # RDF Object | ||
String values will be converted into term sources following the semantics of [rdf-string.js](https://github.com/rubensworks/rdf-string.js#string-to-term). | ||
Values can also be Resources. | ||
Values can also be Resources or RDF/JS terms. | ||
@@ -252,0 +252,0 @@ ## License |
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
44454
655