diff --git a/package.json b/package.json index db9107182..3f569ba6a 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "@actual-app/crdt": "2.1.0", "@actual-app/web": "24.12.0", "bcrypt": "^5.1.1", - "better-sqlite3": "^9.6.0", + "better-sqlite3": "^11.7.0", "body-parser": "^1.20.3", "cors": "^2.8.5", "date-fns": "^2.30.0", @@ -43,7 +43,7 @@ "devDependencies": { "@babel/preset-typescript": "^7.20.2", "@types/bcrypt": "^5.0.2", - "@types/better-sqlite3": "^7.6.7", + "@types/better-sqlite3": "^7.6.12", "@types/cors": "^2.8.13", "@types/express": "^4.17.17", "@types/express-actuator": "^1.8.0", diff --git a/upcoming-release-notes/524.md b/upcoming-release-notes/524.md new file mode 100644 index 000000000..282193932 --- /dev/null +++ b/upcoming-release-notes/524.md @@ -0,0 +1,6 @@ +--- +category: Maintenance +authors: [FliegendeWurst] +--- + +Support for Node v22+, by upgrading the better-sqlite3 dependency. diff --git a/yarn.lock b/yarn.lock index 062e31e1d..48c27a66e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1092,12 +1092,12 @@ __metadata: languageName: node linkType: hard -"@types/better-sqlite3@npm:^7.6.7": - version: 7.6.10 - resolution: "@types/better-sqlite3@npm:7.6.10" +"@types/better-sqlite3@npm:^7.6.12": + version: 7.6.12 + resolution: "@types/better-sqlite3@npm:7.6.12" dependencies: "@types/node": "npm:*" - checksum: 10c0/11c4da950e0e1a31270e8c7d98ba34fa5a28fbd3280ffa75945983291d2ec5bc87a9b3b378c21c042249a415d557066a0431da568b83ff9e1bac53eddf4f5adc + checksum: 10c0/5367de7492e2c697aa20cc4024ba26210971d15f60c01ef691eddfbbfd39ccf9f80d5129fd7fd6c76c98804739325e23d2b156b0eac8f5a7665ba374a08ac1e7 languageName: node linkType: hard @@ -1534,7 +1534,7 @@ __metadata: "@actual-app/web": "npm:24.12.0" "@babel/preset-typescript": "npm:^7.20.2" "@types/bcrypt": "npm:^5.0.2" - "@types/better-sqlite3": "npm:^7.6.7" + "@types/better-sqlite3": "npm:^7.6.12" "@types/cors": "npm:^2.8.13" "@types/express": "npm:^4.17.17" "@types/express-actuator": "npm:^1.8.0" @@ -1545,7 +1545,7 @@ __metadata: "@typescript-eslint/eslint-plugin": "npm:^5.51.0" "@typescript-eslint/parser": "npm:^5.51.0" bcrypt: "npm:^5.1.1" - better-sqlite3: "npm:^9.6.0" + better-sqlite3: "npm:^11.7.0" body-parser: "npm:^1.20.3" cors: "npm:^2.8.5" date-fns: "npm:^2.30.0" @@ -1854,14 +1854,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: 10c0/8db9b38f414e26a56d4c40fc16e94a253118491dae0e2c054338a9e470f1a883c7eb4cb330f2f5737db30f704d4f2e697c59071ca04e03364ee9fe04375aa9c8 + checksum: 10c0/66e78fb7e12f55dd78469efec7f6fcf69079e149e974be9ea24befac7c67b8fe0e23a419cae412ac4ea025c73841d8d54bd222eece1c007485e3f6bd56fd1c94 languageName: node linkType: hard