diff --git a/node_modules/libnpmexec/lib/index.js b/node_modules/libnpmexec/lib/index.js index 57c2a148d3489..3f1463d767a8e 100644 --- a/node_modules/libnpmexec/lib/index.js +++ b/node_modules/libnpmexec/lib/index.js @@ -165,6 +165,8 @@ const exec = async (opts) => { const prompt = `Need to install the following packages:\n${ addList }Ok to proceed? ` + if (typeof log.clearProgress === 'function') + log.clearProgress() const confirm = await read({ prompt, default: 'y' }) if (confirm.trim().toLowerCase().charAt(0) !== 'y') throw new Error('canceled') diff --git a/node_modules/libnpmexec/package.json b/node_modules/libnpmexec/package.json index dff91077d148a..2668f11731e6f 100644 --- a/node_modules/libnpmexec/package.json +++ b/node_modules/libnpmexec/package.json @@ -1,6 +1,6 @@ { "name": "libnpmexec", - "version": "2.0.0", + "version": "2.0.1", "files": [ "lib" ], diff --git a/package-lock.json b/package-lock.json index 9a66b0cd9b98e..5f5e7758ebc02 100644 --- a/package-lock.json +++ b/package-lock.json @@ -109,7 +109,7 @@ "leven": "^3.1.0", "libnpmaccess": "^4.0.2", "libnpmdiff": "^2.0.4", - "libnpmexec": "^2.0.0", + "libnpmexec": "^2.0.1", "libnpmfund": "^1.1.0", "libnpmhook": "^6.0.2", "libnpmorg": "^2.0.2", @@ -4644,9 +4644,9 @@ "link": true }, "node_modules/libnpmexec": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/libnpmexec/-/libnpmexec-2.0.0.tgz", - "integrity": "sha512-9zHswx//Lp2ao+huWF2aL+6v4haMncyxNusk6Us2fbLNnPh3+rgSkv38LJ2v8gmKS2kAnkUmQf8pHjcZ+7Z3NA==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/libnpmexec/-/libnpmexec-2.0.1.tgz", + "integrity": "sha512-4SqBB7eJvJWmUKNF42Q5qTOn20DRjEE4TgvEh2yneKlAiRlwlhuS9MNR45juWwmoURJlf2K43bozlVt7OZiIOw==", "inBundle": true, "dependencies": { "@npmcli/arborist": "^2.3.0", @@ -13878,9 +13878,9 @@ } }, "libnpmexec": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/libnpmexec/-/libnpmexec-2.0.0.tgz", - "integrity": "sha512-9zHswx//Lp2ao+huWF2aL+6v4haMncyxNusk6Us2fbLNnPh3+rgSkv38LJ2v8gmKS2kAnkUmQf8pHjcZ+7Z3NA==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/libnpmexec/-/libnpmexec-2.0.1.tgz", + "integrity": "sha512-4SqBB7eJvJWmUKNF42Q5qTOn20DRjEE4TgvEh2yneKlAiRlwlhuS9MNR45juWwmoURJlf2K43bozlVt7OZiIOw==", "requires": { "@npmcli/arborist": "^2.3.0", "@npmcli/ci-detect": "^1.3.0", diff --git a/package.json b/package.json index 4048b40bfd2fd..07fb70f52816c 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "leven": "^3.1.0", "libnpmaccess": "^4.0.2", "libnpmdiff": "^2.0.4", - "libnpmexec": "^2.0.0", + "libnpmexec": "^2.0.1", "libnpmfund": "^1.1.0", "libnpmhook": "^6.0.2", "libnpmorg": "^2.0.2",