From 3dc91a7dc5fe225727fba07c6bd7f9f9f3ddf58e Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 21 Jun 2018 01:29:20 +0000 Subject: [PATCH] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/npm:hoek:20180212 --- .snyk | 14 ++++++++++++++ package.json | 21 ++++++++++++++++----- 2 files changed, 30 insertions(+), 5 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000000..115316131d --- /dev/null +++ b/.snyk @@ -0,0 +1,14 @@ +# 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': + - gulp-sass > node-sass > node-gyp > request > hawk > hoek: + patched: '2018-06-21T01:29:17.717Z' + - gulp-sass > node-sass > node-gyp > request > hawk > boom > hoek: + patched: '2018-06-21T01:29:17.717Z' + - gulp-sass > node-sass > node-gyp > request > hawk > sntp > hoek: + patched: '2018-06-21T01:29:17.717Z' + - gulp-sass > node-sass > node-gyp > request > hawk > cryptiles > boom > hoek: + patched: '2018-06-21T01:29:17.717Z' diff --git a/package.json b/package.json index 0c50f73889..ccb089407e 100644 --- a/package.json +++ b/package.json @@ -11,10 +11,13 @@ "gulp-replace": "^0.5.4", "gulp-sass": "^2.0.4", "gulp-uglify": "^1.4.2", - "js-yaml": "^3.4.3" + "js-yaml": "^3.4.3", + "snyk": "^1.83.0" }, "scripts": { - "gulp": "gulp" + "gulp": "gulp", + "snyk-protect": "snyk protect", + "prepare": "npm run snyk-protect" }, "license": "MIT", "repository": { @@ -29,8 +32,16 @@ "gulp-babel": "^6.1.2" }, "standard": { - "ignore": ["javascripts/search_worker.js"], + "ignore": [ + "javascripts/search_worker.js" + ], "parser": "babel-eslint", - "globals": ["$", "importScripts", "lunr", "Worker"] - } + "globals": [ + "$", + "importScripts", + "lunr", + "Worker" + ] + }, + "snyk": true }