From c15345f53bd78ec68deb35ac3bcf244f7112eb8b Mon Sep 17 00:00:00 2001 From: Mariusz Nowak Date: Thu, 23 May 2024 21:44:49 +0200 Subject: [PATCH] fix: Fix outdated deep dependency log visibility --- lib/install-maintained-package/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/install-maintained-package/index.js b/lib/install-maintained-package/index.js index 1b51377..68df73c 100644 --- a/lib/install-maintained-package/index.js +++ b/lib/install-maintained-package/index.js @@ -12,6 +12,7 @@ const optionalChaining = require("es5-ext/optional-chaining") , resolveExternalContext = require("../resolve-external-context") , removeNonDirectDependencies = require("../remove-non-direct-dependencies") , resolveMaintainedPackagePath = require("../resolve-maintained-package-path") + , resolveLogLevel = require("../utils/resolve-log-level") , finalize = require("./finalize"); module.exports = async (packageContext, userConfiguration, inputOptions, progressData) => { @@ -59,7 +60,7 @@ module.exports = async (packageContext, userConfiguration, inputOptions, progres packageContext.externalContext.latestVersion && packageContext.externalContext.latestVersion !== packageContext.packageJson.version ) { - log.notice( + log[resolveLogLevel(packageContext, progressData)]( "%s is at %s version which doesn't reflect %s latest version", name, packageContext.packageJson.version, packageContext.externalContext.latestVersion );