diff --git a/apps/express-server/package.json b/apps/express-server/package.json index daa9643..ff2d74d 100644 --- a/apps/express-server/package.json +++ b/apps/express-server/package.json @@ -17,6 +17,7 @@ "winston": "3.15.0" }, "devDependencies": { + "@nish1896/eslint-config": "^2.0.5", "@types/cors": "^2.8.17", "@types/node": "^22.7.4", "eslint": "^8.57.0", diff --git a/apps/nestjs-server/package.json b/apps/nestjs-server/package.json index b62e8e1..4acb99f 100644 --- a/apps/nestjs-server/package.json +++ b/apps/nestjs-server/package.json @@ -4,8 +4,8 @@ "author": "Nishant Kohli", "private": true, "scripts": { - "build": "nest build", "dev": "nest start --watch", + "build": "nest build", "start": "NODE_ENV=production node dist/main", "start:debug": "nest start --debug --watch", "prod": "yarn run build && yarn run start", @@ -17,31 +17,30 @@ "test:e2e": "jest --config ./test/jest-e2e.json" }, "dependencies": { - "@nestjs/common": "^10.3.10", - "@nestjs/core": "^10.3.10", - "@nestjs/platform-express": "^10.3.10", - "@nestjs/platform-fastify": "^10.3.10", + "@nestjs/common": "^10.4.4", + "@nestjs/core": "^10.4.4", + "@nestjs/platform-express": "^10.4.4", + "@nestjs/platform-fastify": "^10.4.4", "reflect-metadata": "^0.2.2", "rxjs": "^7.8.1" }, "devDependencies": { - "@nestjs/cli": "^10.4.1", - "@nestjs/schematics": "^10.1.2", - "@nestjs/testing": "^10.3.10", - "@nish1896/eslint-config": "^2.0.4", - "@types/express": "^4.17.21", - "@types/jest": "^29.5.12", - "@types/node": "^20.14.9", + "@nestjs/cli": "^10.4.5", + "@nestjs/schematics": "^10.1.4", + "@nestjs/testing": "^10.4.4", + "@nish1896/eslint-config": "^2.0.5", + "@types/jest": "^29.5.13", + "@types/node": "^22.7.4", "@types/supertest": "^6.0.2", "eslint": "^8.57.0", "jest": "^29.7.0", "source-map-support": "^0.5.21", - "supertest": "^6.3.4", - "ts-jest": "^29.1.5", + "supertest": "^7.0.0", + "ts-jest": "^29.2.5", "ts-loader": "^9.5.1", "ts-node": "^10.9.2", "tsconfig-paths": "^4.2.0", - "typescript": "^5.3.3" + "typescript": "^5.6.2" }, "jest": { "moduleFileExtensions": [ diff --git a/yarn.lock b/yarn.lock index f73f04a..1eb41b1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2112,7 +2112,7 @@ prop-types "^15.8.1" react-is "^18.3.1" -"@nestjs/cli@^10.4.1": +"@nestjs/cli@^10.4.5": version "10.4.5" resolved "https://registry.yarnpkg.com/@nestjs/cli/-/cli-10.4.5.tgz#d6563b87e8ca1d0f256c19a7847dbcc96c76a88e" integrity sha512-FP7Rh13u8aJbHe+zZ7hM0CC4785g9Pw4lz4r2TTgRtf0zTxSWMkJaPEwyjX8SK9oWK2GsYxl+fKpwVZNbmnj9A== @@ -2137,7 +2137,7 @@ webpack "5.94.0" webpack-node-externals "3.0.0" -"@nestjs/common@^10.3.10": +"@nestjs/common@^10.4.4": version "10.4.4" resolved "https://registry.yarnpkg.com/@nestjs/common/-/common-10.4.4.tgz#673d0eca273e1ab3a4d3ec9e212114b9f4fbf6e8" integrity sha512-0j2/zqRw9nvHV1GKTktER8B/hIC/Z8CYFjN/ZqUuvwayCH+jZZBhCR2oRyuvLTXdnlSmtCAg2xvQ0ULqQvzqhA== @@ -2146,7 +2146,7 @@ iterare "1.2.1" tslib "2.7.0" -"@nestjs/core@^10.3.10": +"@nestjs/core@^10.4.4": version "10.4.4" resolved "https://registry.yarnpkg.com/@nestjs/core/-/core-10.4.4.tgz#12cb1110da6d76e12ceccf0e92f6f5220fe27525" integrity sha512-y9tjmAzU6LTh1cC/lWrRsCcOd80khSR0qAHAqwY2svbW+AhsR/XCzgpZrAAKJrm/dDfjLCZKyxJSayeirGcW5Q== @@ -2158,7 +2158,7 @@ path-to-regexp "3.3.0" tslib "2.7.0" -"@nestjs/platform-express@^10.3.10": +"@nestjs/platform-express@^10.4.4": version "10.4.4" resolved "https://registry.yarnpkg.com/@nestjs/platform-express/-/platform-express-10.4.4.tgz#582d375272207f8d1528f77ff470ba815d9d9846" integrity sha512-y52q1MxhbHaT3vAgWd08RgiYon0lJgtTa8U6g6gV0KI0IygwZhDQFJVxnrRDUdxQGIP5CKHmfQu3sk9gTNFoEA== @@ -2169,7 +2169,7 @@ multer "1.4.4-lts.1" tslib "2.7.0" -"@nestjs/platform-fastify@^10.3.10": +"@nestjs/platform-fastify@^10.4.4": version "10.4.4" resolved "https://registry.yarnpkg.com/@nestjs/platform-fastify/-/platform-fastify-10.4.4.tgz#fe5f9792bba0ae111e06c0a3d554819e31fdf747" integrity sha512-3fRt9mhhqe7aS1kF9myAFSUazhW88yrq9w3LrdHbjOTkGh8ZiZckjzKL705xORVJw2d/BHkgP8AqoNthakLJeQ== @@ -2182,7 +2182,7 @@ path-to-regexp "3.3.0" tslib "2.7.0" -"@nestjs/schematics@^10.0.1", "@nestjs/schematics@^10.1.2": +"@nestjs/schematics@^10.0.1", "@nestjs/schematics@^10.1.4": version "10.1.4" resolved "https://registry.yarnpkg.com/@nestjs/schematics/-/schematics-10.1.4.tgz#e445b856eefce9bd338c5fc1cf2c95f0985849cf" integrity sha512-QpY8ez9cTvXXPr3/KBrtSgXQHMSV6BkOUYy2c2TTe6cBqriEdGnCYqGl8cnfrQl3632q3lveQPaZ/c127dHsEw== @@ -2193,7 +2193,7 @@ jsonc-parser "3.3.1" pluralize "8.0.0" -"@nestjs/testing@^10.3.10": +"@nestjs/testing@^10.4.4": version "10.4.4" resolved "https://registry.yarnpkg.com/@nestjs/testing/-/testing-10.4.4.tgz#1f73f4b6c8d7a996a267ec498679e53763936963" integrity sha512-qRGFj51A5RM7JqA8pcyEwSLA3Y0dle/PAZ8oxP0suimoCusRY3Tk7wYqutZdCNj1ATb678SDaUZDHk2pwSv9/g== @@ -2264,7 +2264,7 @@ dependencies: eslint-scope "5.1.1" -"@nish1896/eslint-config@^2.0.4": +"@nish1896/eslint-config@^2.0.4", "@nish1896/eslint-config@^2.0.5": version "2.0.5" resolved "https://registry.yarnpkg.com/@nish1896/eslint-config/-/eslint-config-2.0.5.tgz#8d7cf22671b5fc7a740173df46d89585f5905e92" integrity sha512-eP+In5yr0yDJlG3CuOKfa5pBBy8efsOqQwJnWrbcIY3X6D8iQVVmaCKV7UQ7SusW+7HDebrI8pHpbZqIeyw+LA== @@ -2771,7 +2771,7 @@ "@types/qs" "*" "@types/serve-static" "*" -"@types/express@^4.17.13", "@types/express@^4.17.21": +"@types/express@^4.17.13": version "4.17.21" resolved "https://registry.yarnpkg.com/@types/express/-/express-4.17.21.tgz#c26d4a151e60efe0084b23dc3369ebc631ed192d" integrity sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ== @@ -2832,7 +2832,7 @@ dependencies: "@types/istanbul-lib-report" "*" -"@types/jest@^29.5.12": +"@types/jest@^29.5.12", "@types/jest@^29.5.13": version "29.5.13" resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.5.13.tgz#8bc571659f401e6a719a7bf0dbcb8b78c71a8adc" integrity sha512-wd+MVEZCHt23V0/L642O5APvspWply/rGY5BcW4SUETo2UzPU3Z26qr8jC2qxpimI2jjx9h7+2cj2FwIr01bXg== @@ -6356,15 +6356,14 @@ form-data@^4.0.0: combined-stream "^1.0.8" mime-types "^2.1.12" -formidable@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/formidable/-/formidable-2.1.2.tgz#fa973a2bec150e4ce7cac15589d7a25fc30ebd89" - integrity sha512-CM3GuJ57US06mlpQ47YcunuUZ9jpm8Vx+P2CGt2j7HpgkKZO/DJYQ0Bobim8G6PFQmK5lOqOOdUXboU+h73A4g== +formidable@^3.5.1: + version "3.5.1" + resolved "https://registry.yarnpkg.com/formidable/-/formidable-3.5.1.tgz#9360a23a656f261207868b1484624c4c8d06ee1a" + integrity sha512-WJWKelbRHN41m5dumb0/k8TeAx7Id/y3a+Z7QfhxP/htI9Js5zYaEDtG8uMgG0vM0lOlqnmjE99/kfpOYi/0Og== dependencies: dezalgo "^1.0.4" hexoid "^1.0.0" once "^1.4.0" - qs "^6.11.0" forwarded@0.2.0: version "0.2.0" @@ -11028,7 +11027,7 @@ semver@^6.0.0, semver@^6.3.0, semver@^6.3.1: resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== -semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7, semver@^7.3.8, semver@^7.5.3, semver@^7.5.4, semver@^7.6.0, semver@^7.6.3: +semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7, semver@^7.5.3, semver@^7.5.4, semver@^7.6.0, semver@^7.6.3: version "7.6.3" resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.3.tgz#980f7b5550bc175fb4dc09403085627f9eb33143" integrity sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A== @@ -11597,29 +11596,28 @@ sucrase@^3.32.0: pirates "^4.0.1" ts-interface-checker "^0.1.9" -superagent@^8.1.2: - version "8.1.2" - resolved "https://registry.yarnpkg.com/superagent/-/superagent-8.1.2.tgz#03cb7da3ec8b32472c9d20f6c2a57c7f3765f30b" - integrity sha512-6WTxW1EB6yCxV5VFOIPQruWGHqc3yI7hEmZK6h+pyk69Lk/Ut7rLUY6W/ONF2MjBuGjvmMiIpsrVJ2vjrHlslA== +superagent@^9.0.1: + version "9.0.2" + resolved "https://registry.yarnpkg.com/superagent/-/superagent-9.0.2.tgz#a18799473fc57557289d6b63960610e358bdebc1" + integrity sha512-xuW7dzkUpcJq7QnhOsnNUgtYp3xRwpt2F7abdRYIpCsAt0hhUqia0EdxyXZQQpNmGtsCzYHryaKSV3q3GJnq7w== dependencies: component-emitter "^1.3.0" cookiejar "^2.1.4" debug "^4.3.4" fast-safe-stringify "^2.1.1" form-data "^4.0.0" - formidable "^2.1.2" + formidable "^3.5.1" methods "^1.1.2" mime "2.6.0" qs "^6.11.0" - semver "^7.3.8" -supertest@^6.3.4: - version "6.3.4" - resolved "https://registry.yarnpkg.com/supertest/-/supertest-6.3.4.tgz#2145c250570c2ea5d337db3552dbfb78a2286218" - integrity sha512-erY3HFDG0dPnhw4U+udPfrzXa4xhSG+n4rxfRuZWCUvjFWwKl+OxWf/7zk50s84/fAAs7vf5QAb9uRa0cCykxw== +supertest@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/supertest/-/supertest-7.0.0.tgz#cac53b3d6872a0b317980b2b0cfa820f09cd7634" + integrity sha512-qlsr7fIC0lSddmA3tzojvzubYxvlGtzumcdHgPwbFWMISQwL22MhM2Y3LNt+6w9Yyx7559VW5ab70dgphm8qQA== dependencies: methods "^1.1.2" - superagent "^8.1.2" + superagent "^9.0.1" supports-color@^5.3.0, supports-color@^5.5.0: version "5.5.0" @@ -11932,7 +11930,7 @@ ts-interface-checker@^0.1.9: resolved "https://registry.yarnpkg.com/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz#784fd3d679722bc103b1b4b8030bcddb5db2a699" integrity sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA== -ts-jest@^29.1.5: +ts-jest@^29.2.5: version "29.2.5" resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.2.5.tgz#591a3c108e1f5ebd013d3152142cb5472b399d63" integrity sha512-KD8zB2aAZrcKIdGk4OwpJggeLcH1FgrICqDSROWqlnJXGCXK4Mn6FcdK2B6670Xr73lHMG1kHw8R87A0ecZ+vA==