From afc84cc8f8751bd6199e90a30f11e4ee6c3e895d Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 05:32:03 +0800 Subject: [PATCH 1/2] fix: packages/strapi-generate/package.json & packages/strapi-generate/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- packages/strapi-generate/package.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/packages/strapi-generate/package.json b/packages/strapi-generate/package.json index aba2643baec..c3ba98112ed 100755 --- a/packages/strapi-generate/package.json +++ b/packages/strapi-generate/package.json @@ -17,7 +17,8 @@ "fs-extra": "^4.0.0", "lodash": "^4.17.4", "reportback": "^2.0.1", - "strapi-utils": "3.0.0-alpha.9.2" + "strapi-utils": "3.0.0-alpha.9.2", + "snyk": "^1.316.1" }, "author": { "name": "Strapi team", @@ -42,5 +43,10 @@ "node": ">= 8.0.0", "npm": ">= 5.3.0" }, - "license": "MIT" + "license": "MIT", + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true } \ No newline at end of file From 8ccf5e1dd0f9c1788104ca7c035615c68628b2b2 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 May 2020 05:32:04 +0800 Subject: [PATCH 2/2] fix: packages/strapi-generate/package.json & packages/strapi-generate/.snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- packages/strapi-generate/.snyk | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 packages/strapi-generate/.snyk diff --git a/packages/strapi-generate/.snyk b/packages/strapi-generate/.snyk new file mode 100644 index 00000000000..cc48a35bbe3 --- /dev/null +++ b/packages/strapi-generate/.snyk @@ -0,0 +1,14 @@ +# 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: + - lodash: + patched: '2020-04-30T21:32:00.450Z' + - async > lodash: + patched: '2020-04-30T21:32:00.450Z' + - strapi-utils > lodash: + patched: '2020-04-30T21:32:00.450Z' + - strapi-utils > knex > lodash: + patched: '2020-04-30T21:32:00.450Z'