From 4aa249de66571ee2857b92cb64d78d5dea418da6 Mon Sep 17 00:00:00 2001 From: Raine Revere Date: Mon, 22 Feb 2021 11:55:55 -0700 Subject: [PATCH] upgradePackageDefinitions: Pass all options through to queryVersions. --- lib/versionmanager.js | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/lib/versionmanager.js b/lib/versionmanager.js index 528eff19..5edde5c9 100644 --- a/lib/versionmanager.js +++ b/lib/versionmanager.js @@ -220,18 +220,7 @@ async function getOwnerPerDependency(fromVersion, toVersion, options) { * @returns */ async function upgradePackageDefinitions(currentDependencies, options) { - const latestVersions = await queryVersions(currentDependencies, { - concurrency: options.concurrency, - deprecated: options.deprecated, - enginesNode: options.enginesNode, - json: options.json, - loglevel: options.loglevel, - packageManager: options.packageManager, - pre: options.pre, - registry: options.registry ? options.registry : null, - target: options.target, - timeout: options.timeout, - }) + const latestVersions = await queryVersions(currentDependencies, options) const upgradedDependencies = upgradeDependencies(currentDependencies, latestVersions, { removeRange: options.removeRange