From 59245f0697e40a98e0bd4d925585e4e3b3469dd5 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 19 Jun 2018 01:16:31 +0000 Subject: [PATCH] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/npm:hoek:20180212 The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/npm:hoek:20180212 --- .snyk | 30 ++++++++++++++++++++++++++++++ package.json | 10 +++++++--- 2 files changed, 37 insertions(+), 3 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 000000000..1961ae4c7 --- /dev/null +++ b/.snyk @@ -0,0 +1,30 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.12.0 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:hoek:20180212': + - gcloud > gce-images > google-auto-auth > google-auth-library > request > hawk > sntp > hoek: + patched: '2018-06-19T01:16:30.193Z' + - gcloud > google-auto-auth > google-auth-library > request > hawk > hoek: + patched: '2018-06-19T01:16:30.193Z' + - gcloud > google-auto-auth > google-auth-library > request > hawk > sntp > hoek: + patched: '2018-06-19T01:16:30.193Z' + - gcloud > google-auto-auth > google-auth-library > request > hawk > cryptiles > boom > hoek: + patched: '2018-06-19T01:16:30.193Z' + - gcloud > gce-images > google-auto-auth > google-auth-library > request > hawk > hoek: + patched: '2018-06-19T01:16:30.193Z' + - gcloud > gce-images > google-auto-auth > google-auth-library > request > hawk > boom > hoek: + patched: '2018-06-19T01:16:30.193Z' + - gcloud > google-auto-auth > google-auth-library > request > hawk > boom > hoek: + patched: '2018-06-19T01:16:30.193Z' + - gcloud > gce-images > google-auto-auth > google-auth-library > request > hawk > cryptiles > boom > hoek: + patched: '2018-06-19T01:16:30.193Z' + - gcloud > retry-request > request > hawk > hoek: + patched: '2018-06-19T01:16:30.193Z' + - gcloud > retry-request > request > hawk > boom > hoek: + patched: '2018-06-19T01:16:30.193Z' + - gcloud > retry-request > request > hawk > sntp > hoek: + patched: '2018-06-19T01:16:30.193Z' + - gcloud > retry-request > request > hawk > cryptiles > boom > hoek: + patched: '2018-06-19T01:16:30.193Z' diff --git a/package.json b/package.json index 5e3a0e04d..8dc2abbb3 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,9 @@ "author": "The AMP HTML Authors", "license": "Apache-2.0", "scripts": { - "start": "gulp serve" + "start": "gulp serve", + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" }, "dependencies": { "basscss": "^8.0.3", @@ -22,7 +24,8 @@ "compression": "^1.6.1", "connect": "^3.4.0", "express": "^4.13.4", - "gcloud": "^0.27.0" + "gcloud": "^0.36.0", + "snyk": "^1.83.0" }, "devDependencies": { "amphtml-validator": "^1.0.15", @@ -57,5 +60,6 @@ "string": "^3.3.1", "through2": "^2.0.1", "yargs": "^3.10.0" - } + }, + "snyk": true }