dexie 4.4.4 → 4.4.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/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.4.4, Tue Jun 16 2026
7
+ * Version 4.4.6, Thu Sep 10 2026
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.4.4, Tue Jun 16 2026
7
+ * Version 4.4.6, Thu Sep 10 2026
8
8
  *
9
9
  * https://dexie.org
10
10
  *
@@ -528,8 +528,9 @@
528
528
  function hookUpdatingChain(f1, f2) {
529
529
  if (f1 === nop)
530
530
  return f2;
531
- return function (modifications) {
531
+ return function () {
532
532
  var res = f1.apply(this, arguments);
533
+ var modifications = arguments[0];
533
534
  extend(modifications, res);
534
535
  var onsuccess = this.onsuccess,
535
536
  onerror = this.onerror;
@@ -1227,7 +1228,7 @@
1227
1228
  }
1228
1229
  }
1229
1230
 
1230
- var DEXIE_VERSION = '4.4.4';
1231
+ var DEXIE_VERSION = '4.4.6';
1231
1232
  var maxString = String.fromCharCode(65535);
1232
1233
  var minKey = -Infinity;
1233
1234
  var INVALID_KEY_ARGUMENT = 'Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.';
@@ -4772,7 +4773,7 @@
4772
4773
  return __assign(__assign({}, down), { table: function (tableName) {
4773
4774
  var table = down.table(tableName);
4774
4775
  var schema = table.schema;
4775
- var indexLookup = {};
4776
+ var indexLookup = Object.create(null);
4776
4777
  var allVirtualIndexes = [];
4777
4778
  function addVirtualIndexes(keyPath, keyTail, lowLevelIndex) {
4778
4779
  var keyPathAlias = getKeyPathAlias(keyPath);