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