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

graphology-shortest-path

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphology-shortest-path - npm Package Compare versions

Comparing version 1.5.1 to 1.5.2

14

indexed-brandes.js

@@ -12,7 +12,6 @@ /**

var typed = require('mnemonist/utils/typed-arrays');
var neighborhoodIndices = require('graphology-indices/neighborhood/outbound');
var neighborhoodIndices = require('graphology-indices/neighborhood');
var OutboundNeighborhoodIndex = neighborhoodIndices.OutboundNeighborhoodIndex,
WeightedOutboundNeighborhoodIndex =
neighborhoodIndices.WeightedOutboundNeighborhoodIndex;
var NeighborhoodIndex = neighborhoodIndices.NeighborhoodIndex,
WeightedNeighborhoodIndex = neighborhoodIndices.WeightedNeighborhoodIndex;

@@ -31,3 +30,3 @@ /**

function createUnweightedIndexedBrandes(graph) {
var neighborhoodIndex = new OutboundNeighborhoodIndex(graph);
var neighborhoodIndex = new NeighborhoodIndex(graph);

@@ -126,6 +125,3 @@ var neighborhood = neighborhoodIndex.neighborhood,

var neighborhoodIndex = new WeightedOutboundNeighborhoodIndex(
graph,
weightAttribute
);
var neighborhoodIndex = new WeightedNeighborhoodIndex(graph, weightAttribute);

@@ -132,0 +128,0 @@ var neighborhood = neighborhoodIndex.neighborhood,

{
"name": "graphology-shortest-path",
"version": "1.5.1",
"version": "1.5.2",
"description": "Shortest path functions for graphology.",

@@ -43,3 +43,3 @@ "main": "index.js",

"@yomguithereal/helpers": "^1.1.1",
"graphology-indices": "^0.15.0",
"graphology-indices": "^0.16.0",
"graphology-utils": "^2.1.2",

@@ -46,0 +46,0 @@ "mnemonist": "^0.38.1"

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