Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit 6a2ed4f

Browse files
committed
server: Upgrade better-sqlite3 to 8.5.0
1 parent bc60d77 commit 6a2ed4f

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"qstart-electron": "npm run qswitch-electron && TRILIUM_SAFE_MODE=1 TRILIUM_DATA_DIR=./data TRILIUM_SYNC_SERVER_HOST=http://tsyncserver:4000 TRILIUM_ENV=dev electron --inspect=5858 .",
2222
"start-test-server": "npm run qswitch-server; rm -rf ./data-test; cross-env TRILIUM_SAFE_MODE=1 TRILIUM_DATA_DIR=./data-test TRILIUM_SYNC_SERVER_HOST=http://tsyncserver:4000 TRILIUM_ENV=dev TRILIUM_PORT=9999 ts-node src/www.ts",
2323
"switch-server": "rm -rf ./node_modules/better-sqlite3 && npm install",
24-
"switch-electron": "./node_modules/.bin/electron-rebuild",
24+
"switch-electron": "npx electron-rebuild",
2525
"qswitch-server": "rm -rf ./node_modules/better-sqlite3/bin ; mkdir -p ./node_modules/better-sqlite3/build ; cp ./bin/better-sqlite3/linux-server-better_sqlite3.node ./node_modules/better-sqlite3/build/better_sqlite3.node",
2626
"qswitch-electron": "rm -rf ./node_modules/better-sqlite3/bin ; mkdir -p ./node_modules/better-sqlite3/build ; cp ./bin/better-sqlite3/linux-desktop-better_sqlite3.node ./node_modules/better-sqlite3/build/better_sqlite3.node",
2727
"build-backend-docs": "rm -rf ./docs/backend_api && ./node_modules/.bin/jsdoc -c jsdoc-conf.json -d ./docs/backend_api src/becca/entities/*.js src/services/backend_script_api.js src/services/sql.js",
@@ -40,7 +40,7 @@
4040
"archiver": "7.0.0",
4141
"async-mutex": "0.4.1",
4242
"axios": "1.6.7",
43-
"better-sqlite3": "8.4.0",
43+
"better-sqlite3": "8.5.0",
4444
"boxicons": "2.1.4",
4545
"chokidar": "3.6.0",
4646
"cls-hooked": "4.2.2",

0 commit comments

Comments
 (0)