@live-change/db-web
Advanced tools
Comparing version 0.1.13 to 0.1.14
@@ -119,9 +119,11 @@ const ScriptContext = require('@live-change/db/lib/WebScriptContext.js') | ||
const database = new Database( | ||
dbConfig, | ||
(name, config) => dbStore.getStore(name, config), | ||
(configToSave) => { | ||
this.metadata.databases[dbName] = configToSave | ||
this.saveMetadata() | ||
}, | ||
(name) => dbStore.deleteStore(name)) | ||
dbConfig, | ||
(name, config) => dbStore.getStore(name, config), | ||
(configToSave) => { | ||
this.metadata.databases[dbName] = configToSave | ||
this.saveMetadata() | ||
}, | ||
(name) => dbStore.deleteStore(name), | ||
(context) => new ScriptContext(context) | ||
) | ||
database.onAutoRemoveIndex = (name, uid) => { | ||
@@ -128,0 +130,0 @@ this.databases.get('system').table(dbName+'_indexes').delete(uid) |
{ | ||
"name": "@live-change/db-web", | ||
"version": "0.1.13", | ||
"version": "0.1.14", | ||
"author": { | ||
@@ -30,11 +30,10 @@ "email": "michal@laszczewski.com", | ||
"devDependencies": { | ||
"tape": "^5.0.1" | ||
"tape": "^5.2.2" | ||
}, | ||
"dependencies": { | ||
"@live-change/dao": "^0.2.16", | ||
"@live-change/db": "^0.3.54", | ||
"@live-change/db-store-level": "^0.1.13", | ||
"@live-change/db": "^0.3.62", | ||
"@live-change/db-store-rbtree": "^0.1.1", | ||
"debug": "^4.1.1" | ||
"debug": "^4.3.1" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4
65402
6907508
- Removed@live-change/db-store-level@^0.1.13
- Removed@live-change/db-store-level@0.1.15(transitive)
Updated@live-change/db@^0.3.62
Updateddebug@^4.3.1