IndexedDBShim
IndexedDBShim copied to clipboard
A polyfill for IndexedDB using WebSql
This will hopefully resolve the ordering issue listed in https://github.com/dfahlander/Dexie.js/issues/709 https://github.com/dfahlander/Dexie.js/issues/701 as referred from https://github.com/axemclion/IndexedDBShim/issues/325.
The newer version of globalVars uses a revised RegExp as follows: (/(iPad|iPhone|iPod).* os 9_/ui).test(navigator.userAgent) The u (unicode) flag is new for ES6. This new RegExp fails to instantiate in older...
Hi, I tried to use indeeddbshim with FBs jest, but I got: ` TypeError: Illegal invocation` Here's the stacktrace: ` at Window.get [as indexedDB] (node_modules/indexeddbshim/dist/indexeddbshim-node.js:11625:33) at shim (node_modules/indexeddbshim/dist/indexeddbshim-node.js:11557:24) at IDBFactory.IDB.shimIndexedDB.__useShim...
Hi! Thanks for an extreemely valuable polyfill! I was wondering about the status of using this shim to polyfill the lack of compound- and multiEntry indexes in IE and Edge....
I would like to use this library together with something like https://github.com/craftzdog/react-native-sqlite-2 (which provides a WebSQL compatible interface through SQLite) to get Indexeddb support on React-Native. I was hopeing this...
Apparently there is a new `durability` option (though not showing in docs yet) - https://github.com/w3c/IndexedDB/blob/durability/index.bs - (as `relaxedDurability`) https://github.com/web-platform-tests/wpt/commit/7561b155e100d0db088c9185457eb611313f6807#diff-b66b856833f34a841b51c7207dbc601f
It'd be rather interesting to see how IndexedDBShim compared to use of headless Chrome's IndexedDB if anyone were interested to find out.
Add `commit` method and update per https://github.com/w3c/IndexedDB/pull/242/files , including changing variable names to match the flag changes (for easier debugging).
In IDBDatabase.js an array is kept which stores all transactions: https://github.com/axemclion/IndexedDBShim/blob/7a2bd336cc0f60245ec308b25b112d857315c90a/src/IDBDatabase.js#L36 This array never has elements removed and will grow indefinitely as an application runs resulting in out of control...