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

@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.8.0 to 1.8.1

1

dist/legacy/index.d.ts

@@ -13,3 +13,2 @@ import * as types from '../core/types';

};
pruned?: boolean;
}

@@ -16,0 +15,0 @@ interface DepTree extends DepTreeDep {

8

dist/legacy/index.js

@@ -9,2 +9,8 @@ "use strict";

var objectHash = require("object-hash");
function addLabel(dep, key, value) {
if (!dep.labels) {
dep.labels = {};
}
dep.labels[key] = value;
}
function depTreeToGraph(depTree, pkgManagerName) {

@@ -266,3 +272,3 @@ return tslib_1.__awaiter(this, void 0, void 0, function () {

if (depInstanceIds.length > 0) {
depTree.pruned = true;
addLabel(depTree, 'pruned', 'true');
}

@@ -269,0 +275,0 @@ return [2 /*return*/, depTree];

@@ -50,3 +50,3 @@ {

},
"version": "1.8.0"
"version": "1.8.1"
}

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