From 344f012a448ade3e459ca4630a1a74c35822e494 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 12 Sep 2021 22:10:38 +0000 Subject: [PATCH] fix: scripts/genetic_backtester/package.json & scripts/genetic_backtester/package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-ANSIREGEX-1583908 --- scripts/genetic_backtester/package-lock.json | 17 +++++++---------- scripts/genetic_backtester/package.json | 2 +- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/scripts/genetic_backtester/package-lock.json b/scripts/genetic_backtester/package-lock.json index 6692a5230c..8c7e70230b 100644 --- a/scripts/genetic_backtester/package-lock.json +++ b/scripts/genetic_backtester/package-lock.json @@ -157,9 +157,6 @@ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" }, - "geneticalgorithm": { - "version": "git+https://github.com/cmroche/geneticalgorithm.git#c10b201fb5a2013fc280e400c4f01a5ff1d1a779" - }, "get-caller-file": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.2.tgz", @@ -625,17 +622,17 @@ } }, "strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.0.0.tgz", + "integrity": "sha512-UhDTSnGF1dc0DRbUqr1aXwNoY3RgVkSWG8BrpnuFIxhP57IqbS7IRta2Gfiavds4yCxc5+fEAVVOgBZWnYkvzg==", "requires": { - "ansi-regex": "3.0.0" + "ansi-regex": "^6.0.0" }, "dependencies": { "ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=" + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==" } } }, diff --git a/scripts/genetic_backtester/package.json b/scripts/genetic_backtester/package.json index dd54301e70..4956846b08 100644 --- a/scripts/genetic_backtester/package.json +++ b/scripts/genetic_backtester/package.json @@ -9,6 +9,6 @@ "run-parallel-limit": "^1.0.3", "shelljs": "^0.7.8", "yargs": "^8.0.2", - "strip-ansi": "^4.0.0" + "strip-ansi": "^7.0.0" } }