@herdwatch/lokijs 1.5.12-dev.2 → 1.5.12-dev.3

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/package.json +1 -1
  2. package/src/lokijs.js +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@herdwatch/lokijs",
3
- "version": "1.5.12-dev.2",
3
+ "version": "1.5.12-dev.3",
4
4
  "description": "Fast document oriented javascript in-memory database",
5
5
  "homepage": "https://techfort.github.io/LokiJS/",
6
6
  "types": "index.d.ts",
package/src/lokijs.js CHANGED
@@ -1785,6 +1785,7 @@
1785
1785
  }
1786
1786
  copyColl.getData = coll.getData;
1787
1787
  Object.defineProperty(copyColl, 'data', {
1788
+ writable: true,
1788
1789
  /* jshint loopfunc:true */
1789
1790
  get: function() {
1790
1791
  var data = this.getData();