New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@yarnpkg/nm

Package Overview
Dependencies
Maintainers
6
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yarnpkg/nm - npm Package Compare versions

Comparing version 3.0.1-rc.2 to 3.0.1-rc.3

10

lib/buildNodeModulesTree.js

@@ -76,3 +76,11 @@ "use strict";

const len2 = loc2.split(fslib_1.ppath.delimiter).length;
return len1 !== len2 ? len2 - len1 : loc2.localeCompare(loc1);
if (loc2 === loc1) {
return 0;
}
else if (len1 !== len2) {
return len2 - len1;
}
else {
return loc2 > loc1 ? 1 : -1;
}
});

@@ -79,0 +87,0 @@ }

@@ -804,3 +804,10 @@ "use strict";

nodeCount++;
const dependencies = Array.from(pkg.dependencies.values()).sort((n1, n2) => n1.name.localeCompare(n2.name));
const dependencies = Array.from(pkg.dependencies.values()).sort((n1, n2) => {
if (n1.name === n2.name) {
return 0;
}
else {
return n1.name > n2.name ? 1 : -1;
}
});
let str = ``;

@@ -807,0 +814,0 @@ parents.add(pkg);

6

package.json
{
"name": "@yarnpkg/nm",
"version": "3.0.1-rc.2",
"version": "3.0.1-rc.3",
"license": "BSD-2-Clause",

@@ -9,7 +9,7 @@ "main": "./lib/index.js",

"dependencies": {
"@yarnpkg/core": "^3.2.0-rc.2",
"@yarnpkg/core": "^3.2.0-rc.3",
"@yarnpkg/fslib": "^2.6.0"
},
"devDependencies": {
"@yarnpkg/pnp": "^3.1.1-rc.2"
"@yarnpkg/pnp": "^3.1.1-rc.3"
},

@@ -16,0 +16,0 @@ "scripts": {

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