@yarnpkg/plugin-npm-cli
Advanced tools
Comparing version 4.0.0-rc.47 to 4.0.0-rc.48
@@ -6,2 +6,3 @@ "use strict"; | ||
const core_1 = require("@yarnpkg/core"); | ||
const core_2 = require("@yarnpkg/core"); | ||
const plugin_npm_1 = require("@yarnpkg/plugin-npm"); | ||
@@ -75,12 +76,5 @@ const clipanion_1 = require("clipanion"); | ||
const deprecations = await Promise.all(this.noDeprecations ? [] : Array.from(packages, async ([packageName, versions]) => { | ||
const registryData = await plugin_npm_1.npmHttpUtils.get(`/${packageName}`, { | ||
configuration, | ||
jsonResponse: true, | ||
registry, | ||
headers: { | ||
[`Accept`]: `application/vnd.npm.install-v1+json`, | ||
}, | ||
const registryData = await plugin_npm_1.npmHttpUtils.getPackageMetadata(core_2.structUtils.parseIdent(packageName), { | ||
project, | ||
}); | ||
if (!Object.prototype.hasOwnProperty.call(registryData, `versions`)) | ||
return []; | ||
return core_1.miscUtils.mapAndFilter(versions.keys(), version => { | ||
@@ -87,0 +81,0 @@ const { deprecated } = registryData.versions[version]; |
{ | ||
"name": "@yarnpkg/plugin-npm-cli", | ||
"version": "4.0.0-rc.47", | ||
"version": "4.0.0-rc.48", | ||
"license": "BSD-2-Clause", | ||
@@ -11,3 +11,3 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@yarnpkg/fslib": "^3.0.0-rc.47", | ||
"@yarnpkg/fslib": "^3.0.0-rc.48", | ||
"clipanion": "^3.2.1", | ||
@@ -21,6 +21,6 @@ "enquirer": "^2.3.6", | ||
"peerDependencies": { | ||
"@yarnpkg/cli": "^4.0.0-rc.47", | ||
"@yarnpkg/core": "^4.0.0-rc.47", | ||
"@yarnpkg/plugin-npm": "^3.0.0-rc.47", | ||
"@yarnpkg/plugin-pack": "^4.0.0-rc.47" | ||
"@yarnpkg/cli": "^4.0.0-rc.48", | ||
"@yarnpkg/core": "^4.0.0-rc.48", | ||
"@yarnpkg/plugin-npm": "^3.0.0-rc.48", | ||
"@yarnpkg/plugin-pack": "^4.0.0-rc.48" | ||
}, | ||
@@ -31,6 +31,6 @@ "devDependencies": { | ||
"@types/semver": "^7.1.0", | ||
"@yarnpkg/cli": "^4.0.0-rc.47", | ||
"@yarnpkg/core": "^4.0.0-rc.47", | ||
"@yarnpkg/plugin-npm": "^3.0.0-rc.47", | ||
"@yarnpkg/plugin-pack": "^4.0.0-rc.47" | ||
"@yarnpkg/cli": "^4.0.0-rc.48", | ||
"@yarnpkg/core": "^4.0.0-rc.48", | ||
"@yarnpkg/plugin-npm": "^3.0.0-rc.48", | ||
"@yarnpkg/plugin-pack": "^4.0.0-rc.48" | ||
}, | ||
@@ -37,0 +37,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
72275
1524
Updated@yarnpkg/fslib@^3.0.0-rc.48