From 43e14343038c9c8e98057959d48f5e3013fa9362 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 21 Mar 2024 18:53:50 +0000 Subject: [PATCH] fix: upgrade reflect-metadata from 0.1.13 to 0.2.1 Snyk has created this PR to upgrade reflect-metadata from 0.1.13 to 0.2.1. See this package in npm: https://www.npmjs.com/package/reflect-metadata See this project in Snyk: https://app.snyk.io/org/aam-digital-ci/project/ea550eee-fdb1-4691-bb57-fc4751575634?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 66 ++++++++++++++++++++++++----------------------- package.json | 2 +- 2 files changed, 35 insertions(+), 33 deletions(-) diff --git a/package-lock.json b/package-lock.json index ab50b50..a88a978 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,7 @@ "js-yaml": "4.1.0", "jwt-decode": "^3.1.2", "passport-http-bearer": "^1.0.1", - "reflect-metadata": "^0.1.13", + "reflect-metadata": "^0.2.1", "rimraf": "^3.0.2", "rxjs": "^7.2.0" }, @@ -1556,25 +1556,6 @@ } } }, - "node_modules/@nestjs/mapped-types": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@nestjs/mapped-types/-/mapped-types-1.2.2.tgz", - "integrity": "sha512-3dHxLXs3M0GPiriAcCFFJQHoDFUuzTD5w6JDhE7TyfT89YKpe6tcCCIqOZWdXmt9AZjjK30RkHRSFF+QEnWFQg==", - "peerDependencies": { - "@nestjs/common": "^7.0.8 || ^8.0.0 || ^9.0.0", - "class-transformer": "^0.2.0 || ^0.3.0 || ^0.4.0 || ^0.5.0", - "class-validator": "^0.11.1 || ^0.12.0 || ^0.13.0 || ^0.14.0", - "reflect-metadata": "^0.1.12" - }, - "peerDependenciesMeta": { - "class-transformer": { - "optional": true - }, - "class-validator": { - "optional": true - } - } - }, "node_modules/@nestjs/passport": { "version": "9.0.0", "resolved": "https://registry.npmjs.org/@nestjs/passport/-/passport-9.0.0.tgz", @@ -1650,6 +1631,25 @@ } } }, + "node_modules/@nestjs/swagger/node_modules/@nestjs/mapped-types": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@nestjs/mapped-types/-/mapped-types-1.2.2.tgz", + "integrity": "sha512-3dHxLXs3M0GPiriAcCFFJQHoDFUuzTD5w6JDhE7TyfT89YKpe6tcCCIqOZWdXmt9AZjjK30RkHRSFF+QEnWFQg==", + "peerDependencies": { + "@nestjs/common": "^7.0.8 || ^8.0.0 || ^9.0.0", + "class-transformer": "^0.2.0 || ^0.3.0 || ^0.4.0 || ^0.5.0", + "class-validator": "^0.11.1 || ^0.12.0 || ^0.13.0 || ^0.14.0", + "reflect-metadata": "^0.1.12" + }, + "peerDependenciesMeta": { + "class-transformer": { + "optional": true + }, + "class-validator": { + "optional": true + } + } + }, "node_modules/@nestjs/testing": { "version": "9.0.11", "resolved": "https://registry.npmjs.org/@nestjs/testing/-/testing-9.0.11.tgz", @@ -7232,9 +7232,9 @@ } }, "node_modules/reflect-metadata": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.1.13.tgz", - "integrity": "sha512-Ts1Y/anZELhSsjMcU605fU9RE4Oi3p5ORujwbIKXfWa+0Zxs510Qrmrce5/Jowq3cHSZSJqBjypxmHarc+vEWg==" + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.2.1.tgz", + "integrity": "sha512-i5lLI6iw9AU3Uu4szRNPPEkomnkjRTaVt9hy/bn5g/oSzekBSMeLZblcjP74AW0vBabqERLLIrz+gR8QYR54Tw==" }, "node_modules/regexpp": { "version": "3.2.0", @@ -9943,12 +9943,6 @@ "uuid": "8.3.2" } }, - "@nestjs/mapped-types": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@nestjs/mapped-types/-/mapped-types-1.2.2.tgz", - "integrity": "sha512-3dHxLXs3M0GPiriAcCFFJQHoDFUuzTD5w6JDhE7TyfT89YKpe6tcCCIqOZWdXmt9AZjjK30RkHRSFF+QEnWFQg==", - "requires": {} - }, "@nestjs/passport": { "version": "9.0.0", "resolved": "https://registry.npmjs.org/@nestjs/passport/-/passport-9.0.0.tgz", @@ -9989,6 +9983,14 @@ "lodash": "4.17.21", "path-to-regexp": "3.2.0", "swagger-ui-dist": "4.18.2" + }, + "dependencies": { + "@nestjs/mapped-types": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@nestjs/mapped-types/-/mapped-types-1.2.2.tgz", + "integrity": "sha512-3dHxLXs3M0GPiriAcCFFJQHoDFUuzTD5w6JDhE7TyfT89YKpe6tcCCIqOZWdXmt9AZjjK30RkHRSFF+QEnWFQg==", + "requires": {} + } } }, "@nestjs/testing": { @@ -14225,9 +14227,9 @@ } }, "reflect-metadata": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.1.13.tgz", - "integrity": "sha512-Ts1Y/anZELhSsjMcU605fU9RE4Oi3p5ORujwbIKXfWa+0Zxs510Qrmrce5/Jowq3cHSZSJqBjypxmHarc+vEWg==" + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.2.1.tgz", + "integrity": "sha512-i5lLI6iw9AU3Uu4szRNPPEkomnkjRTaVt9hy/bn5g/oSzekBSMeLZblcjP74AW0vBabqERLLIrz+gR8QYR54Tw==" }, "regexpp": { "version": "3.2.0", diff --git a/package.json b/package.json index 4986dbf..d05395f 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "js-yaml": "4.1.0", "jwt-decode": "^3.1.2", "passport-http-bearer": "^1.0.1", - "reflect-metadata": "^0.1.13", + "reflect-metadata": "^0.2.1", "rimraf": "^3.0.2", "rxjs": "^7.2.0" },