Skip to content

Commit 0e527ca

Browse files
matt-fiddJohnn27
authored andcommitted
♻️ bump sync-server dependencies (actualbudget#5497)
* bcrypt 5.0.2 -> 6.0.0 * supertest 6.3.4 -> 7.1.4 * pluggy-sdk 0.70.1 -> 0.74.0 * types * better-sqlite3 11.10.0 -> 12.2.0 * express-rate-limit 7.5.0 -> 8.0.1 * babel/core 7.27.1 -> 7.28.0 * typescript 5.8.3 -> 5.9.2 * node types * note * typechecker
1 parent 7e8bd87 commit 0e527ca

File tree

9 files changed

+268
-231
lines changed

9 files changed

+268
-231
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
},
5555
"devDependencies": {
5656
"@octokit/rest": "^22.0.0",
57-
"@types/node": "^22.15.18",
57+
"@types/node": "^22.17.0",
5858
"@types/prompts": "^2.4.9",
5959
"@typescript-eslint/parser": "^8.32.1",
6060
"cross-env": "^7.0.3",
@@ -78,7 +78,7 @@
7878
"prompts": "^2.4.2",
7979
"source-map-support": "^0.5.21",
8080
"ts-node": "^10.9.2",
81-
"typescript": "^5.8.3",
81+
"typescript": "^5.9.2",
8282
"typescript-eslint": "^8.32.1",
8383
"typescript-strict-plugin": "^2.4.4"
8484
},

packages/api/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@
2424
},
2525
"dependencies": {
2626
"@actual-app/crdt": "workspace:^",
27-
"better-sqlite3": "^11.10.0",
27+
"better-sqlite3": "^12.2.0",
2828
"compare-versions": "^6.1.1",
2929
"node-fetch": "^3.3.2",
3030
"uuid": "^11.1.0"
3131
},
3232
"devDependencies": {
3333
"tsc-alias": "^1.8.16",
34-
"typescript": "^5.8.3",
34+
"typescript": "^5.9.2",
3535
"vitest": "^3.2.4"
3636
}
3737
}

packages/crdt/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"@types/google-protobuf": "^3.15.12",
2424
"protoc-gen-js": "^3.21.4-4",
2525
"ts-protoc-gen": "^0.15.0",
26-
"typescript": "^5.8.3",
26+
"typescript": "^5.9.2",
2727
"vitest": "^3.2.4"
2828
}
2929
}

packages/desktop-electron/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
},
9191
"dependencies": {
9292
"@actual-app/sync-server": "workspace:*",
93-
"better-sqlite3": "^11.10.0",
93+
"better-sqlite3": "^12.2.0",
9494
"fs-extra": "^11.3.0",
9595
"promise-retry": "^2.0.1"
9696
},
@@ -104,6 +104,6 @@
104104
"cross-env": "^7.0.3",
105105
"electron": "30.5.1",
106106
"electron-builder": "24.13.3",
107-
"typescript": "^5.8.3"
107+
"typescript": "^5.9.2"
108108
}
109109
}

packages/loot-core/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"@rschedule/standard-date-adapter": "^1.5.0",
2525
"absurd-sql": "0.0.54",
2626
"adm-zip": "patch:adm-zip@npm%3A0.5.16#~/.yarn/patches/adm-zip-npm-0.5.16-4556fea098.patch",
27-
"better-sqlite3": "^11.10.0",
27+
"better-sqlite3": "^12.2.0",
2828
"csv-parse": "^5.6.0",
2929
"csv-stringify": "^6.5.2",
3030
"date-fns": "^4.1.0",
@@ -48,7 +48,7 @@
4848
"@types/better-sqlite3": "^7.6.13",
4949
"@types/emscripten": "^1.40.1",
5050
"@types/jlongster__sql.js": "npm:@types/sql.js@latest",
51-
"@types/node": "^22.15.18",
51+
"@types/node": "^22.17.0",
5252
"@types/pegjs": "^0.10.6",
5353
"@types/webpack": "^5.28.5",
5454
"@types/webpack-bundle-analyzer": "^4.7.0",
@@ -72,7 +72,7 @@
7272
"swc-loader": "^0.2.6",
7373
"terser-webpack-plugin": "^5.3.14",
7474
"ts-node": "^10.9.2",
75-
"typescript": "^5.8.3",
75+
"typescript": "^5.9.2",
7676
"vite-plugin-peggy-loader": "^2.0.1",
7777
"vitest": "^3.2.4",
7878
"webpack": "^5.99.8",

packages/loot-core/src/mocks/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export function patchFetchForSqlJS(baseURL: string) {
6868
vi.spyOn(global, 'fetch').mockImplementation(
6969
async (url: string | URL | Request) => {
7070
if (typeof url === 'string' && url.startsWith(baseURL)) {
71-
return new Response(await fs.readFile(url), {
71+
return new Response(new Uint8Array(await fs.readFile(url)), {
7272
status: 200,
7373
statusText: 'OK',
7474
headers: {

packages/sync-server/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,40 +29,40 @@
2929
"dependencies": {
3030
"@actual-app/crdt": "2.1.0",
3131
"@actual-app/web": "workspace:*",
32-
"bcrypt": "^5.1.1",
33-
"better-sqlite3": "^11.10.0",
32+
"bcrypt": "^6.0.0",
33+
"better-sqlite3": "^12.2.0",
3434
"convict": "^6.2.4",
3535
"cors": "^2.8.5",
3636
"date-fns": "^4.1.0",
3737
"debug": "^4.4.1",
3838
"express": "5.1.0",
39-
"express-rate-limit": "^7.5.0",
39+
"express-rate-limit": "^8.0.1",
4040
"express-winston": "^4.2.0",
4141
"jws": "^4.0.0",
4242
"migrate": "^2.1.0",
4343
"nordigen-node": "^1.4.1",
4444
"openid-client": "^5.7.1",
45-
"pluggy-sdk": "^0.70.1",
45+
"pluggy-sdk": "^0.74.0",
4646
"uuid": "^11.1.0",
4747
"winston": "^3.17.0"
4848
},
4949
"devDependencies": {
50-
"@babel/core": "^7.27.1",
50+
"@babel/core": "^7.28.0",
5151
"@babel/preset-typescript": "^7.27.1",
5252
"@types/babel__core": "^7",
53-
"@types/bcrypt": "^5.0.2",
53+
"@types/bcrypt": "^6.0.0",
5454
"@types/better-sqlite3": "^7.6.13",
5555
"@types/convict": "^6",
56-
"@types/cors": "^2.8.18",
57-
"@types/express": "^5.0.2",
56+
"@types/cors": "^2.8.19",
57+
"@types/express": "^5.0.3",
5858
"@types/express-actuator": "^1.8.3",
59-
"@types/node": "^22.15.18",
60-
"@types/supertest": "^2.0.16",
59+
"@types/node": "^22.17.0",
60+
"@types/supertest": "^6.0.3",
6161
"@vitest/coverage-v8": "3.2.4",
6262
"http-proxy-middleware": "^3.0.5",
6363
"nodemon": "^3.1.10",
64-
"supertest": "^6.3.4",
65-
"typescript": "^5.8.3",
64+
"supertest": "^7.1.4",
65+
"typescript": "^5.9.2",
6666
"vitest": "^3.2.4"
6767
}
6868
}

upcoming-release-notes/5497.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
category: Maintenance
3+
authors: [matt-fidd]
4+
---
5+
6+
Bump dependencies in sync-server package

0 commit comments

Comments
 (0)