@converse/skeletor 0.0.3 → 0.0.6

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
@@ -17,9 +17,9 @@
17
17
  "JC Brand"
18
18
  ],
19
19
  "dependencies": {
20
- "lit-html": "^1.2.1",
21
- "lodash-es": "^4.17.15",
22
- "mergebounce": "0.0.2"
20
+ "lit-html": "^2.0.0-rc.2",
21
+ "lodash-es": "^4.17.21",
22
+ "mergebounce": "0.1.1"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@babel/core": "^7.10.2",
@@ -30,11 +30,9 @@
30
30
  "@rollup/plugin-node-resolve": "^8.0.1",
31
31
  "babel-eslint": "^10.1.0",
32
32
  "babel-loader": "^8.2.2",
33
- "babel-plugin-lodash": "^3.3.4",
34
33
  "chai": "^4.2.0",
35
34
  "eslint": "^7.2.0",
36
- "eslint-plugin-lodash": "^7.1.0",
37
- "karma": "^5.0.9",
35
+ "karma": "^6.3.16",
38
36
  "karma-chrome-launcher": "^3.1.0",
39
37
  "karma-firefox-launcher": "^1.2.0",
40
38
  "karma-mocha": "^2.0.1",
@@ -42,6 +40,7 @@
42
40
  "karma-webpack": "^4.0.2",
43
41
  "localforage": "^1.7.4",
44
42
  "localforage-driver-memory": "^1.0.5",
43
+ "localforage-getitems": "conversejs/localForage-getItems#de039970de16a9d3b54cdaa816aed5adaefb80c9",
45
44
  "localforage-setitems": "^1.4.0",
46
45
  "mocha": "^7.2.0",
47
46
  "qunit": "^2.10.0",
@@ -60,7 +59,7 @@
60
59
  "lint": "eslint src/*.js test/*.js"
61
60
  },
62
61
  "module": "src/main.js",
63
- "version": "0.0.3",
62
+ "version": "0.0.6",
64
63
  "license": "MIT",
65
64
  "repository": {
66
65
  "type": "git",
package/src/collection.js CHANGED
@@ -559,7 +559,7 @@ Object.assign(Collection.prototype, Events, {
559
559
 
560
560
  // Define how to uniquely identify models in the collection.
561
561
  modelId: function(attrs) {
562
- return attrs[this.model.prototype.idAttribute || 'id'];
562
+ return attrs[this.model.prototype?.idAttribute || 'id'];
563
563
  },
564
564
 
565
565
  // Get an iterator of all models in this collection.