@peerbit/indexer-sqlite3
Advanced tools
Comparing version 1.1.1-9559b10 to 1.1.1-9aa0186
@@ -363,5 +363,3 @@ /* | ||
sabView: state.sabFileBufView, | ||
readOnly: create | ||
? false | ||
: state.sq3Codes.SQLITE_OPEN_READONLY & flags, | ||
readOnly: !create && !!(state.sq3Codes.SQLITE_OPEN_READONLY & flags), | ||
deleteOnClose: !!(state.sq3Codes.SQLITE_OPEN_DELETEONCLOSE & flags), | ||
@@ -434,3 +432,3 @@ }); | ||
const fh = __openFiles[fid]; | ||
if (state.sq3Codes.SQLITE_LOCK_NONE === lockType && fh.syncHandle) { | ||
if (fh.syncHandle && state.sq3Codes.SQLITE_LOCK_NONE === lockType) { | ||
try { | ||
@@ -437,0 +435,0 @@ await closeSyncHandle(fh); |
{ | ||
"name": "@peerbit/indexer-sqlite3", | ||
"version": "1.1.1-9559b10", | ||
"version": "1.1.1-9aa0186", | ||
"description": "SQLite index for document store", | ||
@@ -72,10 +72,10 @@ "type": "module", | ||
"dependencies": { | ||
"better-sqlite3": "^11.3.0", | ||
"@peerbit/indexer-interface": "1.1.1-9559b10", | ||
"@sqlite.org/sqlite-wasm": "^3.46.1-build3" | ||
"better-sqlite3": "^11.5.0", | ||
"@peerbit/indexer-interface": "1.1.1-9aa0186", | ||
"@sqlite.org/sqlite-wasm": "^3.47.0-build1" | ||
}, | ||
"devDependencies": { | ||
"@types/better-sqlite3": "^7.6.11", | ||
"@peerbit/indexer-tests": "1.1.1-9559b10" | ||
"@peerbit/indexer-tests": "1.1.1-9aa0186" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
18
6324635
100394
+ Added@peerbit/cache@2.1.0-9aa0186(transitive)
+ Added@peerbit/crypto@2.3.2-9aa0186(transitive)
+ Added@peerbit/indexer-interface@1.1.1-9aa0186(transitive)
+ Added@sqlite.org/sqlite-wasm@3.47.0-build1(transitive)
- Removed@peerbit/cache@2.1.0-9559b10(transitive)
- Removed@peerbit/crypto@2.3.2-9559b10(transitive)
- Removed@peerbit/indexer-interface@1.1.1-9559b10(transitive)
- Removed@sqlite.org/sqlite-wasm@3.46.1-build5(transitive)
Updatedbetter-sqlite3@^11.5.0