dexie 3.2.5 → 3.2.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.
@@ -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.6, Tue Feb 13 2024
8
8
  *
9
9
  * https://dexie.org
10
10
  *
@@ -113,7 +113,7 @@ function getByKeyPath(obj, keyPath) {
113
113
  var period = keyPath.indexOf('.');
114
114
  if (period !== -1) {
115
115
  var innerObj = obj[keyPath.substr(0, period)];
116
- return innerObj === undefined ? undefined : getByKeyPath(innerObj, keyPath.substr(period + 1));
116
+ return innerObj == null ? undefined : getByKeyPath(innerObj, keyPath.substr(period + 1));
117
117
  }
118
118
  return undefined;
119
119
  }
@@ -1242,7 +1242,7 @@ function tempTransaction(db, mode, storeNames, fn) {
1242
1242
  }
1243
1243
  }
1244
1244
 
1245
- const DEXIE_VERSION = '3.2.5';
1245
+ const DEXIE_VERSION = '3.2.6';
1246
1246
  const maxString = String.fromCharCode(65535);
1247
1247
  const minKey = -Infinity;
1248
1248
  const INVALID_KEY_ARGUMENT = "Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.";