fake-indexeddb 1.0.11 → 1.0.12
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/fakeIndexedDB.js +1 -1
- package/lib/FDBCursor.js +1 -1
- package/package.json +1 -1
package/dist/fakeIndexedDB.js
CHANGED
|
@@ -435,7 +435,7 @@ module.exports = function (source, range, direction, request) {
|
|
|
435
435
|
tempKey = extractKey(effectiveObjectStore.keyPath, value);
|
|
436
436
|
} catch (err) { /* Handled immediately below */ }
|
|
437
437
|
|
|
438
|
-
if (tempKey !==
|
|
438
|
+
if (cmp(tempKey, effectiveKey) !== 0) {
|
|
439
439
|
throw new DataError();
|
|
440
440
|
}
|
|
441
441
|
}
|
package/lib/FDBCursor.js
CHANGED
|
@@ -224,7 +224,7 @@ module.exports = function (source, range, direction, request) {
|
|
|
224
224
|
tempKey = extractKey(effectiveObjectStore.keyPath, value);
|
|
225
225
|
} catch (err) { /* Handled immediately below */ }
|
|
226
226
|
|
|
227
|
-
if (tempKey !==
|
|
227
|
+
if (cmp(tempKey, effectiveKey) !== 0) {
|
|
228
228
|
throw new DataError();
|
|
229
229
|
}
|
|
230
230
|
}
|
package/package.json
CHANGED