From f51fc875ba94a1a7b1f42bdd4b4b6ab08b6abcb0 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 3 May 2020 19:46:33 -0700 Subject: [PATCH 1/2] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- .snyk | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .snyk diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..ec8174d --- /dev/null +++ b/.snyk @@ -0,0 +1,18 @@ +# 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-04T02:46:31.409Z' + - '@babel/core > @babel/traverse > lodash': + patched: '2020-05-04T02:46:31.409Z' + - '@babel/core > @babel/helpers > @babel/traverse > lodash': + patched: '2020-05-04T02:46:31.409Z' + - '@babel/core > @babel/helpers > @babel/traverse > @babel/generator > lodash': + patched: '2020-05-04T02:46:31.409Z' + - '@babel/core > @babel/helpers > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash': + patched: '2020-05-04T02:46:31.409Z' + - '@babel/core > @babel/helpers > @babel/traverse > @babel/helper-function-name > @babel/helper-get-function-arity > @babel/types > lodash': + patched: '2020-05-04T02:46:31.409Z' From 69423514fea6331cc036fb7611df0d8253d96fbe Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 3 May 2020 19:46:34 -0700 Subject: [PATCH 2/2] fix: .snyk & package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index d01f96a..beb3b08 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,9 @@ "test": "mocha", "lint": "eslint *.js **/*.js", "test-ci": "npm run clean && npm run test && npm run lint", - "clean": "rimraf 'test/*.po'" + "clean": "rimraf 'test/*.po'", + "snyk-protect": "snyk protect", + "prepare": "yarn run snyk-protect" }, "repository": { "type": "git", @@ -27,7 +29,8 @@ "homepage": "https://github.com/getsentry/babel-gettext-extractor", "dependencies": { "@babel/core": "^7.0.0", - "gettext-parser": "1.4.0" + "gettext-parser": "1.4.0", + "snyk": "^1.317.0" }, "devDependencies": { "@babel/preset-react": "^7.0.0", @@ -38,5 +41,6 @@ "eslint-plugin-react": "6.10.0", "mocha": "^2.3.4", "rimraf": "^2.6.1" - } + }, + "snyk": true }