dexie 4.2.0-rc.1 → 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 ADDED
@@ -0,0 +1,46 @@
1
+ ## Can't find dexie.js?
2
+ Dexie's dist files are no longer checked in to github except temporarily when tagging
3
+ a release version (just so that bower will continue to work). The reason for this is because
4
+ checking in dist files bloats the commit history and makes it error prone to contribute to the
5
+ repo. To support bower though, we have to continue checking in dist files when releasing,
6
+ but that is now handled by the release.sh script, who also removes them directly afterwards.
7
+
8
+ If you still just want to download dexie.js to include in a test HTML page, go
9
+ to the following download site:
10
+
11
+ ### Download
12
+ [dexie.min.js](https://unpkg.com/dexie/dist/dexie.min.js)
13
+
14
+ [dexie.min.js.map](https://unpkg.com/dexie/dist/dexie.min.js.map)
15
+
16
+ ### Typings
17
+ [dexie.d.ts](https://unpkg.com/dexie/dist/dexie.d.ts)
18
+
19
+ ### Optional Stuff
20
+ [dexie.js (non-minified version)](https://unpkg.com/dexie/dist/dexie.js)
21
+
22
+ [dexie.js.map](https://unpkg.com/dexie/dist/dexie.js.map)
23
+
24
+ [dexie.min.js.gz (Minified and gzipped)](https://unpkg.com/dexie/dist/dexie.min.js.gz)
25
+
26
+ ## Install from NPM
27
+ ```
28
+ npm install dexie
29
+ ```
30
+
31
+ ## How to build
32
+ 1. cd to dexie package
33
+ 2. npm install
34
+ 3. npm run build
35
+
36
+ ## Contributing to Dexie.js?
37
+
38
+ Watch:
39
+ ```
40
+ npm run watch
41
+ ```
42
+
43
+ Test:
44
+ ```
45
+ npm test
46
+ ```
package/dist/dexie.d.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * By David Fahlander, david.fahlander@gmail.com
6
6
  *
7
- * Version 4.2.0-rc.1, Wed Aug 06 2025
7
+ * Version 4.2.1-rc.1, Mon Aug 25 2025
8
8
  *
9
9
  * https://dexie.org
10
10
  *
package/dist/dexie.js CHANGED
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * By David Fahlander, david.fahlander@gmail.com
6
6
  *
7
- * Version 4.2.0-rc.1, Wed Aug 06 2025
7
+ * Version 4.2.1-rc.1, Mon Aug 25 2025
8
8
  *
9
9
  * https://dexie.org
10
10
  *
@@ -1152,7 +1152,7 @@
1152
1152
  }
1153
1153
  }
1154
1154
 
1155
- var DEXIE_VERSION = '4.2.0-rc.1';
1155
+ var DEXIE_VERSION = '4.2.1-rc.1';
1156
1156
  var maxString = String.fromCharCode(65535);
1157
1157
  var minKey = -Infinity;
1158
1158
  var INVALID_KEY_ARGUMENT = "Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.";
@@ -4148,8 +4148,8 @@
4148
4148
  state.vcFired = true;
4149
4149
  db.on("versionchange").fire(ev);
4150
4150
  });
4151
- idbdb.onclose = wrap(function (ev) {
4152
- db.on("close").fire(ev);
4151
+ idbdb.onclose = wrap(function () {
4152
+ db.close({ disableAutoOpen: false });
4153
4153
  });
4154
4154
  if (wasCreated)
4155
4155
  _onDatabaseCreated(db._deps, dbName);