From 2f97e31d3fc0543cf53ef0bbfcafff707607f3b3 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 20 Jan 2021 04:23:30 +0000 Subject: [PATCH] fix: upgrade fastify-jwt from 2.1.3 to 2.2.0 Snyk has created this PR to upgrade fastify-jwt from 2.1.3 to 2.2.0. See this package in npm: https://www.npmjs.com/package/fastify-jwt See this project in Snyk: https://app.snyk.io/org/twake-dev/project/4f15728e-b0e1-444c-9379-9fcb182aa18d?utm_source=github&utm_medium=upgrade-pr --- twake/backend/node/package-lock.json | 21 ++++++++++++++------- twake/backend/node/package.json | 2 +- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/twake/backend/node/package-lock.json b/twake/backend/node/package-lock.json index fb62ad8bd6..0a3a8c7f25 100644 --- a/twake/backend/node/package-lock.json +++ b/twake/backend/node/package-lock.json @@ -4613,15 +4613,22 @@ "integrity": "sha512-zabxsBatj59ROG0fhP36zNdc5Q1/eYeH9oSF9uvfrurZf8/JKfrJbMcIGrLpLWcf89rS6L91RHWm20A/X85hcA==" }, "fastify-jwt": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/fastify-jwt/-/fastify-jwt-2.1.3.tgz", - "integrity": "sha512-8732zt+7UA9JzeRebJFCH+56laMCAxq/Wyou6pzXZzEWcPGPLcRqCk+R0CcgwjjVToo6wLIeNNKHFegyemyHug==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/fastify-jwt/-/fastify-jwt-2.2.0.tgz", + "integrity": "sha512-UxUpNWOxHy0h4v4XEiBfdlnsW3AwhWH0Yrxwyw7s34VVT/yRkMj1d52xBZ8kQEnWV23HEMNc2nqapj24HtTWHw==", "requires": { - "@types/jsonwebtoken": "^8.3.2", - "fastify-plugin": "^2.0.0", - "http-errors": "^1.7.1", - "jsonwebtoken": "^8.3.0", + "@types/jsonwebtoken": "^8.5.0", + "fastify-plugin": "^3.0.0", + "http-errors": "^1.8.0", + "jsonwebtoken": "^8.5.1", "steed": "^1.1.3" + }, + "dependencies": { + "fastify-plugin": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/fastify-plugin/-/fastify-plugin-3.0.0.tgz", + "integrity": "sha512-ZdCvKEEd92DNLps5n0v231Bha8bkz1DjnPP/aEz37rz/q42Z5JVLmgnqR4DYuNn3NXAO3IDCPyRvgvxtJ4Ym4w==" + } } }, "fastify-plugin": { diff --git a/twake/backend/node/package.json b/twake/backend/node/package.json index a4a55805c7..188df8a911 100644 --- a/twake/backend/node/package.json +++ b/twake/backend/node/package.json @@ -84,7 +84,7 @@ "deep-object-diff": "^1.1.0", "fastify": "3.4.1", "fastify-cors": "^4.1.0", - "fastify-jwt": "^2.1.3", + "fastify-jwt": "^2.2.0", "fastify-plugin": "^2.3.4", "fastify-sensible": "^3.0.1", "fastify-websocket": "^2.0.7",