indexeddbshim 17.3.3 → 17.4.0
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/README.md +3 -146
- package/dist/CFG.d.ts +1 -0
- package/dist/CFG.d.ts.map +1 -1
- package/dist/DOMException.d.ts +4 -4
- package/dist/DOMException.d.ts.map +1 -1
- package/dist/IDBFactory.d.ts.map +1 -1
- package/dist/IDBTransaction.d.ts +8 -6
- package/dist/IDBTransaction.d.ts.map +1 -1
- package/dist/Key.d.ts.map +1 -1
- package/dist/Sca.d.ts.map +1 -1
- package/dist/indexeddbshim-Key.js +54 -14
- package/dist/indexeddbshim-Key.js.map +1 -1
- package/dist/indexeddbshim-Key.min.js +2 -2
- package/dist/indexeddbshim-Key.min.js.map +1 -1
- package/dist/indexeddbshim-UnicodeIdentifiers-node.cjs +212 -80
- package/dist/indexeddbshim-UnicodeIdentifiers-node.cjs.map +1 -1
- package/dist/indexeddbshim-UnicodeIdentifiers.js +201 -79
- package/dist/indexeddbshim-UnicodeIdentifiers.js.map +1 -1
- package/dist/indexeddbshim-UnicodeIdentifiers.min.js +3 -3
- package/dist/indexeddbshim-UnicodeIdentifiers.min.js.map +1 -1
- package/dist/indexeddbshim-node.cjs +212 -80
- package/dist/indexeddbshim-node.cjs.map +1 -1
- package/dist/indexeddbshim-noninvasive.js +201 -79
- package/dist/indexeddbshim-noninvasive.js.map +1 -1
- package/dist/indexeddbshim-noninvasive.min.js +3 -3
- package/dist/indexeddbshim-noninvasive.min.js.map +1 -1
- package/dist/indexeddbshim.js +201 -79
- package/dist/indexeddbshim.js.map +1 -1
- package/dist/indexeddbshim.min.js +3 -3
- package/dist/indexeddbshim.min.js.map +1 -1
- package/dist/nodeSQLiteDatabase.d.ts.map +1 -1
- package/dist/nodeWebSQL.d.ts.map +1 -1
- package/package.json +8 -9
- package/src/CFG.js +2 -0
- package/src/DOMException.js +21 -21
- package/src/IDBFactory.js +88 -39
- package/src/IDBObjectStore.js +1 -1
- package/src/IDBTransaction.js +7 -1
- package/src/Key.js +34 -12
- package/src/Sca.js +53 -3
- package/src/nodeSQLiteDatabase.js +10 -1
- package/src/nodeWebSQL.js +3 -0
- package/src/setGlobalVars.js +3 -3
package/src/setGlobalVars.js
CHANGED
|
@@ -368,7 +368,7 @@ function setGlobalVars (idb, initialConfig) {
|
|
|
368
368
|
!navigator.userAgent.includes('Chrome')
|
|
369
369
|
) ||
|
|
370
370
|
(
|
|
371
|
-
// Bad non-Safari iOS9 support (see <https://github.com/
|
|
371
|
+
// Bad non-Safari iOS9 support (see <https://github.com/indexeddbshim/IndexedDBShim/issues/252>)
|
|
372
372
|
(!navigator.userAgent.includes('Safari') || navigator.userAgent.includes('Chrome')) && // Exclude genuine Safari: https://stackoverflow.com/a/7768006/271577
|
|
373
373
|
// Detect iOS: https://stackoverflow.com/questions/9038625/detect-if-device-is-ios/9039885#9039885
|
|
374
374
|
// and detect version 9: https://stackoverflow.com/a/26363560/271577
|
|
@@ -381,8 +381,8 @@ function setGlobalVars (idb, initialConfig) {
|
|
|
381
381
|
if (!CFG.DEFAULT_DB_SIZE) {
|
|
382
382
|
CFG.DEFAULT_DB_SIZE = (
|
|
383
383
|
( // Safari currently requires larger size: (We don't need a larger size for Node as node-websql doesn't use this info)
|
|
384
|
-
// https://github.com/
|
|
385
|
-
// https://github.com/
|
|
384
|
+
// https://github.com/indexeddbshim/IndexedDBShim/issues/41
|
|
385
|
+
// https://github.com/indexeddbshim/IndexedDBShim/issues/115
|
|
386
386
|
typeof navigator !== 'undefined' &&
|
|
387
387
|
// React Native
|
|
388
388
|
navigator.userAgent &&
|