Socket
Socket
Sign inDemoInstall

geojson-path-finder

Package Overview
Dependencies
6
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.2-0 to 2.0.2-1

3

dist/cjs/compactor.js

@@ -49,3 +49,4 @@ "use strict";

const edges = Object.keys(vertex);
if (shouldCompact(vertices, vertexKey)) {
if (shouldCompact(sourceVertices, vertexKey) &&
shouldCompact(vertices, vertexKey)) {
for (const neighborKey of edges) {

@@ -52,0 +53,0 @@ for (const otherNeighborKey of edges) {

@@ -46,3 +46,4 @@ /**

const edges = Object.keys(vertex);
if (shouldCompact(vertices, vertexKey)) {
if (shouldCompact(sourceVertices, vertexKey) &&
shouldCompact(vertices, vertexKey)) {
for (const neighborKey of edges) {

@@ -49,0 +50,0 @@ for (const otherNeighborKey of edges) {

{
"name": "geojson-path-finder",
"version": "2.0.2-0",
"version": "2.0.2-1",
"description": "Find shortest path through a network of GeoJSON",

@@ -5,0 +5,0 @@ "repository": "git@github.com:perliedman/geojson-path-finder.git",

@@ -71,3 +71,6 @@ import { Position } from "@turf/helpers";

if (shouldCompact(vertices, vertexKey)) {
if (
shouldCompact(sourceVertices, vertexKey) &&
shouldCompact(vertices, vertexKey)
) {
for (const neighborKey of edges) {

@@ -74,0 +77,0 @@ for (const otherNeighborKey of edges) {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc