Socket
Socket
Sign inDemoInstall

@lerna/package-graph

Package Overview
Dependencies
Maintainers
2
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lerna/package-graph - npm Package Compare versions

Comparing version 5.1.2 to 5.1.3

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [5.1.3](https://github.com/lerna/lerna/compare/v5.1.2...v5.1.3) (2022-06-15)
### Bug Fixes
* drastically reduce time taken to check for cycles ([#2874](https://github.com/lerna/lerna/issues/2874)) ([4b81a98](https://github.com/lerna/lerna/commit/4b81a98859e9a8667693bc7808fa76b2e21c07bc))
## [5.1.2](https://github.com/lerna/lerna/compare/v5.1.1...v5.1.2) (2022-06-13)

@@ -8,0 +19,0 @@

@@ -221,2 +221,5 @@ "use strict";

/** @type {Set<PackageGraphNode>} */
const alreadyVisited = new Set();
function visits(baseNode, dependentNode) {

@@ -232,2 +235,8 @@ if (nodeToCycle.has(baseNode)) {

// Otherwise the same node is checked multiple times which is very wasteful in a large repository
if (alreadyVisited.has(topLevelDependent)) {
return;
}
alreadyVisited.add(topLevelDependent);
if (

@@ -234,0 +243,0 @@ topLevelDependent === baseNode ||

10

package.json
{
"name": "@lerna/package-graph",
"version": "5.1.2",
"version": "5.1.3",
"description": "Lerna's internal representation of a package graph",

@@ -9,3 +9,3 @@ "keywords": [

],
"homepage": "https://github.com/lerna/lerna/tree/master/core/package-graph#readme",
"homepage": "https://lerna.js.org",
"license": "MIT",

@@ -36,4 +36,4 @@ "author": {

"dependencies": {
"@lerna/prerelease-id-from-version": "5.1.1",
"@lerna/validation-error": "5.1.2",
"@lerna/prerelease-id-from-version": "5.1.3",
"@lerna/validation-error": "5.1.3",
"npm-package-arg": "^8.1.0",

@@ -43,3 +43,3 @@ "npmlog": "^6.0.2",

},
"gitHead": "45ff3464ddb74a987f7c6b0c7af070fab67d3816"
"gitHead": "5a73603cf629ce0d5b71cf4cf703ccd82cf375db"
}
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