Socket
Socket
Sign inDemoInstall

@snyk/dep-graph

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@snyk/dep-graph - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

7

dist/legacy/index.js

@@ -122,6 +122,6 @@ "use strict";

if (nodeIds.length === 1) {
newNodeId = "" + nodeId.split('|')[0];
newNodeId = "" + trimAfterLastSep(nodeId, '|');
}
else {
newNodeId = nodeId.split('|')[0] + "|" + (i + 1);
newNodeId = trimAfterLastSep(nodeId, '|') + "|" + (i + 1);
}

@@ -172,2 +172,5 @@ nodesMap[nodeId] = newNodeId;

}
function trimAfterLastSep(str, sep) {
return str.slice(0, str.lastIndexOf(sep));
}
//# sourceMappingURL=index.js.map

@@ -45,3 +45,3 @@ {

},
"version": "1.1.1"
"version": "1.1.2"
}

Sorry, the diff of this file is not supported yet

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