@cocreate/indexeddb 1.5.1 → 1.5.2
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/CHANGELOG.md +8 -0
- package/package.json +4 -4
- package/src/index.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [1.5.2](https://github.com/CoCreate-app/CoCreate-indexeddb/compare/v1.5.1...v1.5.2) (2022-12-12)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* array.from duplication ([aac4421](https://github.com/CoCreate-app/CoCreate-indexeddb/commit/aac4421a257605457a2e3f7341d9f8d9e65d3673))
|
|
7
|
+
* bump @cocreate/utils ([217c49f](https://github.com/CoCreate-app/CoCreate-indexeddb/commit/217c49f18270182af4c030a25774bff68741290a))
|
|
8
|
+
|
|
1
9
|
## [1.5.1](https://github.com/CoCreate-app/CoCreate-indexeddb/compare/v1.5.0...v1.5.1) (2022-12-11)
|
|
2
10
|
|
|
3
11
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/indexeddb",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.2",
|
|
4
4
|
"description": "A simple indexeddb component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"indexeddb",
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
"webpack-log": "^3.0.1"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@cocreate/docs": "^1.4.
|
|
65
|
-
"@cocreate/hosting": "^1.6.
|
|
66
|
-
"@cocreate/utils": "^1.
|
|
64
|
+
"@cocreate/docs": "^1.4.18",
|
|
65
|
+
"@cocreate/hosting": "^1.6.17",
|
|
66
|
+
"@cocreate/utils": "^1.16.0"
|
|
67
67
|
}
|
|
68
68
|
}
|
package/src/index.js
CHANGED
|
@@ -274,7 +274,7 @@ const collection = (action, data) => {
|
|
|
274
274
|
if (!data[type])
|
|
275
275
|
data[type] = []
|
|
276
276
|
|
|
277
|
-
for (let collection of
|
|
277
|
+
for (let collection of objectStoreNames){
|
|
278
278
|
let isFilter = queryData({name: collection}, data.filter.query)
|
|
279
279
|
if (isFilter)
|
|
280
280
|
collectionArray.push({name: collection, db: 'indexeddb', database})
|