idb-bridge: fix typo in rollback
This commit is contained in:
parent
d9297f3dfd
commit
faedf69762
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "idb-bridge",
|
||||
"version": "0.0.10",
|
||||
"version": "0.0.11",
|
||||
"description": "IndexedDB implementation that uses SQLite3 as storage",
|
||||
"main": "./build/index.js",
|
||||
"types": "./build/index.d.ts",
|
||||
@ -13,6 +13,6 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"ava": "2.3.0",
|
||||
"typescript": "^3.4.5"
|
||||
"typescript": "^3.7.0"
|
||||
}
|
||||
}
|
||||
|
@ -1445,7 +1445,7 @@ export class MemoryBackend implements Backend {
|
||||
objectStore.modifiedKeyGenerator = undefined;
|
||||
objectStore.modifiedIndexes = {};
|
||||
|
||||
for (const indexName in Object.keys(
|
||||
for (const indexName of Object.keys(
|
||||
db.committedSchema.objectStores[objectStoreName].indexes,
|
||||
)) {
|
||||
const index = objectStore.committedIndexes[indexName];
|
||||
|
@ -823,7 +823,7 @@ if (Symbol && Symbol.iterator) // iterator is equivalent to entries()
|
||||
(BTree as any).prototype.setRange = BTree.prototype.setPairs;
|
||||
(BTree as any).prototype.add = BTree.prototype.set;
|
||||
|
||||
function iterator<T>(next: () => {done:boolean,value?:T} = (() => ({ done:true, value:undefined }))): IterableIterator<T> {
|
||||
function iterator<T>(next: () => {done?:boolean,value?:T} = (() => ({ done:true, value:undefined }))): IterableIterator<T> {
|
||||
var result: any = { next };
|
||||
if (Symbol && Symbol.iterator)
|
||||
result[Symbol.iterator] = function() { return this; };
|
||||
|
@ -2534,10 +2534,10 @@ typedarray-to-buffer@^3.1.5:
|
||||
dependencies:
|
||||
is-typedarray "^1.0.0"
|
||||
|
||||
typescript@^3.4.5:
|
||||
version "3.5.3"
|
||||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.5.3.tgz#c830f657f93f1ea846819e929092f5fe5983e977"
|
||||
integrity sha512-ACzBtm/PhXBDId6a6sDJfroT2pOWt/oOnk4/dElG5G33ZL776N3Y6/6bKZJBFpd+b05F3Ct9qDjMeJmRWtE2/g==
|
||||
typescript@^3.7.0:
|
||||
version "3.7.2"
|
||||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.7.2.tgz#27e489b95fa5909445e9fef5ee48d81697ad18fb"
|
||||
integrity sha512-ml7V7JfiN2Xwvcer+XAf2csGO1bPBdRbFCkYBczNZggrBZ9c7G3riSUeJmqEU5uOtXNPMhE3n+R4FA/3YOAWOQ==
|
||||
|
||||
uid2@0.0.3:
|
||||
version "0.0.3"
|
||||
|
Loading…
Reference in New Issue
Block a user