From 632846199138d3f05a7614d164171f294f3763aa Mon Sep 17 00:00:00 2001 From: snyk-test Date: Thu, 4 Jul 2019 04:29:32 +0000 Subject: [PATCH] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-450202 --- .snyk | 142 +++++++++++++++++++++++++++++++++++++++++++++++++++ package.json | 10 ++-- 2 files changed, 149 insertions(+), 3 deletions(-) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 00000000000..c674304cc40 --- /dev/null +++ b/.snyk @@ -0,0 +1,142 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.5 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-450202: + - babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-template > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-core > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-es2015-modules-commonjs > babel-template > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-decorators-legacy > babel-template > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-class-properties > babel-template > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-core > babel-template > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-core > babel-traverse > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-core > babel-generator > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-es2015-modules-commonjs > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-core > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-core > babel-helpers > babel-template > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-traverse > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-class-properties > babel-helper-function-name > babel-traverse > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-core > babel-traverse > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-core > babel-register > babel-core > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-es2015-modules-commonjs > babel-template > babel-traverse > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-decorators-legacy > babel-template > babel-traverse > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-class-properties > babel-template > babel-traverse > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-core > babel-template > babel-traverse > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-template > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-core > babel-template > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-react-jsx > babel-helper-builder-react-jsx > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-class-properties > babel-helper-function-name > babel-template > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-core > babel-generator > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-class-properties > babel-template > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-decorators-legacy > babel-template > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-es2015-modules-commonjs > babel-template > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-es2015-modules-commonjs > babel-plugin-transform-strict-mode > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-class-properties > babel-helper-function-name > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-core > babel-register > babel-core > babel-traverse > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-class-properties > babel-helper-function-name > babel-helper-get-function-arity > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-core > babel-register > babel-core > babel-register > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-core > babel-register > babel-core > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-core > babel-register > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-class-properties > babel-helper-function-name > babel-template > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-core > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-core > babel-register > babel-core > babel-generator > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-helper-function-name > babel-template > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-class-properties > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-core > babel-helpers > babel-template > babel-traverse > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-core > babel-register > babel-core > babel-template > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-core > babel-helpers > babel-template > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-decorators-legacy > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-class-properties > babel-helper-function-name > babel-template > babel-traverse > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-template > babel-traverse > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-es2015-modules-commonjs > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-traverse > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-class-properties > babel-helper-function-name > babel-traverse > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-helper-function-name > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-helper-function-name > babel-traverse > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-helper-function-name > babel-traverse > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-core > babel-helpers > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-core > babel-register > babel-core > babel-helpers > babel-template > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-helper-function-name > babel-template > babel-traverse > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-core > babel-register > babel-core > babel-template > babel-traverse > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-helper-function-name > babel-helper-get-function-arity > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-core > babel-register > babel-core > babel-template > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-core > babel-register > babel-core > babel-traverse > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-class-properties > babel-helper-function-name > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-helper-function-name > babel-template > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-core > babel-register > babel-core > babel-generator > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-helper-function-name > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-core > babel-register > babel-core > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-core > babel-register > babel-core > babel-helpers > babel-template > babel-traverse > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-core > babel-register > babel-core > babel-helpers > babel-template > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' + - babel-core > babel-register > babel-core > babel-helpers > babel-template > babel-traverse > babel-types > lodash: + patched: '2019-07-04T04:29:30.398Z' diff --git a/package.json b/package.json index 9971a1a7e1e..cf2c2e7d4dd 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,8 @@ "typescript-simple": "1.0.0", "underscore-plus": "^1.6.6", "winreg": "^1.2.1", - "yargs": "^3.23.0" + "yargs": "^3.23.0", + "snyk": "^1.189.0" }, "packageDependencies": { "atom-dark-syntax": "0.28.0", @@ -177,7 +178,9 @@ "private": true, "scripts": { "preinstall": "node -e 'process.exit(0)'", - "test": "node script/test" + "test": "node script/test", + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" }, "standard": { "globals": [ @@ -198,5 +201,6 @@ "waitsForPromise", "indexedDB" ] - } + }, + "snyk": true }