diff --git a/packages/api-v2/package.json b/packages/api-v2/package.json index 1462b9b07..c154a914a 100644 --- a/packages/api-v2/package.json +++ b/packages/api-v2/package.json @@ -29,12 +29,12 @@ }, "dependencies": { "@graduate/common": "workspace:*", - "@nestjs/common": "^8.0.0", + "@nestjs/common": "^9.0.5", "@nestjs/config": "^1.1.6", - "@nestjs/core": "^8.0.0", + "@nestjs/core": "^9.0.5", "@nestjs/jwt": "^8.0.0", "@nestjs/passport": "^8.1.0", - "@nestjs/platform-express": "^8.0.0", + "@nestjs/platform-express": "^9.0.5", "@nestjs/typeorm": "^8.0.2", "bcrypt": "5.0.0", "class-transformer": "^0.5.1", @@ -54,7 +54,7 @@ "@golevelup/ts-jest": "^0.3.2", "@nestjs/cli": "^8.0.0", "@nestjs/schematics": "^8.0.0", - "@nestjs/testing": "^8.0.0", + "@nestjs/testing": "^9.3.12", "@types/bcrypt": "^5.0.0", "@types/cookie-parser": "^1", "@types/eslint": "^8", diff --git a/yarn.lock b/yarn.lock index 1d027d314..1494625ed 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2980,14 +2980,14 @@ __metadata: "@golevelup/ts-jest": ^0.3.2 "@graduate/common": "workspace:*" "@nestjs/cli": ^8.0.0 - "@nestjs/common": ^8.0.0 + "@nestjs/common": ^9.0.5 "@nestjs/config": ^1.1.6 - "@nestjs/core": ^8.0.0 + "@nestjs/core": ^9.0.5 "@nestjs/jwt": ^8.0.0 "@nestjs/passport": ^8.1.0 - "@nestjs/platform-express": ^8.0.0 + "@nestjs/platform-express": ^9.0.5 "@nestjs/schematics": ^8.0.0 - "@nestjs/testing": ^8.0.0 + "@nestjs/testing": ^9.3.12 "@nestjs/typeorm": ^8.0.2 "@types/bcrypt": ^5.0.0 "@types/cookie-parser": ^1 @@ -3418,6 +3418,13 @@ __metadata: languageName: node linkType: hard +"@lukeed/csprng@npm:^1.0.0": + version: 1.1.0 + resolution: "@lukeed/csprng@npm:1.1.0" + checksum: 926f5f7fc629470ca9a8af355bfcd0271d34535f7be3890f69902432bddc3262029bb5dbe9025542cf6c9883d878692eef2815fc2f3ba5b92e9da1f9eba2e51b + languageName: node + linkType: hard + "@motionone/animation@npm:^10.12.0": version: 10.14.0 resolution: "@motionone/animation@npm:10.14.0" @@ -3515,16 +3522,15 @@ __metadata: languageName: node linkType: hard -"@nestjs/common@npm:^8.0.0": - version: 8.4.7 - resolution: "@nestjs/common@npm:8.4.7" +"@nestjs/common@npm:^9.0.5": + version: 9.4.3 + resolution: "@nestjs/common@npm:9.4.3" dependencies: - axios: 0.27.2 iterare: 1.2.1 - tslib: 2.4.0 - uuid: 8.3.2 + tslib: 2.5.3 + uid: 2.0.2 peerDependencies: - cache-manager: "*" + cache-manager: <=5 class-transformer: "*" class-validator: "*" reflect-metadata: ^0.1.12 @@ -3536,7 +3542,7 @@ __metadata: optional: true class-validator: optional: true - checksum: b3fa20618d4e60f9f5089215c800f2deb5d08b9f88443102b066036d7bacf17ff5926ad5ff0ef7ace42feb8e0ca561dc7e75fd05dbd028f5e675d5e7062eb685 + checksum: 45ccb5acac2521a05576f37b37ab94c63a83aefb1839ed670635090bb934c1bd532852cb7be9863ee3b9d1ad80aa84e0602be023c626623f9233257dcb754914 languageName: node linkType: hard @@ -3556,22 +3562,21 @@ __metadata: languageName: node linkType: hard -"@nestjs/core@npm:^8.0.0": - version: 8.4.7 - resolution: "@nestjs/core@npm:8.4.7" +"@nestjs/core@npm:^9.0.5": + version: 9.4.3 + resolution: "@nestjs/core@npm:9.4.3" dependencies: "@nuxtjs/opencollective": 0.3.2 fast-safe-stringify: 2.1.1 iterare: 1.2.1 - object-hash: 3.0.0 path-to-regexp: 3.2.0 - tslib: 2.4.0 - uuid: 8.3.2 + tslib: 2.5.3 + uid: 2.0.2 peerDependencies: - "@nestjs/common": ^8.0.0 - "@nestjs/microservices": ^8.0.0 - "@nestjs/platform-express": ^8.0.0 - "@nestjs/websockets": ^8.0.0 + "@nestjs/common": ^9.0.0 + "@nestjs/microservices": ^9.0.0 + "@nestjs/platform-express": ^9.0.0 + "@nestjs/websockets": ^9.0.0 reflect-metadata: ^0.1.12 rxjs: ^7.1.0 peerDependenciesMeta: @@ -3581,7 +3586,7 @@ __metadata: optional: true "@nestjs/websockets": optional: true - checksum: 58d18b04e03cdae4b06e06f1a60705cdbe2e81824e0a85d0be422cf8dbd39c263287196b85939718659d7eeedc2856f29744487931dbe5c2695fcd374a5fbe40 + checksum: 5c556c43fc4bce5001c9fa1190630031e60db5678d47c1266f6aca957d862fc8aa7168414cf7938852976ee52086395bd05d4a4daaa0915d12e47c4f644dc263 languageName: node linkType: hard @@ -3607,19 +3612,19 @@ __metadata: languageName: node linkType: hard -"@nestjs/platform-express@npm:^8.0.0": - version: 8.4.7 - resolution: "@nestjs/platform-express@npm:8.4.7" +"@nestjs/platform-express@npm:^9.0.5": + version: 9.4.3 + resolution: "@nestjs/platform-express@npm:9.4.3" dependencies: - body-parser: 1.20.0 + body-parser: 1.20.2 cors: 2.8.5 - express: 4.18.1 + express: 4.18.2 multer: 1.4.4-lts.1 - tslib: 2.4.0 + tslib: 2.5.3 peerDependencies: - "@nestjs/common": ^8.0.0 - "@nestjs/core": ^8.0.0 - checksum: 41d3e35adfb2d3f54c9d4a7ce94525fac0be3119caa0bba8b5607c8345cef964a6893891c541d2f4e7a677cc4f91045bc3cb23e4bf29df9ba84a76e70eefd3e6 + "@nestjs/common": ^9.0.0 + "@nestjs/core": ^9.0.0 + checksum: d7fc96a979e4f65a6d1482e517a957b763f307d634a1c98353f3f2d3197366797f9f5cb4968886279308c1b6c22597090a522b3587687cb44f63d462b567958c languageName: node linkType: hard @@ -3638,22 +3643,22 @@ __metadata: languageName: node linkType: hard -"@nestjs/testing@npm:^8.0.0": - version: 8.4.7 - resolution: "@nestjs/testing@npm:8.4.7" +"@nestjs/testing@npm:^9.3.12": + version: 9.4.3 + resolution: "@nestjs/testing@npm:9.4.3" dependencies: - tslib: 2.4.0 + tslib: 2.5.3 peerDependencies: - "@nestjs/common": ^8.0.0 - "@nestjs/core": ^8.0.0 - "@nestjs/microservices": ^8.0.0 - "@nestjs/platform-express": ^8.0.0 + "@nestjs/common": ^9.0.0 + "@nestjs/core": ^9.0.0 + "@nestjs/microservices": ^9.0.0 + "@nestjs/platform-express": ^9.0.0 peerDependenciesMeta: "@nestjs/microservices": optional: true "@nestjs/platform-express": optional: true - checksum: 5514f2638ad1dcdabe3c13fa35f8d73dbae5924c051a9747f19c2bbb5491998a3261e6a43562af8a4f67af4fe4a5b6b97406712e3aa28da5d5e3ace0fbab7112 + checksum: 0f3373a7e451e39cb38c7ee67f793efb1583ab795f6e42a959afd5c50180536886c9ed6ac621102392f85c74191a31c654e66b0225fc94d6433aef044ca8d46a languageName: node linkType: hard @@ -5227,16 +5232,6 @@ __metadata: languageName: node linkType: hard -"axios@npm:0.27.2": - version: 0.27.2 - resolution: "axios@npm:0.27.2" - dependencies: - follow-redirects: ^1.14.9 - form-data: ^4.0.0 - checksum: 38cb7540465fe8c4102850c4368053c21683af85c5fdf0ea619f9628abbcb59415d1e22ebc8a6390d2bbc9b58a9806c874f139767389c862ec9b772235f06854 - languageName: node - linkType: hard - "axios@npm:^0.26.1": version: 0.26.1 resolution: "axios@npm:0.26.1" @@ -5455,6 +5450,46 @@ __metadata: languageName: node linkType: hard +"body-parser@npm:1.20.1": + version: 1.20.1 + resolution: "body-parser@npm:1.20.1" + dependencies: + bytes: 3.1.2 + content-type: ~1.0.4 + debug: 2.6.9 + depd: 2.0.0 + destroy: 1.2.0 + http-errors: 2.0.0 + iconv-lite: 0.4.24 + on-finished: 2.4.1 + qs: 6.11.0 + raw-body: 2.5.1 + type-is: ~1.6.18 + unpipe: 1.0.0 + checksum: f1050dbac3bede6a78f0b87947a8d548ce43f91ccc718a50dd774f3c81f2d8b04693e52acf62659fad23101827dd318da1fb1363444ff9a8482b886a3e4a5266 + languageName: node + linkType: hard + +"body-parser@npm:1.20.2": + version: 1.20.2 + resolution: "body-parser@npm:1.20.2" + dependencies: + bytes: 3.1.2 + content-type: ~1.0.5 + debug: 2.6.9 + depd: 2.0.0 + destroy: 1.2.0 + http-errors: 2.0.0 + iconv-lite: 0.4.24 + on-finished: 2.4.1 + qs: 6.11.0 + raw-body: 2.5.2 + type-is: ~1.6.18 + unpipe: 1.0.0 + checksum: 14d37ec638ab5c93f6099ecaed7f28f890d222c650c69306872e00b9efa081ff6c596cd9afb9930656aae4d6c4e1c17537bea12bb73c87a217cb3cfea8896737 + languageName: node + linkType: hard + "boolbase@npm:~1.0.0": version: 1.0.0 resolution: "boolbase@npm:1.0.0" @@ -6053,6 +6088,13 @@ __metadata: languageName: node linkType: hard +"content-type@npm:~1.0.5": + version: 1.0.5 + resolution: "content-type@npm:1.0.5" + checksum: 566271e0a251642254cde0f845f9dd4f9856e52d988f4eb0d0dcffbb7a1f8ec98de7a5215fc628f3bce30fe2fb6fd2bc064b562d721658c59b544e2d34ea2766 + languageName: node + linkType: hard + "convert-source-map@npm:^1.1.0, convert-source-map@npm:^1.4.0, convert-source-map@npm:^1.5.0, convert-source-map@npm:^1.6.0, convert-source-map@npm:^1.7.0": version: 1.8.0 resolution: "convert-source-map@npm:1.8.0" @@ -7297,7 +7339,46 @@ __metadata: languageName: node linkType: hard -"express@npm:4.18.1, express@npm:^4.17.3": +"express@npm:4.18.2": + version: 4.18.2 + resolution: "express@npm:4.18.2" + dependencies: + accepts: ~1.3.8 + array-flatten: 1.1.1 + body-parser: 1.20.1 + content-disposition: 0.5.4 + content-type: ~1.0.4 + cookie: 0.5.0 + cookie-signature: 1.0.6 + debug: 2.6.9 + depd: 2.0.0 + encodeurl: ~1.0.2 + escape-html: ~1.0.3 + etag: ~1.8.1 + finalhandler: 1.2.0 + fresh: 0.5.2 + http-errors: 2.0.0 + merge-descriptors: 1.0.1 + methods: ~1.1.2 + on-finished: 2.4.1 + parseurl: ~1.3.3 + path-to-regexp: 0.1.7 + proxy-addr: ~2.0.7 + qs: 6.11.0 + range-parser: ~1.2.1 + safe-buffer: 5.2.1 + send: 0.18.0 + serve-static: 1.15.0 + setprototypeof: 1.2.0 + statuses: 2.0.1 + type-is: ~1.6.18 + utils-merge: 1.0.1 + vary: ~1.1.2 + checksum: 3c4b9b076879442f6b968fe53d85d9f1eeacbb4f4c41e5f16cc36d77ce39a2b0d81b3f250514982110d815b2f7173f5561367f9110fcc541f9371948e8c8b037 + languageName: node + linkType: hard + +"express@npm:^4.17.3": version: 4.18.1 resolution: "express@npm:4.18.1" dependencies: @@ -7501,7 +7582,7 @@ __metadata: languageName: node linkType: hard -"follow-redirects@npm:^1.0.0, follow-redirects@npm:^1.14.8, follow-redirects@npm:^1.14.9": +"follow-redirects@npm:^1.0.0, follow-redirects@npm:^1.14.8": version: 1.15.2 resolution: "follow-redirects@npm:1.15.2" peerDependenciesMeta: @@ -10599,13 +10680,6 @@ __metadata: languageName: node linkType: hard -"object-hash@npm:3.0.0": - version: 3.0.0 - resolution: "object-hash@npm:3.0.0" - checksum: 80b4904bb3857c52cc1bfd0b52c0352532ca12ed3b8a6ff06a90cd209dfda1b95cee059a7625eb9da29537027f68ac4619363491eedb2f5d3dddbba97494fd6c - languageName: node - linkType: hard - "object-inspect@npm:^1.12.2, object-inspect@npm:^1.9.0": version: 1.12.2 resolution: "object-inspect@npm:1.12.2" @@ -11306,14 +11380,7 @@ __metadata: languageName: node linkType: hard -"qs@npm:6.9.3": - version: 6.9.3 - resolution: "qs@npm:6.9.3" - checksum: 89cd1b5e521c19a7e0a7a056ddc261c5c30889664608cf9ce6085f9f25606fc48568cf6a6249e641b4b5c04dac7889e3b82133142523abf397228eb4f488fc38 - languageName: node - linkType: hard - -"qs@npm:^6.10.3": +"qs@npm:6.11.0, qs@npm:^6.10.3": version: 6.11.0 resolution: "qs@npm:6.11.0" dependencies: @@ -11322,6 +11389,13 @@ __metadata: languageName: node linkType: hard +"qs@npm:6.9.3": + version: 6.9.3 + resolution: "qs@npm:6.9.3" + checksum: 89cd1b5e521c19a7e0a7a056ddc261c5c30889664608cf9ce6085f9f25606fc48568cf6a6249e641b4b5c04dac7889e3b82133142523abf397228eb4f488fc38 + languageName: node + linkType: hard + "querystringify@npm:^2.1.1": version: 2.2.0 resolution: "querystringify@npm:2.2.0" @@ -11364,6 +11438,18 @@ __metadata: languageName: node linkType: hard +"raw-body@npm:2.5.2": + version: 2.5.2 + resolution: "raw-body@npm:2.5.2" + dependencies: + bytes: 3.1.2 + http-errors: 2.0.0 + iconv-lite: 0.4.24 + unpipe: 1.0.0 + checksum: ba1583c8d8a48e8fbb7a873fdbb2df66ea4ff83775421bfe21ee120140949ab048200668c47d9ae3880012f6e217052690628cf679ddfbd82c9fc9358d574676 + languageName: node + linkType: hard + "rc@npm:^1.2.7": version: 1.2.8 resolution: "rc@npm:1.2.8" @@ -12945,10 +13031,10 @@ __metadata: languageName: node linkType: hard -"tslib@npm:2.4.0, tslib@npm:^2.0.0, tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.3.1, tslib@npm:^2.4.0": - version: 2.4.0 - resolution: "tslib@npm:2.4.0" - checksum: 8c4aa6a3c5a754bf76aefc38026134180c053b7bd2f81338cb5e5ebf96fefa0f417bff221592bf801077f5bf990562f6264fecbc42cd3309b33872cb6fc3b113 +"tslib@npm:2.5.3": + version: 2.5.3 + resolution: "tslib@npm:2.5.3" + checksum: 88902b309afaf83259131c1e13da1dceb0ad1682a213143a1346a649143924d78cf3760c448b84d796938fd76127183894f8d85cbb3bf9c4fddbfcc140c0003c languageName: node linkType: hard @@ -12959,6 +13045,13 @@ __metadata: languageName: node linkType: hard +"tslib@npm:^2.0.0, tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.3.1, tslib@npm:^2.4.0": + version: 2.4.0 + resolution: "tslib@npm:2.4.0" + checksum: 8c4aa6a3c5a754bf76aefc38026134180c053b7bd2f81338cb5e5ebf96fefa0f417bff221592bf801077f5bf990562f6264fecbc42cd3309b33872cb6fc3b113 + languageName: node + linkType: hard + "tsutils@npm:^3.21.0": version: 3.21.0 resolution: "tsutils@npm:3.21.0" @@ -13183,6 +13276,15 @@ __metadata: languageName: node linkType: hard +"uid@npm:2.0.2": + version: 2.0.2 + resolution: "uid@npm:2.0.2" + dependencies: + "@lukeed/csprng": ^1.0.0 + checksum: 98aabddcd6fe46f9b331b0378a93ee9cc51474348ada02006df9d10b4abc783ed596748ed9f20d7f6c5ff395dbcd1e764a65a68db6f39a31c95ae85ef13fe979 + languageName: node + linkType: hard + "unbox-primitive@npm:^1.0.2": version: 1.0.2 resolution: "unbox-primitive@npm:1.0.2"