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

graphs-and-paths

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphs-and-paths - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

9

dist/graph.js

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

Object.defineProperty(exports, "__esModule", { value: true });
var Map = require("core-js/library/es6/map");
var Set = require("core-js/library/es6/set");
var arrayFrom = require("core-js/library/fn/array/from");
var Heap = require("heap");

@@ -289,3 +292,3 @@ var rbush = require("rbush");

Graph.prototype.getAllNodes = function () {
return Array.from(this.nodesById.values());
return arrayFrom(this.nodesById.values());
};

@@ -297,3 +300,3 @@ /**

Graph.prototype.getAllEdges = function () {
return Array.from(this.edgesById.values());
return arrayFrom(this.edgesById.values());
};

@@ -455,3 +458,3 @@ /**

});
return Graph.create(Array.from(newNodesById.values()), newEdges);
return Graph.create(arrayFrom(newNodesById.values()), newEdges);
};

@@ -458,0 +461,0 @@ /**

{
"name": "graphs-and-paths",
"version": "0.2.3",
"version": "0.2.4",
"description": "Tools for graphs representing 2-D spatial points and links between them.",

@@ -50,3 +50,3 @@ "main": "dist/index.js",

"devDependencies": {
"@types/es6-shim": "^0.31.32",
"@types/core-js": "^0.9.41",
"@types/heap": "^0.2.28",

@@ -65,3 +65,3 @@ "@types/jest": "^16.0.2",

"dependencies": {
"es6-shim": "^0.35.3",
"core-js": "^2.4.1",
"heap": "^0.2.6",

@@ -68,0 +68,0 @@ "rbush": "^2.0.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