n3 1.17.0 → 1.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/n3.min.js +1 -1
- package/lib/N3Writer.js +2 -2
- package/package.json +1 -1
- package/src/N3Writer.js +2 -2
package/lib/N3Writer.js
CHANGED
|
@@ -40,8 +40,8 @@ const escape = /["\\\t\n\r\b\f\u0000-\u0019\ud800-\udbff]/,
|
|
|
40
40
|
class SerializedTerm extends _N3DataFactory.Term {
|
|
41
41
|
// Pretty-printed nodes are not equal to any other node
|
|
42
42
|
// (e.g., [] does not equal [])
|
|
43
|
-
equals() {
|
|
44
|
-
return
|
|
43
|
+
equals(other) {
|
|
44
|
+
return other === this;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
} // ## Constructor
|
package/package.json
CHANGED
package/src/N3Writer.js
CHANGED
|
@@ -19,8 +19,8 @@ const escape = /["\\\t\n\r\b\f\u0000-\u0019\ud800-\udbff]/,
|
|
|
19
19
|
class SerializedTerm extends Term {
|
|
20
20
|
// Pretty-printed nodes are not equal to any other node
|
|
21
21
|
// (e.g., [] does not equal [])
|
|
22
|
-
equals() {
|
|
23
|
-
return
|
|
22
|
+
equals(other) {
|
|
23
|
+
return other === this;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
|