@onehat/data 1.8.23 → 1.8.25

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onehat/data",
3
- "version": "1.8.23",
3
+ "version": "1.8.25",
4
4
  "description": "JS data modeling package with adapters for many storage mediums.",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -37,7 +37,7 @@
37
37
  "dependencies": {
38
38
  "@onehat/events": "^1.6.5",
39
39
  "accounting-js": "^1.1.1",
40
- "axios": "^1.1.3",
40
+ "axios": "^1.2.0",
41
41
  "chrono-node": "^2.4.1",
42
42
  "fast-xml-parser": "^4.0.11",
43
43
  "he": "^1.2.0",
@@ -1615,6 +1615,9 @@ export default class Repository extends EventEmitter {
1615
1615
  return false;
1616
1616
  }
1617
1617
  _.each(entities, (entity) => {
1618
+ if (!entity) {
1619
+ return;
1620
+ }
1618
1621
  if (entity.isPhantom) {
1619
1622
  // Just auto-remove it. Don't bother saving to storage medium.
1620
1623
  this.removeEntity(entity);