diff options
author | Luke Karrys <luke@lukekarrys.com> | 2022-10-19 09:00:50 +0300 |
---|---|---|
committer | Luke Karrys <luke@lukekarrys.com> | 2022-10-19 22:50:41 +0300 |
commit | 88137a329c8ad418db265dd465768a7cf5ebccb1 (patch) | |
tree | dd1c0df1d7f74a31fe1da40fc392655f5b41a0aa | |
parent | 332914b48b616099e586893b1df21480b7ddb733 (diff) |
deps: npmlog@7.0.1
Previously, `npmlog` was attempting to enable the progress bar even when
logs were paused. This displayed the most recent log (most often an
error) for the rest of the process.
Fixes #4527
-rw-r--r-- | node_modules/npmlog/lib/log.js | 6 | ||||
-rw-r--r-- | node_modules/npmlog/package.json | 6 | ||||
-rw-r--r-- | package-lock.json | 12 | ||||
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | workspaces/arborist/package.json | 2 | ||||
-rw-r--r-- | workspaces/libnpmexec/package.json | 2 |
6 files changed, 13 insertions, 17 deletions
diff --git a/node_modules/npmlog/lib/log.js b/node_modules/npmlog/lib/log.js index be650c6a4..38106ea34 100644 --- a/node_modules/npmlog/lib/log.js +++ b/node_modules/npmlog/lib/log.js @@ -79,16 +79,12 @@ log.setGaugeTemplate = function (template) { } log.enableProgress = function () { - if (this.progressEnabled) { + if (this.progressEnabled || this._paused) { return } this.progressEnabled = true this.tracker.on('change', this.showProgress) - if (this._paused) { - return - } - this.gauge.enable() } diff --git a/node_modules/npmlog/package.json b/node_modules/npmlog/package.json index fd0963ead..dbcc772d3 100644 --- a/node_modules/npmlog/package.json +++ b/node_modules/npmlog/package.json @@ -2,7 +2,7 @@ "author": "GitHub Inc.", "name": "npmlog", "description": "logger for npm", - "version": "7.0.0", + "version": "7.0.1", "repository": { "type": "git", "url": "https://github.com/npm/npmlog.git" @@ -31,7 +31,7 @@ }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.5.1", + "@npmcli/template-oss": "4.6.1", "tap": "^16.0.1" }, "license": "ISC", @@ -47,6 +47,6 @@ }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.5.1" + "version": "4.6.1" } } diff --git a/package-lock.json b/package-lock.json index c8c66317b..76fa3dd50 100644 --- a/package-lock.json +++ b/package-lock.json @@ -135,7 +135,7 @@ "npm-profile": "^7.0.1", "npm-registry-fetch": "^14.0.2", "npm-user-validate": "^1.0.1", - "npmlog": "^7.0.0", + "npmlog": "^7.0.1", "opener": "^1.5.2", "p-map": "^4.0.0", "pacote": "^15.0.2", @@ -8409,9 +8409,9 @@ "license": "BSD-2-Clause" }, "node_modules/npmlog": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-7.0.0.tgz", - "integrity": "sha512-p+OVCIQx1Rehplt2DNgBERrKtE5Ej0/rqdcNz5PbohpKHDPprGAl142qQuozmzWUM9uNjvstEO+A92CwytJPcQ==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-7.0.1.tgz", + "integrity": "sha512-uJ0YFk/mCQpLBt+bxN88AKd+gyqZvZDbtiNxk6Waqcj2aPRyfVx8ITawkyQynxUagInjdYT1+qj4NfA5KJJUxg==", "inBundle": true, "dependencies": { "are-we-there-yet": "^4.0.0", @@ -14061,7 +14061,7 @@ "npm-package-arg": "^10.0.0", "npm-pick-manifest": "^8.0.1", "npm-registry-fetch": "^14.0.2", - "npmlog": "^7.0.0", + "npmlog": "^7.0.1", "pacote": "^15.0.2", "parse-conflict-json": "^3.0.0", "proc-log": "^3.0.0", @@ -14140,7 +14140,7 @@ "@npmcli/run-script": "^5.0.0", "chalk": "^4.1.0", "npm-package-arg": "^10.0.0", - "npmlog": "^7.0.0", + "npmlog": "^7.0.1", "pacote": "^15.0.2", "proc-log": "^3.0.0", "read": "^1.0.7", diff --git a/package.json b/package.json index ad795b8c9..c9e98cd25 100644 --- a/package.json +++ b/package.json @@ -104,7 +104,7 @@ "npm-profile": "^7.0.1", "npm-registry-fetch": "^14.0.2", "npm-user-validate": "^1.0.1", - "npmlog": "^7.0.0", + "npmlog": "^7.0.1", "opener": "^1.5.2", "p-map": "^4.0.0", "pacote": "^15.0.2", diff --git a/workspaces/arborist/package.json b/workspaces/arborist/package.json index 89cbffce6..370a43459 100644 --- a/workspaces/arborist/package.json +++ b/workspaces/arborist/package.json @@ -24,7 +24,7 @@ "npm-package-arg": "^10.0.0", "npm-pick-manifest": "^8.0.1", "npm-registry-fetch": "^14.0.2", - "npmlog": "^7.0.0", + "npmlog": "^7.0.1", "pacote": "^15.0.2", "parse-conflict-json": "^3.0.0", "proc-log": "^3.0.0", diff --git a/workspaces/libnpmexec/package.json b/workspaces/libnpmexec/package.json index 2a1b5995f..1e0bf68c8 100644 --- a/workspaces/libnpmexec/package.json +++ b/workspaces/libnpmexec/package.json @@ -63,7 +63,7 @@ "@npmcli/run-script": "^5.0.0", "chalk": "^4.1.0", "npm-package-arg": "^10.0.0", - "npmlog": "^7.0.0", + "npmlog": "^7.0.1", "pacote": "^15.0.2", "proc-log": "^3.0.0", "read": "^1.0.7", |