From 247258feea401deed4c2433844fda265e922ef1d Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 4 Dec 2024 19:59:22 +0000 Subject: [PATCH] feat: upgrade argparse from 1.0.10 to 2.0.1 Snyk has created this PR to upgrade argparse from 1.0.10 to 2.0.1. See this package in npm: argparse See this project in Snyk: https://app.snyk.io/org/willowtree-org/project/6e8f6c58-64bc-414f-a994-90e4c6bfbf04?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 23 ++++++++++++++++------- package.json | 2 +- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0049448..8217cff 100644 --- a/package-lock.json +++ b/package-lock.json @@ -393,12 +393,9 @@ "dev": true }, "argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "requires": { - "sprintf-js": "~1.0.2" - } + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" }, "array-includes": { "version": "3.1.1", @@ -2371,6 +2368,17 @@ "requires": { "argparse": "^1.0.7", "esprima": "^4.0.0" + }, + "dependencies": { + "argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "requires": { + "sprintf-js": "~1.0.2" + } + } } }, "json-parse-better-errors": { @@ -3727,7 +3735,8 @@ "sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" + "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", + "dev": true }, "string-argv": { "version": "0.3.1", diff --git a/package.json b/package.json index aa2608f..6557145 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ ], "license": "MIT", "dependencies": { - "argparse": "^1.0.10", + "argparse": "^2.0.1", "axios": "^0.21.1", "chalk": "^4.0.0", "configstore": "^5.0.1",