dexie 4.2.0 → 4.2.1-rc.1
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/dist/README.md +46 -0
- package/dist/dexie.d.ts +1 -1
- package/dist/dexie.js +4 -4
- package/dist/dexie.js.map +1 -1
- package/dist/dexie.min.js +1 -1
- package/dist/dexie.min.js.map +1 -1
- package/dist/dexie.mjs +4 -4
- package/dist/dexie.mjs.map +1 -1
- package/dist/modern/dexie.min.mjs +1 -1
- package/dist/modern/dexie.min.mjs.map +1 -1
- package/dist/modern/dexie.mjs +4 -4
- package/dist/modern/dexie.mjs.map +1 -1
- package/package.json +1 -1
package/dist/modern/dexie.mjs
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*
|
|
5
5
|
* By David Fahlander, david.fahlander@gmail.com
|
|
6
6
|
*
|
|
7
|
-
* Version 4.2.
|
|
7
|
+
* Version 4.2.1-rc.1, Mon Aug 25 2025
|
|
8
8
|
*
|
|
9
9
|
* https://dexie.org
|
|
10
10
|
*
|
|
@@ -1096,7 +1096,7 @@ function tempTransaction(db, mode, storeNames, fn) {
|
|
|
1096
1096
|
}
|
|
1097
1097
|
}
|
|
1098
1098
|
|
|
1099
|
-
const DEXIE_VERSION = '4.2.
|
|
1099
|
+
const DEXIE_VERSION = '4.2.1-rc.1';
|
|
1100
1100
|
const maxString = String.fromCharCode(65535);
|
|
1101
1101
|
const minKey = -Infinity;
|
|
1102
1102
|
const INVALID_KEY_ARGUMENT = "Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.";
|
|
@@ -3986,8 +3986,8 @@ function dexieOpen(db) {
|
|
|
3986
3986
|
state.vcFired = true;
|
|
3987
3987
|
db.on("versionchange").fire(ev);
|
|
3988
3988
|
});
|
|
3989
|
-
idbdb.onclose = wrap(
|
|
3990
|
-
db.
|
|
3989
|
+
idbdb.onclose = wrap(() => {
|
|
3990
|
+
db.close({ disableAutoOpen: false });
|
|
3991
3991
|
});
|
|
3992
3992
|
if (wasCreated)
|
|
3993
3993
|
_onDatabaseCreated(db._deps, dbName);
|