From 54613da94bdf54d44ee511fc4a0e7369bd49c827 Mon Sep 17 00:00:00 2001 From: John-Michael O'Brien Date: Wed, 9 Oct 2024 17:08:25 -0600 Subject: [PATCH] Aligned ESLint and TS values and fixed linting --- eslint.config.mjs | 30 ++-- package.json | 36 ++--- tsconfig.eslint.json | 5 +- yarn.lock | 320 ++++++++++++++++++++++++++++--------------- 4 files changed, 256 insertions(+), 135 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 21384f4..3480224 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -21,6 +21,16 @@ import prettierConfig from "eslint-config-prettier"; import jestEslint from "eslint-plugin-jest"; export default tseslint.config( + { + ignores: [ + ".yarn/", + ".yarn/*", + ".husky/", + ".husky/*", + "**/dist/**", + "**/node_modules/**", + ], + }, eslint.configs.recommended, ...tseslint.configs.strictTypeChecked, { @@ -29,6 +39,7 @@ export default tseslint.config( parser: tseslint.parser, parserOptions: { project: "tsconfig.eslint.json", + //projectService: true, }, }, plugins: { @@ -64,14 +75,6 @@ export default tseslint.config( ], }, }, - { - files: ["eslint.config.mjs"], - rules: { - "@typescript-eslint/no-unsafe-argument": "off", - "@typescript-eslint/no-unsafe-member-access": "off", - "@typescript-eslint/no-unsafe-assignment": "off", - }, - }, // And specific rules for test code { files: ["**/*.test.ts"], @@ -82,11 +85,22 @@ export default tseslint.config( }, rules: { "@typescript-eslint/no-unsafe-assignment": "off", + "@typescript-eslint/no-unsafe-call": "off", + "@typescript-eslint/no-unsafe-member-access": "off", "@typescript-eslint/no-unsafe-return": "off", "@typescript-eslint/no-non-null-assertion": "off", "jest/no-disabled-tests": "off", }, }, + // Rules specifically for the configuration file + { + files: ["eslint.config.mjs"], + rules: { + "@typescript-eslint/no-unsafe-argument": "off", + "@typescript-eslint/no-unsafe-member-access": "off", + "@typescript-eslint/no-unsafe-assignment": "off", + }, + }, // Disable rules that conflict with prettier prettierConfig, ); diff --git a/package.json b/package.json index 79c79ce..26b4b23 100644 --- a/package.json +++ b/package.json @@ -4,10 +4,12 @@ "license": "Apache-2.0", "version": "0.3.0", "devDependencies": { - "@eslint/js": "^9.10.0", + "@eslint/js": "^9.12.0", "@tsconfig/node20": "^20.1.4", + "@types/eslint-config-prettier": "^6.11.3", + "@types/eslint__js": "^8.42.3", "@types/express": "^4.17.21", - "@types/jest": "^29.5.12", + "@types/jest": "^29.5.13", "@types/node": "^20.16.5", "@types/source-map-support": "^0", "@types/supertest": "^6.0.2", @@ -15,33 +17,33 @@ "axios": "^1.7.7", "axios-mock-adapter": "^1.22.0", "concurrently": "^8.2.2", - "eslint": "^9.2.0", + "eslint": "^9.12.0", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-jest": "^28.5.0", - "husky": "^9.0.11", + "eslint-plugin-jest": "^28.8.3", + "husky": "^9.1.6", "jest": "^29.7.0", "jest-extended": "^4.0.2", "jest-junit": "^16.0.0", - "lint-staged": "^15.2.2", - "node-mocks-http": "^1.14.1", - "nodemon": "^3.1.0", + "lint-staged": "^15.2.10", + "node-mocks-http": "^1.16.1", + "nodemon": "^3.1.7", "pinst": "^3.0.0", - "prettier": "^3.2.5", + "prettier": "^3.3.3", "supertest": "^7.0.0", - "ts-jest": "^29.1.2", + "ts-jest": "^29.2.5", "ts-node": "^10.9.2", "tsconfig-paths": "^4.2.0", - "typescript": "^5.5.4", - "typescript-eslint": "^8.8.0", + "typescript": "~5.5.4", + "typescript-eslint": "^8.8.1", "wait-on": "^8.0.1" }, "dependencies": { "date-fns": "^4.1.0", "dotenv": "^16.4.5", - "express": "^4.19.2", - "openapi-backend": "^5.10.6", - "pino": "^8.8.0", - "pino-http": "^8.5.1", + "express": "^4.21.1", + "openapi-backend": "^5.11.0", + "pino": "^8.21.0", + "pino-http": "^8.6.1", "source-map-support": "^0.5.21" }, "scripts": { @@ -50,7 +52,7 @@ "start": "node ./dist/src/index.js", "dev": "ts-node ./src/index.ts", "watch": "nodemon src/index.ts", - "lint": "eslint --max-warnings=0 ./src ./eslint.config.mjs ./jest.config.ts", + "lint": "eslint --max-warnings=0", "clean": "tsc --build --clean", "fmt": "prettier --write .", "fmt-chk": "prettier --check .", diff --git a/tsconfig.eslint.json b/tsconfig.eslint.json index 839a7c1..2725a44 100644 --- a/tsconfig.eslint.json +++ b/tsconfig.eslint.json @@ -1,8 +1,11 @@ { "extends": "./tsconfig.json", + "compilerOptions": { + "allowJs": true + }, "include": [ "src/**/*.ts", - "src/**/*.js", + "package.json", "eslint.config.mjs", "jest.config.ts" ] diff --git a/yarn.lock b/yarn.lock index 24d547c..7f29680 100644 --- a/yarn.lock +++ b/yarn.lock @@ -488,10 +488,10 @@ __metadata: languageName: node linkType: hard -"@eslint/js@npm:9.11.1, @eslint/js@npm:^9.10.0": - version: 9.11.1 - resolution: "@eslint/js@npm:9.11.1" - checksum: 10/77b9c744bdf24e2ca1f99f671139767d6c31cb10d732cf22a85ef28f1f95f2a621cf204f572fd9fee67da6193ff2597a5d236cef3b557b07624230b622612339 +"@eslint/js@npm:9.12.0, @eslint/js@npm:^9.12.0": + version: 9.12.0 + resolution: "@eslint/js@npm:9.12.0" + checksum: 10/c4ec9f7ff664f778324002bccdfd63e4a563018e4d7efc838d8149898f9df8649fbc51a379c3d7deea40da4fba9e8e62f39f2df3ff2b9616e2241bbfc10456b0 languageName: node linkType: hard @@ -527,6 +527,23 @@ __metadata: languageName: node linkType: hard +"@humanfs/core@npm:^0.19.0": + version: 0.19.0 + resolution: "@humanfs/core@npm:0.19.0" + checksum: 10/9c4f96b9e934b7d2f69c5ee8b9414dcaf5c5a03225eb08f8ace3b80429c0fc796e11c4e2ef182172790e7b4560b1137ef984da4dc9662cdd5e3e92baceb02821 + languageName: node + linkType: hard + +"@humanfs/node@npm:^0.16.5": + version: 0.16.5 + resolution: "@humanfs/node@npm:0.16.5" + dependencies: + "@humanfs/core": "npm:^0.19.0" + "@humanwhocodes/retry": "npm:^0.3.0" + checksum: 10/16e49b5f9d4a3cf8205af18f0909b8c6e00faa70a0e01bc606b413423ee20123e53028b6ca22c57725595341d62e148cd1908c297a761ee495087cc674f7b0a6 + languageName: node + linkType: hard + "@humanwhocodes/module-importer@npm:^1.0.1": version: 1.0.1 resolution: "@humanwhocodes/module-importer@npm:1.0.1" @@ -534,7 +551,7 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/retry@npm:^0.3.0": +"@humanwhocodes/retry@npm:^0.3.0, @humanwhocodes/retry@npm:^0.3.1": version: 0.3.1 resolution: "@humanwhocodes/retry@npm:0.3.1" checksum: 10/eb457f699529de7f07649679ec9e0353055eebe443c2efe71c6dd950258892475a038e13c6a8c5e13ed1fb538cdd0a8794faa96b24b6ffc4c87fb1fc9f70ad7f @@ -881,7 +898,7 @@ __metadata: languageName: node linkType: hard -"@nodelib/fs.walk@npm:^1.2.3, @nodelib/fs.walk@npm:^1.2.8": +"@nodelib/fs.walk@npm:^1.2.3": version: 1.2.8 resolution: "@nodelib/fs.walk@npm:1.2.8" dependencies: @@ -1070,7 +1087,33 @@ __metadata: languageName: node linkType: hard -"@types/estree@npm:^1.0.6": +"@types/eslint-config-prettier@npm:^6.11.3": + version: 6.11.3 + resolution: "@types/eslint-config-prettier@npm:6.11.3" + checksum: 10/b69ad5d7452f614450fcaf78b4055cfb11afb632f1ef292a3229cb5ac9a7041106a85cf634c570fbd3bb9db59c8fee7ca0e32a059e6fcad2477e22d81d5c3ef3 + languageName: node + linkType: hard + +"@types/eslint@npm:*": + version: 9.6.1 + resolution: "@types/eslint@npm:9.6.1" + dependencies: + "@types/estree": "npm:*" + "@types/json-schema": "npm:*" + checksum: 10/719fcd255760168a43d0e306ef87548e1e15bffe361d5f4022b0f266575637acc0ecb85604ac97879ee8ae83c6a6d0613b0ed31d0209ddf22a0fe6d608fc56fe + languageName: node + linkType: hard + +"@types/eslint__js@npm:^8.42.3": + version: 8.42.3 + resolution: "@types/eslint__js@npm:8.42.3" + dependencies: + "@types/eslint": "npm:*" + checksum: 10/e31f19de642d35a664695d0cab873ce6de19b8a3506755835b91f8a49a8c41099dcace449df49f1a486de6fa6565d21ceb1fa33be6004fc7adef9226e5d256a1 + languageName: node + linkType: hard + +"@types/estree@npm:*, @types/estree@npm:^1.0.6": version: 1.0.6 resolution: "@types/estree@npm:1.0.6" checksum: 10/9d35d475095199c23e05b431bcdd1f6fec7380612aed068b14b2a08aa70494de8a9026765a5a91b1073f636fb0368f6d8973f518a31391d519e20c59388ed88d @@ -1142,7 +1185,7 @@ __metadata: languageName: node linkType: hard -"@types/jest@npm:^29.5.12": +"@types/jest@npm:^29.5.13": version: 29.5.13 resolution: "@types/jest@npm:29.5.13" dependencies: @@ -1152,7 +1195,7 @@ __metadata: languageName: node linkType: hard -"@types/json-schema@npm:^7.0.15": +"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.15": version: 7.0.15 resolution: "@types/json-schema@npm:7.0.15" checksum: 10/1a3c3e06236e4c4aab89499c428d585527ce50c24fe8259e8b3926d3df4cfbbbcf306cfc73ddfb66cbafc973116efd15967020b0f738f63e09e64c7d260519e7 @@ -1289,15 +1332,15 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:8.8.0": - version: 8.8.0 - resolution: "@typescript-eslint/eslint-plugin@npm:8.8.0" +"@typescript-eslint/eslint-plugin@npm:8.8.1": + version: 8.8.1 + resolution: "@typescript-eslint/eslint-plugin@npm:8.8.1" dependencies: "@eslint-community/regexpp": "npm:^4.10.0" - "@typescript-eslint/scope-manager": "npm:8.8.0" - "@typescript-eslint/type-utils": "npm:8.8.0" - "@typescript-eslint/utils": "npm:8.8.0" - "@typescript-eslint/visitor-keys": "npm:8.8.0" + "@typescript-eslint/scope-manager": "npm:8.8.1" + "@typescript-eslint/type-utils": "npm:8.8.1" + "@typescript-eslint/utils": "npm:8.8.1" + "@typescript-eslint/visitor-keys": "npm:8.8.1" graphemer: "npm:^1.4.0" ignore: "npm:^5.3.1" natural-compare: "npm:^1.4.0" @@ -1308,25 +1351,25 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 10/e8a47053731dcd42c1d8489ec22e176097a202a500fb0913653b501aa4dd3d1c559b9e90ad12194a3f2f3335566a9036d37276a93ca7ff8d76bfd65ff6c7c0ed + checksum: 10/6d45d7c3b2993f9d4130794596b029e72646f69581741ff2032b33f5c5d6b46c241b854556d04f769c2ef491e117c7d73013a07d74de3a0e0b557e648bc82a9c languageName: node linkType: hard -"@typescript-eslint/parser@npm:8.8.0": - version: 8.8.0 - resolution: "@typescript-eslint/parser@npm:8.8.0" +"@typescript-eslint/parser@npm:8.8.1": + version: 8.8.1 + resolution: "@typescript-eslint/parser@npm:8.8.1" dependencies: - "@typescript-eslint/scope-manager": "npm:8.8.0" - "@typescript-eslint/types": "npm:8.8.0" - "@typescript-eslint/typescript-estree": "npm:8.8.0" - "@typescript-eslint/visitor-keys": "npm:8.8.0" + "@typescript-eslint/scope-manager": "npm:8.8.1" + "@typescript-eslint/types": "npm:8.8.1" + "@typescript-eslint/typescript-estree": "npm:8.8.1" + "@typescript-eslint/visitor-keys": "npm:8.8.1" debug: "npm:^4.3.4" peerDependencies: eslint: ^8.57.0 || ^9.0.0 peerDependenciesMeta: typescript: optional: true - checksum: 10/8d3c3afb508aa7d6c16dd8a786762f05e174ace50213768232405b1c31534ca568d38e1793feb41d53fe1327c901e5f93e70f61222b31848b2a9ae955b14fff2 + checksum: 10/f19e9be6e8d3e4b574d5f2b1d7e23e3594ea8d5f0b2bd2e59d2fd237bd0a379597f4b7ba466b7e290c5f3c7bce044107a73b20159c17dc54a4cc6b2ca9470b4b languageName: node linkType: hard @@ -1340,18 +1383,28 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:8.8.0": - version: 8.8.0 - resolution: "@typescript-eslint/type-utils@npm:8.8.0" +"@typescript-eslint/scope-manager@npm:8.8.1": + version: 8.8.1 + resolution: "@typescript-eslint/scope-manager@npm:8.8.1" dependencies: - "@typescript-eslint/typescript-estree": "npm:8.8.0" - "@typescript-eslint/utils": "npm:8.8.0" + "@typescript-eslint/types": "npm:8.8.1" + "@typescript-eslint/visitor-keys": "npm:8.8.1" + checksum: 10/ab86b533d0cadaa3f325404ae8cda2c1c8e0b820d7b2265ad376a233bb073aa89783a8d20c2effa77552426f38405edaa71e4aa6a2676613ae8dec0e1f1ba061 + languageName: node + linkType: hard + +"@typescript-eslint/type-utils@npm:8.8.1": + version: 8.8.1 + resolution: "@typescript-eslint/type-utils@npm:8.8.1" + dependencies: + "@typescript-eslint/typescript-estree": "npm:8.8.1" + "@typescript-eslint/utils": "npm:8.8.1" debug: "npm:^4.3.4" ts-api-utils: "npm:^1.3.0" peerDependenciesMeta: typescript: optional: true - checksum: 10/7e46352090d97935692fa070c62edc7cd824540e3b432dab655e2a46e430ae5c3473f8582d9d41e851d1d74a11e356b61396deda944d186e4d868b16d402bce1 + checksum: 10/3aed62459e68a49f468004d966c914457db2288979234a9452043bff6d5ac7f2d46490fe13f4bb06fd91af085a50e6ac63b69eb66f9a27ee477f958af4738587 languageName: node linkType: hard @@ -1362,6 +1415,13 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/types@npm:8.8.1": + version: 8.8.1 + resolution: "@typescript-eslint/types@npm:8.8.1" + checksum: 10/5ac571810f24a266e1d46a8ce2a6665498fddf757a70eeeec959c993991f72d06a2bee7b848a6b27db958f7771034d8169a77117fd6ca7ed2c3166da9d27396b + languageName: node + linkType: hard + "@typescript-eslint/typescript-estree@npm:8.8.0": version: 8.8.0 resolution: "@typescript-eslint/typescript-estree@npm:8.8.0" @@ -1381,7 +1441,40 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:8.8.0, @typescript-eslint/utils@npm:^6.0.0 || ^7.0.0 || ^8.0.0": +"@typescript-eslint/typescript-estree@npm:8.8.1": + version: 8.8.1 + resolution: "@typescript-eslint/typescript-estree@npm:8.8.1" + dependencies: + "@typescript-eslint/types": "npm:8.8.1" + "@typescript-eslint/visitor-keys": "npm:8.8.1" + debug: "npm:^4.3.4" + fast-glob: "npm:^3.3.2" + is-glob: "npm:^4.0.3" + minimatch: "npm:^9.0.4" + semver: "npm:^7.6.0" + ts-api-utils: "npm:^1.3.0" + peerDependenciesMeta: + typescript: + optional: true + checksum: 10/b569cd362c5f68cf0e1ca53a85bf78c989f10fe4b680423d47c6089bef7cb60b3ed10927232f57dd666e457e43259cec9415da54f2c7b2425062d7acd2e7c98e + languageName: node + linkType: hard + +"@typescript-eslint/utils@npm:8.8.1": + version: 8.8.1 + resolution: "@typescript-eslint/utils@npm:8.8.1" + dependencies: + "@eslint-community/eslint-utils": "npm:^4.4.0" + "@typescript-eslint/scope-manager": "npm:8.8.1" + "@typescript-eslint/types": "npm:8.8.1" + "@typescript-eslint/typescript-estree": "npm:8.8.1" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + checksum: 10/8ecd827af49d3c69ebe65283e5a4e6b44b48f24392319ed9336b8eec47e84fcbcc3e1b5f855ed6b782996cfc0cd289a0a14e40dd69234fd60eeee0a29047bde5 + languageName: node + linkType: hard + +"@typescript-eslint/utils@npm:^6.0.0 || ^7.0.0 || ^8.0.0": version: 8.8.0 resolution: "@typescript-eslint/utils@npm:8.8.0" dependencies: @@ -1405,6 +1498,16 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/visitor-keys@npm:8.8.1": + version: 8.8.1 + resolution: "@typescript-eslint/visitor-keys@npm:8.8.1" + dependencies: + "@typescript-eslint/types": "npm:8.8.1" + eslint-visitor-keys: "npm:^3.4.3" + checksum: 10/b5bfb4c9a98d3320639abcfd5aae52dd9c8af477743c5e324ceee1a9ea5f101e0ff7da3de08d3ef66e57854a86e155359bafff13f184493db9e0dffaf9e363c7 + languageName: node + linkType: hard + "abbrev@npm:^2.0.0": version: 2.0.0 resolution: "abbrev@npm:2.0.0" @@ -1946,10 +2049,12 @@ __metadata: version: 0.0.0-use.local resolution: "cc-api-sandbox@workspace:." dependencies: - "@eslint/js": "npm:^9.10.0" + "@eslint/js": "npm:^9.12.0" "@tsconfig/node20": "npm:^20.1.4" + "@types/eslint-config-prettier": "npm:^6.11.3" + "@types/eslint__js": "npm:^8.42.3" "@types/express": "npm:^4.17.21" - "@types/jest": "npm:^29.5.12" + "@types/jest": "npm:^29.5.13" "@types/node": "npm:^20.16.5" "@types/source-map-support": "npm:^0" "@types/supertest": "npm:^6.0.2" @@ -1959,29 +2064,29 @@ __metadata: concurrently: "npm:^8.2.2" date-fns: "npm:^4.1.0" dotenv: "npm:^16.4.5" - eslint: "npm:^9.2.0" + eslint: "npm:^9.12.0" eslint-config-prettier: "npm:^9.1.0" - eslint-plugin-jest: "npm:^28.5.0" - express: "npm:^4.19.2" - husky: "npm:^9.0.11" + eslint-plugin-jest: "npm:^28.8.3" + express: "npm:^4.21.1" + husky: "npm:^9.1.6" jest: "npm:^29.7.0" jest-extended: "npm:^4.0.2" jest-junit: "npm:^16.0.0" - lint-staged: "npm:^15.2.2" - node-mocks-http: "npm:^1.14.1" - nodemon: "npm:^3.1.0" - openapi-backend: "npm:^5.10.6" - pino: "npm:^8.8.0" - pino-http: "npm:^8.5.1" + lint-staged: "npm:^15.2.10" + node-mocks-http: "npm:^1.16.1" + nodemon: "npm:^3.1.7" + openapi-backend: "npm:^5.11.0" + pino: "npm:^8.21.0" + pino-http: "npm:^8.6.1" pinst: "npm:^3.0.0" - prettier: "npm:^3.2.5" + prettier: "npm:^3.3.3" source-map-support: "npm:^0.5.21" supertest: "npm:^7.0.0" - ts-jest: "npm:^29.1.2" + ts-jest: "npm:^29.2.5" ts-node: "npm:^10.9.2" tsconfig-paths: "npm:^4.2.0" - typescript: "npm:^5.5.4" - typescript-eslint: "npm:^8.8.0" + typescript: "npm:~5.5.4" + typescript-eslint: "npm:^8.8.1" wait-on: "npm:^8.0.1" languageName: unknown linkType: soft @@ -2231,10 +2336,10 @@ __metadata: languageName: node linkType: hard -"cookie@npm:0.6.0": - version: 0.6.0 - resolution: "cookie@npm:0.6.0" - checksum: 10/c1f8f2ea7d443b9331680598b0ae4e6af18a618c37606d1bbdc75bec8361cce09fe93e727059a673f2ba24467131a9fb5a4eec76bb1b149c1b3e1ccb268dc583 +"cookie@npm:0.7.1": + version: 0.7.1 + resolution: "cookie@npm:0.7.1" + checksum: 10/aec6a6aa0781761bf55d60447d6be08861d381136a0fe94aa084fddd4f0300faa2b064df490c6798adfa1ebaef9e0af9b08a189c823e0811b8b313b3d9a03380 languageName: node linkType: hard @@ -2609,7 +2714,7 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-jest@npm:^28.5.0": +"eslint-plugin-jest@npm:^28.8.3": version: 28.8.3 resolution: "eslint-plugin-jest@npm:28.8.3" dependencies: @@ -2627,7 +2732,7 @@ __metadata: languageName: node linkType: hard -"eslint-scope@npm:^8.0.2": +"eslint-scope@npm:^8.1.0": version: 8.1.0 resolution: "eslint-scope@npm:8.1.0" dependencies: @@ -2644,27 +2749,27 @@ __metadata: languageName: node linkType: hard -"eslint-visitor-keys@npm:^4.0.0, eslint-visitor-keys@npm:^4.1.0": +"eslint-visitor-keys@npm:^4.1.0": version: 4.1.0 resolution: "eslint-visitor-keys@npm:4.1.0" checksum: 10/3fb5bd1b2f36db89d0ac57ddd66d36ccd3b1e3cddb2a55a0f9f6f1c85268cfcc1cc32e7eda4990e3423107a120dd254fb6cb52d6154cf81d344d8c3fa671f7c2 languageName: node linkType: hard -"eslint@npm:^9.2.0": - version: 9.11.1 - resolution: "eslint@npm:9.11.1" +"eslint@npm:^9.12.0": + version: 9.12.0 + resolution: "eslint@npm:9.12.0" dependencies: "@eslint-community/eslint-utils": "npm:^4.2.0" "@eslint-community/regexpp": "npm:^4.11.0" "@eslint/config-array": "npm:^0.18.0" "@eslint/core": "npm:^0.6.0" "@eslint/eslintrc": "npm:^3.1.0" - "@eslint/js": "npm:9.11.1" + "@eslint/js": "npm:9.12.0" "@eslint/plugin-kit": "npm:^0.2.0" + "@humanfs/node": "npm:^0.16.5" "@humanwhocodes/module-importer": "npm:^1.0.1" - "@humanwhocodes/retry": "npm:^0.3.0" - "@nodelib/fs.walk": "npm:^1.2.8" + "@humanwhocodes/retry": "npm:^0.3.1" "@types/estree": "npm:^1.0.6" "@types/json-schema": "npm:^7.0.15" ajv: "npm:^6.12.4" @@ -2672,9 +2777,9 @@ __metadata: cross-spawn: "npm:^7.0.2" debug: "npm:^4.3.2" escape-string-regexp: "npm:^4.0.0" - eslint-scope: "npm:^8.0.2" - eslint-visitor-keys: "npm:^4.0.0" - espree: "npm:^10.1.0" + eslint-scope: "npm:^8.1.0" + eslint-visitor-keys: "npm:^4.1.0" + espree: "npm:^10.2.0" esquery: "npm:^1.5.0" esutils: "npm:^2.0.2" fast-deep-equal: "npm:^3.1.3" @@ -2684,13 +2789,11 @@ __metadata: ignore: "npm:^5.2.0" imurmurhash: "npm:^0.1.4" is-glob: "npm:^4.0.0" - is-path-inside: "npm:^3.0.3" json-stable-stringify-without-jsonify: "npm:^1.0.1" lodash.merge: "npm:^4.6.2" minimatch: "npm:^3.1.2" natural-compare: "npm:^1.4.0" optionator: "npm:^0.9.3" - strip-ansi: "npm:^6.0.1" text-table: "npm:^0.2.0" peerDependencies: jiti: "*" @@ -2699,11 +2802,11 @@ __metadata: optional: true bin: eslint: bin/eslint.js - checksum: 10/38de03a51044a5f708c93302cff5e860355447d424f1a21fa67f5b2f0541d092d3f3807c0242820d9795553a3f1165db51769e9a042816334d05c86f015fdfef + checksum: 10/c3f10d1ca3798bf1d0f71e43846e254d4bf0ea9ffbb0e61f9686a98e412aa762a454c5e5ef4e74fd71956b1500c04817c9f08dbf7a0cec47317160e28f585e4f languageName: node linkType: hard -"espree@npm:^10.0.1, espree@npm:^10.1.0": +"espree@npm:^10.0.1, espree@npm:^10.2.0": version: 10.2.0 resolution: "espree@npm:10.2.0" dependencies: @@ -2845,16 +2948,16 @@ __metadata: languageName: node linkType: hard -"express@npm:^4.19.2": - version: 4.21.0 - resolution: "express@npm:4.21.0" +"express@npm:^4.21.1": + version: 4.21.1 + resolution: "express@npm:4.21.1" dependencies: accepts: "npm:~1.3.8" array-flatten: "npm:1.1.1" body-parser: "npm:1.20.3" content-disposition: "npm:0.5.4" content-type: "npm:~1.0.4" - cookie: "npm:0.6.0" + cookie: "npm:0.7.1" cookie-signature: "npm:1.0.6" debug: "npm:2.6.9" depd: "npm:2.0.0" @@ -2880,7 +2983,7 @@ __metadata: type-is: "npm:~1.6.18" utils-merge: "npm:1.0.1" vary: "npm:~1.1.2" - checksum: 10/3b1ee5bc5b1bd996f688702519cebc9b63a24e506965f6e1773268238cfa2c24ffdb38cc3fcb4fde66f77de1c0bebd9ee058dad06bb9c6f084b525f3c09164d3 + checksum: 10/5d4a36dd03c1d1cce93172e9b185b5cd13a978d29ee03adc51cd278be7b4a514ae2b63e2fdaec0c00fdc95c6cfb396d9dd1da147917ffd337d6cd0778e08c9bc languageName: node linkType: hard @@ -3397,7 +3500,7 @@ __metadata: languageName: node linkType: hard -"husky@npm:^9.0.11": +"husky@npm:^9.1.6": version: 9.1.6 resolution: "husky@npm:9.1.6" bin: @@ -3607,13 +3710,6 @@ __metadata: languageName: node linkType: hard -"is-path-inside@npm:^3.0.3": - version: 3.0.3 - resolution: "is-path-inside@npm:3.0.3" - checksum: 10/abd50f06186a052b349c15e55b182326f1936c89a78bf6c8f2b707412517c097ce04bc49a0ca221787bc44e1049f51f09a2ffb63d22899051988d3a618ba13e9 - languageName: node - linkType: hard - "is-stream@npm:^2.0.0": version: 2.0.1 resolution: "is-stream@npm:2.0.1" @@ -4350,7 +4446,7 @@ __metadata: languageName: node linkType: hard -"lint-staged@npm:^15.2.2": +"lint-staged@npm:^15.2.10": version: 15.2.10 resolution: "lint-staged@npm:15.2.10" dependencies: @@ -4788,12 +4884,10 @@ __metadata: languageName: node linkType: hard -"node-mocks-http@npm:^1.14.1": - version: 1.16.0 - resolution: "node-mocks-http@npm:1.16.0" +"node-mocks-http@npm:^1.16.1": + version: 1.16.1 + resolution: "node-mocks-http@npm:1.16.1" dependencies: - "@types/express": "npm:^4.17.21" - "@types/node": "npm:*" accepts: "npm:^1.3.7" content-disposition: "npm:^0.5.3" depd: "npm:^1.1.0" @@ -4804,7 +4898,15 @@ __metadata: parseurl: "npm:^1.3.3" range-parser: "npm:^1.2.0" type-is: "npm:^1.6.18" - checksum: 10/0555cf8a2192adbb503232f813ae003f72fdbdaeb6d63578f31da9edfc3f0b482814ebebddff62189ba05360b2c57c20320db89c2907dfca01aa2280cfca5250 + peerDependencies: + "@types/express": ^4.17.21 || ^5.0.0 + "@types/node": "*" + peerDependenciesMeta: + "@types/express": + optional: true + "@types/node": + optional: true + checksum: 10/6f45f752fdabd2669469c113e1df7123ec011877f12fd5179736591e6df4152fa07b550d72ada9768552580d9609cad5eb117b7b50409ae641ee26dd36cfd11b languageName: node linkType: hard @@ -4815,7 +4917,7 @@ __metadata: languageName: node linkType: hard -"nodemon@npm:^3.1.0": +"nodemon@npm:^3.1.7": version: 3.1.7 resolution: "nodemon@npm:3.1.7" dependencies: @@ -4930,7 +5032,7 @@ __metadata: languageName: node linkType: hard -"openapi-backend@npm:^5.10.6": +"openapi-backend@npm:^5.11.0": version: 5.11.0 resolution: "openapi-backend@npm:5.11.0" dependencies: @@ -5153,7 +5255,7 @@ __metadata: languageName: node linkType: hard -"pino-http@npm:^8.5.1": +"pino-http@npm:^8.6.1": version: 8.6.1 resolution: "pino-http@npm:8.6.1" dependencies: @@ -5172,7 +5274,7 @@ __metadata: languageName: node linkType: hard -"pino@npm:^8.17.1, pino@npm:^8.8.0": +"pino@npm:^8.17.1, pino@npm:^8.21.0": version: 8.21.0 resolution: "pino@npm:8.21.0" dependencies: @@ -5225,7 +5327,7 @@ __metadata: languageName: node linkType: hard -"prettier@npm:^3.2.5": +"prettier@npm:^3.3.3": version: 3.3.3 resolution: "prettier@npm:3.3.3" bin: @@ -6101,7 +6203,7 @@ __metadata: languageName: node linkType: hard -"ts-jest@npm:^29.1.2": +"ts-jest@npm:^29.2.5": version: 29.2.5 resolution: "ts-jest@npm:29.2.5" dependencies: @@ -6227,37 +6329,37 @@ __metadata: languageName: node linkType: hard -"typescript-eslint@npm:^8.8.0": - version: 8.8.0 - resolution: "typescript-eslint@npm:8.8.0" +"typescript-eslint@npm:^8.8.1": + version: 8.8.1 + resolution: "typescript-eslint@npm:8.8.1" dependencies: - "@typescript-eslint/eslint-plugin": "npm:8.8.0" - "@typescript-eslint/parser": "npm:8.8.0" - "@typescript-eslint/utils": "npm:8.8.0" + "@typescript-eslint/eslint-plugin": "npm:8.8.1" + "@typescript-eslint/parser": "npm:8.8.1" + "@typescript-eslint/utils": "npm:8.8.1" peerDependenciesMeta: typescript: optional: true - checksum: 10/7e7dd2b7f1dd6e7f3a993847164b0c3e492d3d23f3cf814e897b82e3f1ca74bc7fe6f81981e7c53caa3dab00b5c96e0ec3e1968a272f6ed0dbed2e5429302efa + checksum: 10/f44f60069a88b98b7be269546990a9e75c8af8bde06ef9e095d6c8d8d416746a821047a580201b24a41eec6ea9457fdb9fcae6a9c32096aca2569133c981407f languageName: node linkType: hard -"typescript@npm:^5.5.4": - version: 5.6.2 - resolution: "typescript@npm:5.6.2" +"typescript@npm:~5.5.4": + version: 5.5.4 + resolution: "typescript@npm:5.5.4" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10/f95365d4898f357823e93d334ecda9fcade54f009b397c7d05b7621cd9e865981033cf89ccde0f3e3a7b73b1fdbae18e92bc77db237b43e912f053fef0f9a53b + checksum: 10/1689ccafef894825481fc3d856b4834ba3cc185a9c2878f3c76a9a1ef81af04194849840f3c69e7961e2312771471bb3b460ca92561e1d87599b26c37d0ffb6f languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^5.5.4#optional!builtin": - version: 5.6.2 - resolution: "typescript@patch:typescript@npm%3A5.6.2#optional!builtin::version=5.6.2&hash=8c6c40" +"typescript@patch:typescript@npm%3A~5.5.4#optional!builtin": + version: 5.5.4 + resolution: "typescript@patch:typescript@npm%3A5.5.4#optional!builtin::version=5.5.4&hash=379a07" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10/8bfc7ca0d9feca4c3fcbd6c70741abfcd714197d6448e68225ae71e462447d904d3bfba49759a8fbe4956d87f054e2d346833c8349c222daa594a2626d4e1be8 + checksum: 10/746fdd0865c5ce4f15e494c57ede03a9e12ede59cfdb40da3a281807853fe63b00ef1c912d7222143499aa82f18b8b472baa1830df8804746d09b55f6cf5b1cc languageName: node linkType: hard