From 3d5da897f8d41148f01a1e317db620984b6f1a8f Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 May 2020 22:29:34 -0600 Subject: [PATCH 1/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-JQUERY-565129 - https://snyk.io/vuln/SNYK-JS-JQUERY-567880 The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- package.json | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 9971a1a7e1e..26508989d84 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "grim": "1.5.0", "jasmine-json": "~0.0", "jasmine-tagged": "^1.1.4", - "jquery": "2.1.4", + "jquery": "3.5.0", "key-path-helpers": "^0.4.0", "less-cache": "0.23", "line-top-index": "0.2.0", @@ -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.319.1" }, "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 } From 04099b835b9b9e9fb749c668dadd331c0042474e Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 May 2020 22:29:35 -0600 Subject: [PATCH 2/2] fix: package.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-JQUERY-565129 - https://snyk.io/vuln/SNYK-JS-JQUERY-567880 The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- .snyk | 142 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 142 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 00000000000..856b5e9c94e --- /dev/null +++ b/.snyk @@ -0,0 +1,142 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.14.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-567746: + - babel-core > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-core > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-es2015-modules-commonjs > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-core > babel-generator > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-core > babel-traverse > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-core > babel-template > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-class-properties > babel-template > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-decorators-legacy > babel-template > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-es2015-modules-commonjs > babel-template > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-core > babel-register > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-core > babel-generator > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-core > babel-traverse > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-core > babel-template > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-class-properties > babel-template > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-decorators-legacy > babel-template > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-es2015-modules-commonjs > babel-template > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-class-properties > babel-helper-function-name > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-es2015-modules-commonjs > babel-plugin-transform-strict-mode > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-react-jsx > babel-helper-builder-react-jsx > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-core > babel-template > babel-traverse > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-class-properties > babel-template > babel-traverse > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-decorators-legacy > babel-template > babel-traverse > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-es2015-modules-commonjs > babel-template > babel-traverse > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-class-properties > babel-helper-function-name > babel-traverse > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-traverse > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-core > babel-helpers > babel-template > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-class-properties > babel-helper-function-name > babel-template > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-template > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-core > babel-register > babel-core > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-core > babel-template > babel-traverse > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-class-properties > babel-template > babel-traverse > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-decorators-legacy > babel-template > babel-traverse > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-es2015-modules-commonjs > babel-template > babel-traverse > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-class-properties > babel-helper-function-name > babel-traverse > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-traverse > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-core > babel-helpers > babel-template > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-class-properties > babel-helper-function-name > babel-template > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-template > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-core > babel-register > babel-core > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-class-properties > babel-helper-function-name > babel-helper-get-function-arity > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-helper-function-name > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-core > babel-register > babel-core > babel-generator > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-core > babel-helpers > babel-template > babel-traverse > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-class-properties > babel-helper-function-name > babel-template > babel-traverse > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-template > babel-traverse > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-core > babel-register > babel-core > babel-traverse > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-helper-function-name > babel-traverse > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-core > babel-register > babel-core > babel-template > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-helper-function-name > babel-template > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-core > babel-register > babel-core > babel-register > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-core > babel-register > babel-core > babel-generator > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-core > babel-helpers > babel-template > babel-traverse > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-class-properties > babel-helper-function-name > babel-template > babel-traverse > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-template > babel-traverse > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-core > babel-register > babel-core > babel-traverse > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-helper-function-name > babel-traverse > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-core > babel-register > babel-core > babel-template > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-helper-function-name > babel-template > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - 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: '2020-05-07T04:29:32.484Z' + - babel-core > babel-register > babel-core > babel-template > babel-traverse > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-helper-function-name > babel-template > babel-traverse > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-core > babel-register > babel-core > babel-helpers > babel-template > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-core > babel-register > babel-core > babel-template > babel-traverse > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-plugin-transform-async-to-generator > babel-helper-remap-async-to-generator > babel-helper-function-name > babel-template > babel-traverse > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-core > babel-register > babel-core > babel-helpers > babel-template > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-core > babel-register > babel-core > babel-helpers > babel-template > babel-traverse > lodash: + patched: '2020-05-07T04:29:32.484Z' + - babel-core > babel-register > babel-core > babel-helpers > babel-template > babel-traverse > babel-types > lodash: + patched: '2020-05-07T04:29:32.484Z'