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

@buggyorg/graphtools

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@buggyorg/graphtools - npm Package Compare versions

Comparing version 0.2.15 to 0.2.16

2

lib/utils.js

@@ -142,4 +142,4 @@ 'use strict';

return _lodash2.default.filter(graph.nodes(), function (n) {
return graph.node(n).id === id;
return graph.node(n).id === id || graph.node(n).meta === id;
});
}
{
"name": "@buggyorg/graphtools",
"version": "0.2.15",
"version": "0.2.16",
"description": "Tools for processing buggy graphs.",

@@ -5,0 +5,0 @@ "main": "lib/api.js",

@@ -99,3 +99,3 @@

export function getAll (graph, id) {
return _.filter(graph.nodes(), (n) => graph.node(n).id === id)
return _.filter(graph.nodes(), (n) => graph.node(n).id === id || graph.node(n).meta === id)
}

@@ -54,2 +54,4 @@ /* global describe, it */

})
// TODO: Test for utils.getAll
})
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