dexie 3.2.5 → 3.2.7

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.mjs CHANGED
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * By David Fahlander, david.fahlander@gmail.com
6
6
  *
7
- * Version 3.2.5, Thu Feb 08 2024
7
+ * Version 3.2.7, Wed Mar 20 2024
8
8
  *
9
9
  * https://dexie.org
10
10
  *
@@ -145,7 +145,7 @@ function getByKeyPath(obj, keyPath) {
145
145
  var period = keyPath.indexOf('.');
146
146
  if (period !== -1) {
147
147
  var innerObj = obj[keyPath.substr(0, period)];
148
- return innerObj === undefined ? undefined : getByKeyPath(innerObj, keyPath.substr(period + 1));
148
+ return innerObj == null ? undefined : getByKeyPath(innerObj, keyPath.substr(period + 1));
149
149
  }
150
150
  return undefined;
151
151
  }
@@ -1281,7 +1281,7 @@ function tempTransaction(db, mode, storeNames, fn) {
1281
1281
  }
1282
1282
  }
1283
1283
 
1284
- var DEXIE_VERSION = '3.2.5';
1284
+ var DEXIE_VERSION = '3.2.7';
1285
1285
  var maxString = String.fromCharCode(65535);
1286
1286
  var minKey = -Infinity;
1287
1287
  var INVALID_KEY_ARGUMENT = "Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.";