From 68a9d377ac0a819645858c8fba73a1511fc5a96e Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 12 Jan 2022 16:18:18 +0000 Subject: [PATCH] fix: scripts/auto_backtester/package.json & scripts/auto_backtester/package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-SHELLJS-2332187 --- scripts/auto_backtester/package-lock.json | 12 +++++++++--- scripts/auto_backtester/package.json | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/scripts/auto_backtester/package-lock.json b/scripts/auto_backtester/package-lock.json index 3827460c23..42de98d77e 100644 --- a/scripts/auto_backtester/package-lock.json +++ b/scripts/auto_backtester/package-lock.json @@ -2,6 +2,7 @@ "name": "zenbot4_auto_backtester", "version": "0.2.0", "lockfileVersion": 1, + "requires": true, "dependencies": { "balanced-match": { "version": "0.4.2", @@ -169,9 +170,14 @@ "integrity": "sha1-bDkwzHwLR9Na50IBCfZgqt4kAeM=" }, "shelljs": { - "version": "0.7.8", - "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.7.8.tgz", - "integrity": "sha1-3svPh0sNHl+3LhSxZKloMEjprLM=" + "version": "0.8.5", + "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.5.tgz", + "integrity": "sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==", + "requires": { + "glob": "^7.0.0", + "interpret": "^1.0.0", + "rechoir": "^0.6.2" + } }, "wrappy": { "version": "1.0.2", diff --git a/scripts/auto_backtester/package.json b/scripts/auto_backtester/package.json index 1f2e6ce231..d524602aa1 100644 --- a/scripts/auto_backtester/package.json +++ b/scripts/auto_backtester/package.json @@ -6,6 +6,6 @@ "json2csv": "^3.7.3", "round-precision": "^1.0.0", "run-parallel-limit": "^1.0.3", - "shelljs": "^0.7.8" + "shelljs": "^0.8.5" } }