diff --git a/packages/api/package.json b/packages/api/package.json index 4f9c4adc949..0e0f2f3d5a3 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "@actual-app/crdt": "workspace:^", - "better-sqlite3": "^9.6.0", + "better-sqlite3": "^11.7.0", "compare-versions": "^6.1.0", "node-fetch": "^3.3.2", "uuid": "^9.0.1" diff --git a/packages/desktop-electron/package.json b/packages/desktop-electron/package.json index ced422a10fc..2e84496302c 100644 --- a/packages/desktop-electron/package.json +++ b/packages/desktop-electron/package.json @@ -85,7 +85,7 @@ "npmRebuild": false }, "dependencies": { - "better-sqlite3": "^9.6.0", + "better-sqlite3": "^11.7.0", "fs-extra": "^11.2.0", "promise-retry": "^2.0.1" }, diff --git a/packages/loot-core/package.json b/packages/loot-core/package.json index f92b6e6cb44..cd8257cba33 100644 --- a/packages/loot-core/package.json +++ b/packages/loot-core/package.json @@ -23,7 +23,7 @@ "@rschedule/standard-date-adapter": "^1.5.0", "absurd-sql": "0.0.54", "adm-zip": "^0.5.10", - "better-sqlite3": "^9.6.0", + "better-sqlite3": "^11.7.0", "csv-parse": "^4.16.3", "csv-stringify": "^5.6.5", "date-fns": "^2.30.0", @@ -45,7 +45,7 @@ "@swc/helpers": "^0.5.11", "@swc/jest": "^0.2.36", "@types/adm-zip": "^0.5.0", - "@types/better-sqlite3": "^7.6.8", + "@types/better-sqlite3": "^7.6.12", "@types/jest": "^27.5.2", "@types/jlongster__sql.js": "npm:@types/sql.js@latest", "@types/pegjs": "^0.10.3", diff --git a/upcoming-release-notes/3987.md b/upcoming-release-notes/3987.md new file mode 100644 index 00000000000..65b048f57e4 --- /dev/null +++ b/upcoming-release-notes/3987.md @@ -0,0 +1,6 @@ +--- +category: Maintenance +authors: [matt-fidd] +--- + +Upgrade better-sqlite3 to v11.7 diff --git a/yarn.lock b/yarn.lock index e39f9406bc8..f6a4ad2ab0c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -28,7 +28,7 @@ __metadata: "@swc/jest": "npm:^0.2.36" "@types/jest": "npm:^27.5.2" "@types/uuid": "npm:^9.0.2" - better-sqlite3: "npm:^9.6.0" + better-sqlite3: "npm:^11.7.0" compare-versions: "npm:^6.1.0" jest: "npm:^27.5.1" node-fetch: "npm:^3.3.2" @@ -5306,12 +5306,12 @@ __metadata: languageName: node linkType: hard -"@types/better-sqlite3@npm:^7.6.8": - version: 7.6.8 - resolution: "@types/better-sqlite3@npm:7.6.8" +"@types/better-sqlite3@npm:^7.6.12": + version: 7.6.12 + resolution: "@types/better-sqlite3@npm:7.6.12" dependencies: "@types/node": "npm:*" - checksum: 10/404e9b7210564866b0f8878353cc6a16c6ffb313077cbb5aec6176ad2b0a30f64236f03f0a40d36d86bf4eab7658bdcd6d6a8a65dc377de7910fc9e9932885a4 + checksum: 10/a442231518f1a3e28e0ee6efe2581807e5cfaa88a8af4513da34e6ae303ce82f5666e8a0048a1d2738fa248b1b369ee28e59a75189ae0b43e28e44a243a2f24b languageName: node linkType: hard @@ -7010,14 +7010,14 @@ __metadata: languageName: node linkType: hard -"better-sqlite3@npm:^9.6.0": - version: 9.6.0 - resolution: "better-sqlite3@npm:9.6.0" +"better-sqlite3@npm:^11.7.0": + version: 11.7.0 + resolution: "better-sqlite3@npm:11.7.0" dependencies: bindings: "npm:^1.5.0" node-gyp: "npm:latest" prebuild-install: "npm:^7.1.1" - checksum: 10/06b3d95221071a06c2e22a9746d9b7049c0bce7962e5e3290ccf088fffbf4d4d52868f0d98b8ae2565fe33b1adab89823145f23c6f6eb63ecc4fc1b883f9082c + checksum: 10/a09bb28c0292bb7c037896ee99197815841275bca2d14f63b58994188239f292642c8c7ea3e0206d8ea6c7530d7b03d7343138ebeb9a4cc855c0b3663e00c812 languageName: node linkType: hard @@ -8690,7 +8690,7 @@ __metadata: "@electron/rebuild": "npm:3.6.0" "@types/copyfiles": "npm:^2" "@types/fs-extra": "npm:^11" - better-sqlite3: "npm:^9.6.0" + better-sqlite3: "npm:^11.7.0" copyfiles: "npm:^2.4.1" cross-env: "npm:^7.0.3" electron: "npm:30.0.6" @@ -13367,7 +13367,7 @@ __metadata: "@swc/helpers": "npm:^0.5.11" "@swc/jest": "npm:^0.2.36" "@types/adm-zip": "npm:^0.5.0" - "@types/better-sqlite3": "npm:^7.6.8" + "@types/better-sqlite3": "npm:^7.6.12" "@types/jest": "npm:^27.5.2" "@types/jlongster__sql.js": "npm:@types/sql.js@latest" "@types/pegjs": "npm:^0.10.3" @@ -13378,7 +13378,7 @@ __metadata: absurd-sql: "npm:0.0.54" adm-zip: "npm:^0.5.10" assert: "npm:^2.1.0" - better-sqlite3: "npm:^9.6.0" + better-sqlite3: "npm:^11.7.0" browserify-zlib: "npm:^0.2.0" buffer: "npm:^6.0.3" cross-env: "npm:^7.0.3"