@live-change/db 0.8.110 → 0.8.112

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.
@@ -74,7 +74,7 @@ const tests = {
74
74
  return getProperty(obj, property) <= value
75
75
  },
76
76
  eq(obj, { property, value }) {
77
- return JSON.stringify(getProperty(obj, property)) == JSON.stringify(value)
77
+ return JSON.stringify(getProperty(obj, property)) === JSON.stringify(value)
78
78
  },
79
79
  exist(obj, { property }) {
80
80
  return hasProperty(obj, property)
@@ -182,7 +182,7 @@ class WriteQueue {
182
182
  }
183
183
 
184
184
  tryDeleteQueue() {
185
- if(this.operations.length == 0) {
185
+ if(this.operations.length === 0) {
186
186
  //console.log("DELETE QUEUE", this.id)
187
187
  this.atomicWriter.writes.delete(this.id)
188
188
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/db",
3
- "version": "0.8.110",
3
+ "version": "0.8.112",
4
4
  "description": "Database with observable data for live queries",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -22,8 +22,8 @@
22
22
  "type": "module",
23
23
  "homepage": "https://github.com/live-change/live-change-stack",
24
24
  "devDependencies": {
25
- "@live-change/db-store-level": "^0.8.110",
26
- "@live-change/db-store-lmdb": "^0.8.110",
25
+ "@live-change/db-store-level": "^0.8.112",
26
+ "@live-change/db-store-lmdb": "^0.8.112",
27
27
  "minimist": ">=1.2.3",
28
28
  "next-tick": "^1.1.0",
29
29
  "rimraf": "^5.0.5",
@@ -32,9 +32,9 @@
32
32
  "websocket-extensions": ">=0.1.4"
33
33
  },
34
34
  "dependencies": {
35
- "@live-change/dao": "^0.8.110",
35
+ "@live-change/dao": "^0.8.112",
36
36
  "get-random-values": "^1.2.2",
37
37
  "node-interval-tree": "^1.3.3"
38
38
  },
39
- "gitHead": "8af31d640f43b00b2874f2c70fa4d4486541adfe"
39
+ "gitHead": "e0d0db33777f8f9fc9f5ebe1a977cf574b837be6"
40
40
  }