mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(deps): update dependency fastify to v4.17.0 (#50230)
* fix(deps): update dependency fastify to v4.17.0 * add missing code in error object --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Sboonny <muhammed@freecodecamp.org>
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@
|
||||
"@immobiliarelabs/fastify-sentry": "^5.0.2",
|
||||
"@prisma/client": "4.14.0",
|
||||
"connect-mongo": "4.6.0",
|
||||
"fastify": "4.15.0",
|
||||
"fastify": "4.17.0",
|
||||
"fastify-auth0-verify": "^1.0.0",
|
||||
"fastify-plugin": "^4.3.0",
|
||||
"nodemon": "2.0.22"
|
||||
|
||||
@@ -103,6 +103,7 @@ describe('settingRoutes', () => {
|
||||
|
||||
expect(response?.statusCode).toEqual(400);
|
||||
expect(response?.body).toEqual({
|
||||
code: 'FST_ERR_VALIDATION',
|
||||
error: 'Bad Request',
|
||||
message: `body/profileUI must have required property 'showAbout'`,
|
||||
statusCode: 400
|
||||
|
||||
Generated
+15
-14
@@ -189,8 +189,8 @@ importers:
|
||||
specifier: 4.6.0
|
||||
version: 4.6.0(express-session@1.17.3)(mongodb@4.15.0)
|
||||
fastify:
|
||||
specifier: 4.15.0
|
||||
version: 4.15.0
|
||||
specifier: 4.17.0
|
||||
version: 4.17.0
|
||||
fastify-auth0-verify:
|
||||
specifier: ^1.0.0
|
||||
version: 1.0.0
|
||||
@@ -6244,10 +6244,10 @@ packages:
|
||||
resolution: {integrity: sha512-KAfcLa+CnknwVi5fWogrLXgidLic+GXnLjijXdpl8pvkvbXU5BGa37iZO9FGvsh9ZL4y+oFi5cbHBm5UOG+dmQ==}
|
||||
dev: false
|
||||
|
||||
/@fastify/fast-json-stringify-compiler@4.2.0:
|
||||
resolution: {integrity: sha512-ypZynRvXA3dibfPykQN3RB5wBdEUgSGgny8Qc6k163wYPLD4mEGEDkACp+00YmqkGvIm8D/xYoHajwyEdWD/eg==}
|
||||
/@fastify/fast-json-stringify-compiler@4.3.0:
|
||||
resolution: {integrity: sha512-aZAXGYo6m22Fk1zZzEUKBvut/CIIQe/BapEORnxiD5Qr0kPHqqI69NtEMCme74h+at72sPhbkb4ZrLd1W3KRLA==}
|
||||
dependencies:
|
||||
fast-json-stringify: 5.6.2
|
||||
fast-json-stringify: 5.7.0
|
||||
dev: false
|
||||
|
||||
/@fastify/jwt@6.6.0:
|
||||
@@ -17461,8 +17461,8 @@ packages:
|
||||
/fast-json-stable-stringify@2.1.0:
|
||||
resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==}
|
||||
|
||||
/fast-json-stringify@5.6.2:
|
||||
resolution: {integrity: sha512-F6xkRrXvtGbAiDSEI5Rk7qk2P63Y9kc8bO6Dnsd3Rt6sBNr2QxNFWs0JbKftgiyOfGxnJaRoHe4SizCTqeAyrA==}
|
||||
/fast-json-stringify@5.7.0:
|
||||
resolution: {integrity: sha512-sBVPTgnAZseLu1Qgj6lUbQ0HfjFhZWXAmpZ5AaSGkyLh5gAXBga/uPJjQPHpDFjC9adWIpdOcCLSDTgrZ7snoQ==}
|
||||
dependencies:
|
||||
'@fastify/deepmerge': 1.3.0
|
||||
ajv: 8.12.0
|
||||
@@ -17545,15 +17545,16 @@ packages:
|
||||
resolution: {integrity: sha512-79ak0JxddO0utAXAQ5ccKhvs6vX2MGyHHMMsmZkBANrq3hXc1CHzvNPHOcvTsVMEPl5I+NT+RO4YKMGehOfSIg==}
|
||||
dev: false
|
||||
|
||||
/fastify@4.15.0:
|
||||
resolution: {integrity: sha512-m/CaRN8nf5uyYdrDe2qqq+0z3oGyE+A++qlKQoLJTI4WI0nWK9D6R3FxXQ3MVwt/md977GMR4F43pE9oqrS2zw==}
|
||||
/fastify@4.17.0:
|
||||
resolution: {integrity: sha512-tzuY1tgWJo2Y6qEKwmLhFvACUmr68Io2pqP/sDKU71KRM6A6R3DrCDqLGqANbeLZcKUfdfY58ut35CGqemcTgg==}
|
||||
dependencies:
|
||||
'@fastify/ajv-compiler': 3.5.0
|
||||
'@fastify/error': 3.2.0
|
||||
'@fastify/fast-json-stringify-compiler': 4.2.0
|
||||
'@fastify/fast-json-stringify-compiler': 4.3.0
|
||||
abstract-logging: 2.0.1
|
||||
avvio: 8.2.1
|
||||
fast-content-type-parse: 1.0.0
|
||||
fast-json-stringify: 5.7.0
|
||||
find-my-way: 7.6.0
|
||||
light-my-request: 5.9.1
|
||||
pino: 8.11.0
|
||||
@@ -17562,7 +17563,7 @@ packages:
|
||||
rfdc: 1.3.0
|
||||
secure-json-parse: 2.7.0
|
||||
semver: 7.3.8
|
||||
tiny-lru: 10.0.1
|
||||
tiny-lru: 11.0.1
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
dev: false
|
||||
@@ -31120,9 +31121,9 @@ packages:
|
||||
es5-ext: 0.10.62
|
||||
next-tick: 1.1.0
|
||||
|
||||
/tiny-lru@10.0.1:
|
||||
resolution: {integrity: sha512-Vst+6kEsWvb17Zpz14sRJV/f8bUWKhqm6Dc+v08iShmIJ/WxqWytHzCTd6m88pS33rE2zpX34TRmOpAJPloNCA==}
|
||||
engines: {node: '>=6'}
|
||||
/tiny-lru@11.0.1:
|
||||
resolution: {integrity: sha512-iNgFugVuQgBKrqeO/mpiTTgmBsTP0WL6yeuLfLs/Ctf0pI/ixGqIRm8sDCwMcXGe9WWvt2sGXI5mNqZbValmJg==}
|
||||
engines: {node: '>=12'}
|
||||
dev: false
|
||||
|
||||
/tinydate@1.3.0:
|
||||
|
||||
Reference in New Issue
Block a user