rdf-data-factory
Advanced tools
Comparing version 1.0.1 to 1.0.2
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
<a name="v1.0.2"></a> | ||
## [v1.0.2](https://github.com/rubensworks/rdf-data-factory.js/compare/v1.0.1...v1.0.2) - 2020-09-08 | ||
### Fixed | ||
* [Make Quad.equals backwards-compatible with old factories, Closes #2](https://github.com/rubensworks/rdf-data-factory.js/commit/d4e415d3fc7b340709624466129e7b28cbb30548) | ||
<a name="v1.0.1"></a> | ||
@@ -5,0 +11,0 @@ ## [v1.0.1](https://github.com/rubensworks/rdf-data-factory.js/compare/v1.0.0...v1.0.1) - 2020-08-31 |
@@ -18,3 +18,4 @@ "use strict"; | ||
equals(other) { | ||
return !!other && other.termType === 'Quad' && | ||
// `|| !other.termType` is for backwards-compatibility with old factories without RDF* support. | ||
return !!other && (other.termType === 'Quad' || !other.termType) && | ||
this.subject.equals(other.subject) && | ||
@@ -21,0 +22,0 @@ this.predicate.equals(other.predicate) && |
{ | ||
"name": "rdf-data-factory", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A TypeScript/JavaScript implementation of the RDF/JS data factory.", | ||
@@ -44,3 +44,3 @@ "keywords": [ | ||
"eslint-plugin-import": "^2.22.0", | ||
"eslint-plugin-jest": "^23.18.0", | ||
"eslint-plugin-jest": "^24.0.0", | ||
"eslint-plugin-tsdoc": "^0.2.6", | ||
@@ -47,0 +47,0 @@ "eslint-plugin-unused-imports": "^0.1.3", |
25842
414