Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@yarnpkg/plugin-npm-cli

Package Overview
Dependencies
Maintainers
6
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yarnpkg/plugin-npm-cli - npm Package Compare versions

Comparing version 4.0.0-rc.47 to 4.0.0-rc.48

12

lib/commands/npm/audit.js

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc