From f538a145a74707f2a831a069fa6f8847b6b58469 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 6 May 2019 06:48:18 +0000 Subject: [PATCH] fix: packages/dandi-contrib/mvc-auth-firebase/.snyk & packages/dandi-contrib/mvc-auth-firebase/package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-AXIOS-174505 --- .../dandi-contrib/mvc-auth-firebase/.snyk | 28 +++++++++++++++++++ .../mvc-auth-firebase/package.json | 10 +++++-- 2 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 packages/dandi-contrib/mvc-auth-firebase/.snyk diff --git a/packages/dandi-contrib/mvc-auth-firebase/.snyk b/packages/dandi-contrib/mvc-auth-firebase/.snyk new file mode 100644 index 00000000..bf01eec7 --- /dev/null +++ b/packages/dandi-contrib/mvc-auth-firebase/.snyk @@ -0,0 +1,28 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.3 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-AXIOS-174505: + - firebase-admin > @google-cloud/firestore > google-gax > google-auth-library > gtoken > axios: + patched: '2019-05-06T06:48:16.768Z' + - firebase-admin > @google-cloud/firestore > google-gax > google-auth-library > axios: + patched: '2019-05-06T06:48:16.768Z' + - firebase-admin > @google-cloud/storage > @google-cloud/common > google-auto-auth > google-auth-library > axios: + patched: '2019-05-06T06:48:16.768Z' + - firebase-admin > @google-cloud/storage > gcs-resumable-upload > google-auto-auth > gcp-metadata > axios: + patched: '2019-05-06T06:48:16.768Z' + - firebase-admin > @google-cloud/storage > gcs-resumable-upload > google-auto-auth > google-auth-library > axios: + patched: '2019-05-06T06:48:16.768Z' + - firebase-admin > @google-cloud/firestore > google-gax > google-auth-library > gcp-metadata > axios: + patched: '2019-05-06T06:48:16.768Z' + - firebase-admin > @google-cloud/storage > @google-cloud/common > google-auto-auth > gcp-metadata > axios: + patched: '2019-05-06T06:48:16.768Z' + - firebase-admin > @google-cloud/storage > gcs-resumable-upload > google-auto-auth > google-auth-library > gcp-metadata > axios: + patched: '2019-05-06T06:48:16.768Z' + - firebase-admin > @google-cloud/storage > gcs-resumable-upload > google-auto-auth > google-auth-library > gtoken > axios: + patched: '2019-05-06T06:48:16.768Z' + - firebase-admin > @google-cloud/storage > @google-cloud/common > google-auto-auth > google-auth-library > gtoken > axios: + patched: '2019-05-06T06:48:16.768Z' + - firebase-admin > @google-cloud/storage > @google-cloud/common > google-auto-auth > google-auth-library > gcp-metadata > axios: + patched: '2019-05-06T06:48:16.768Z' diff --git a/packages/dandi-contrib/mvc-auth-firebase/package.json b/packages/dandi-contrib/mvc-auth-firebase/package.json index a0cdad2e..2e4ca4a5 100644 --- a/packages/dandi-contrib/mvc-auth-firebase/package.json +++ b/packages/dandi-contrib/mvc-auth-firebase/package.json @@ -1,7 +1,8 @@ { "name": "@dandi-contrib/mvc-auth-firebase", "dependencies": { - "firebase-admin": "^6.4.0" + "firebase-admin": "^6.4.0", + "snyk": "^1.161.1" }, "peerDependencies": { "@dandi-contrib/mvc-express": "*", @@ -11,5 +12,10 @@ "@dandi/core": "*", "@dandi/model": "*", "@dandi/mvc": "*" - } + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" + }, + "snyk": true }