Skip to content

Commit 6d57320

Browse files
Upgrade packages (#58)
* Upgrade packages with patch version outdated * Upgrade inversify, TypeORM and typescript * Upgrade eslint * Upgrade dotenv and zod * Upgrade jest packages * Replace eslint deprecated function
1 parent 8ebcaf0 commit 6d57320

File tree

3 files changed

+1396
-1349
lines changed

3 files changed

+1396
-1349
lines changed

eslint.config.mjs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ import stylistic from '@stylistic/eslint-plugin';
44
import jseslint from '@eslint/js';
55
import tseslint from 'typescript-eslint';
66
import globals from 'globals';
7+
import { defineConfig } from 'eslint/config';
78

8-
export default tseslint.config(
9+
export default defineConfig(
910
{
1011
ignores: ['build/*', 'src/infra/database/migrations/*', 'jest.config.ts', '**/tmp/**', '**/coverage/**', 'eslint.config.mjs'],
1112
},
@@ -85,8 +86,9 @@ export default tseslint.config(
8586
"@stylistic/array-bracket-spacing": ["warn", "never"],
8687
"@stylistic/array-element-newline": ["warn", "consistent"],
8788
"@stylistic/arrow-spacing": "warn",
88-
"@stylistic/block-spacing": "warn",
89-
"@stylistic/brace-style": ["warn", "1tbs", { "allowSingleLine": true }],
89+
"@stylistic/object-curly-newline": ["warn", { "multiline": true, "consistent": true }],
90+
"@stylistic/object-curly-spacing": ["warn", "always"],
91+
"@stylistic/object-property-newline": ["warn", { "allowAllPropertiesOnSameLine": true }],
9092
"@stylistic/comma-spacing": ["warn", { "before": false, "after": true }],
9193
"@stylistic/computed-property-spacing": ["warn", "never"],
9294
"@stylistic/comma-style": ["warn", "last"],
@@ -116,7 +118,6 @@ export default tseslint.config(
116118
"@stylistic/no-trailing-spaces": "warn",
117119
"@stylistic/no-whitespace-before-property": "warn",
118120
"@stylistic/nonblock-statement-body-position": ["warn", "beside"],
119-
"@stylistic/object-curly-spacing": ["warn", "always"],
120121
"@stylistic/quote-props": ["warn", "as-needed"],
121122
"@stylistic/quotes": ["warn", "single", { "avoidEscape": true }],
122123
"@stylistic/rest-spread-spacing": "warn",

package.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -28,43 +28,43 @@
2828
"dependencies": {
2929
"bcryptjs": "3.0.2",
3030
"cors": "2.8.5",
31-
"dotenv": "16.5.0",
31+
"dotenv": "17.2.2",
3232
"express": "5.1.0",
3333
"helmet": "8.1.0",
34-
"inversify": "7.5.1",
34+
"inversify": "7.9.1",
3535
"jsonwebtoken": "9.0.2",
36-
"morgan": "1.10.0",
37-
"pg": "8.16.0",
36+
"morgan": "1.10.1",
37+
"pg": "8.16.3",
3838
"reflect-metadata": "0.2.2",
3939
"tslib": "2.8.1",
40-
"typeorm": "0.3.24",
40+
"typeorm": "0.3.26",
4141
"uuid": "11.1.0",
42-
"zod": "3.25.28"
42+
"zod": "4.1.7"
4343
},
4444
"devDependencies": {
4545
"@eslint-community/eslint-plugin-eslint-comments": "4.5.0",
46-
"@eslint/js": "9.27.0",
47-
"@stylistic/eslint-plugin": "4.4.0",
46+
"@eslint/js": "9.35.0",
47+
"@stylistic/eslint-plugin": "5.3.1",
4848
"@types/bcryptjs": "3.0.0",
49-
"@types/cors": "2.8.18",
50-
"@types/express": "5.0.2",
51-
"@types/jest": "29.5.14",
52-
"@types/jsonwebtoken": "9.0.9",
53-
"@types/morgan": "1.9.9",
54-
"@types/node": "22.15.21",
49+
"@types/cors": "2.8.19",
50+
"@types/express": "5.0.3",
51+
"@types/jest": "30.0.0",
52+
"@types/jsonwebtoken": "9.0.10",
53+
"@types/morgan": "1.9.10",
54+
"@types/node": "24.3.1",
5555
"@types/supertest": "6.0.3",
56-
"eslint": "9.27.0",
57-
"eslint-import-resolver-typescript": "4.4.1",
58-
"eslint-plugin-import": "2.31.0",
59-
"jest": "29.7.0",
60-
"jest-mock-extended": "4.0.0-beta1",
56+
"eslint": "9.35.0",
57+
"eslint-import-resolver-typescript": "4.4.4",
58+
"eslint-plugin-import": "2.32.0",
59+
"jest": "30.1.3",
60+
"jest-mock-extended": "4.0.0",
6161
"nodemon": "3.1.10",
62-
"supertest": "7.1.1",
63-
"ts-jest": "29.3.4",
62+
"supertest": "7.1.4",
63+
"ts-jest": "29.4.1",
6464
"ts-node": "10.9.2",
6565
"tsc-alias": "1.8.16",
6666
"tsconfig-paths": "4.2.0",
67-
"typescript": "5.8.3",
68-
"typescript-eslint": "8.32.1"
67+
"typescript": "5.9.2",
68+
"typescript-eslint": "8.43.0"
6969
}
7070
}

0 commit comments

Comments
 (0)