graphs-and-paths
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
93383
1462
+ Addedcore-js@^2.4.1
+ Addedcore-js@2.6.12(transitive)
- Removedes6-shim@^0.35.3
- Removedes6-shim@0.35.8(transitive)