@peerbit/indexer-sqlite3
Advanced tools
Comparing version 1.1.1-b6f9aa8 to 1.1.1-c577601
@@ -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-b6f9aa8", | ||
"version": "1.1.1-c577601", | ||
"description": "SQLite index for document store", | ||
@@ -72,10 +72,10 @@ "type": "module", | ||
"dependencies": { | ||
"better-sqlite3": "^11.3.0", | ||
"@peerbit/indexer-interface": "1.1.1-b6f9aa8", | ||
"@sqlite.org/sqlite-wasm": "^3.46.1-build3" | ||
"better-sqlite3": "^11.5.0", | ||
"@peerbit/indexer-interface": "1.1.1-c577601", | ||
"@sqlite.org/sqlite-wasm": "^3.47.0-build1" | ||
}, | ||
"devDependencies": { | ||
"@types/better-sqlite3": "^7.6.11", | ||
"@peerbit/indexer-tests": "1.1.1-b6f9aa8" | ||
"@peerbit/indexer-tests": "1.1.1-c577601" | ||
} | ||
} |
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-c577601(transitive)
+ Added@peerbit/crypto@2.3.2-c577601(transitive)
+ Added@peerbit/indexer-interface@1.1.1-c577601(transitive)
+ Added@sqlite.org/sqlite-wasm@3.47.0-build1(transitive)
- Removed@peerbit/cache@2.1.0-b6f9aa8(transitive)
- Removed@peerbit/crypto@2.3.2-b6f9aa8(transitive)
- Removed@peerbit/indexer-interface@1.1.1-b6f9aa8(transitive)
- Removed@sqlite.org/sqlite-wasm@3.46.1-build5(transitive)
Updatedbetter-sqlite3@^11.5.0