@live-change/db-store-rbtree 0.5.18 → 0.5.20

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.
Files changed (2) hide show
  1. package/lib/Store.js +1 -0
  2. package/package.json +3 -3
package/lib/Store.js CHANGED
@@ -255,6 +255,7 @@ class CountObservable extends ReactiveDao.ObservableValue {
255
255
  }
256
256
 
257
257
  async deleteObject(object) {
258
+ if(!object) return
258
259
  const id = object.id
259
260
  if(this.range.gt && !(id > this.range.gt)) return
260
261
  if(this.range.lt && !(id < this.range.lt)) return
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/db-store-rbtree",
3
- "version": "0.5.18",
3
+ "version": "0.5.20",
4
4
  "description": "Database with observable data for live queries",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -24,9 +24,9 @@
24
24
  "tape": "^5.3.2"
25
25
  },
26
26
  "dependencies": {
27
- "@live-change/dao": "0.5.6",
27
+ "@live-change/dao": "0.5.8",
28
28
  "@live-change/interval-tree": "^1.0.12",
29
29
  "functional-red-black-tree": "^1.0.1"
30
30
  },
31
- "gitHead": "ae97ee058ddb9e0868a942ed9446199888e0d91a"
31
+ "gitHead": "49282865084b8a3c07e57743f2897d97480a6115"
32
32
  }