@cocreate/indexeddb 1.3.7 → 1.3.9
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 +16 -0
- package/package.json +5 -5
- package/src/index.js +3 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
## [1.3.9](https://github.com/CoCreate-app/CoCreate-indexeddb/compare/v1.3.8...v1.3.9) (2022-11-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* bump @cocreate/utils ([f885e1f](https://github.com/CoCreate-app/CoCreate-indexeddb/commit/f885e1f0edb8e41c68d124a8b7f71c70f14344ad))
|
|
7
|
+
|
|
8
|
+
## [1.3.8](https://github.com/CoCreate-app/CoCreate-indexeddb/compare/v1.3.7...v1.3.8) (2022-11-25)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* bump dependencies ([45bbda1](https://github.com/CoCreate-app/CoCreate-indexeddb/commit/45bbda1cb5be4618111c576cb1bc33b80ac45676))
|
|
14
|
+
* CoCreate.crud.default removed bug causing default object ([3690c7b](https://github.com/CoCreate-app/CoCreate-indexeddb/commit/3690c7b42ce65bd57a9080324be582d64bd8c241))
|
|
15
|
+
* dotNotationToObject param order was in reverse ([2d234fc](https://github.com/CoCreate-app/CoCreate-indexeddb/commit/2d234fc5c48799cd0a000fd7f414d1b54490421c))
|
|
16
|
+
|
|
1
17
|
## [1.3.7](https://github.com/CoCreate-app/CoCreate-indexeddb/compare/v1.3.6...v1.3.7) (2022-11-24)
|
|
2
18
|
|
|
3
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/indexeddb",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.9",
|
|
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,9 +61,9 @@
|
|
|
61
61
|
"webpack-log": "^3.0.1"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@cocreate/docs": "^1.4.
|
|
65
|
-
"@cocreate/filter": "^1.10.
|
|
66
|
-
"@cocreate/hosting": "^1.6.
|
|
67
|
-
"@cocreate/utils": "^1.
|
|
64
|
+
"@cocreate/docs": "^1.4.4",
|
|
65
|
+
"@cocreate/filter": "^1.10.4",
|
|
66
|
+
"@cocreate/hosting": "^1.6.3",
|
|
67
|
+
"@cocreate/utils": "^1.12.0"
|
|
68
68
|
}
|
|
69
69
|
}
|
package/src/index.js
CHANGED
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
*
|
|
5
5
|
* SPDX-License-Identifier: MIT
|
|
6
6
|
********************************************************************************/
|
|
7
|
-
import {dotNotationToObject} from '@cocreate/utils'
|
|
8
|
-
import {searchData, sortData, queryData} from '@cocreate/filter/src/filter.js'
|
|
7
|
+
import {dotNotationToObject, searchData, sortData, queryData} from '@cocreate/utils'
|
|
9
8
|
|
|
10
9
|
function createDatabase(data){
|
|
11
10
|
return Database('createDatabase', data)
|
|
@@ -691,7 +690,7 @@ function runDocs({action, data, objectStore, documents, filterDocs, database, co
|
|
|
691
690
|
if (updateData)
|
|
692
691
|
docs.shift();
|
|
693
692
|
for (let filterDoc of filterDocs) {
|
|
694
|
-
filterDoc = dotNotationToObject(
|
|
693
|
+
filterDoc = dotNotationToObject(updateData, filterDoc)
|
|
695
694
|
docs.push(filterDoc)
|
|
696
695
|
}
|
|
697
696
|
}
|
|
@@ -1082,7 +1081,7 @@ function init() {
|
|
|
1082
1081
|
|
|
1083
1082
|
init();
|
|
1084
1083
|
|
|
1085
|
-
export
|
|
1084
|
+
export {
|
|
1086
1085
|
getDatabase,
|
|
1087
1086
|
createDatabase,
|
|
1088
1087
|
readDatabase,
|