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

@mapbox/graph-normalizer

Package Overview
Dependencies
Maintainers
159
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mapbox/graph-normalizer - npm Package Compare versions

Comparing version 2.3.2 to 3.0.0

8

lib/split-ways.js

@@ -44,3 +44,3 @@ 'use strict';

// persist oneway, highway, bridge, tunnel tags if they are present
// persist oneway, highway, bridge, tunnel, name, and ref tags if they are present
if (way.properties.hasOwnProperty('oneway')) waySlice.properties.oneway = way.properties.oneway;

@@ -50,2 +50,4 @@ if (way.properties.hasOwnProperty('highway')) waySlice.properties.highway = way.properties.highway;

if (way.properties.hasOwnProperty('tunnel')) waySlice.properties.tunnel = way.properties.tunnel;
if (way.properties.hasOwnProperty('name')) waySlice.properties.name = way.properties.name;
if (way.properties.hasOwnProperty('ref')) waySlice.properties.ref = way.properties.ref;

@@ -70,3 +72,3 @@ splitWays.push(waySlice);

// persist oneway, highway, bridge, and tunnel tags if they are present
// persist oneway, highway, bridge, tunnel, name, and ref tags if they are present
if (way.properties.hasOwnProperty('oneway')) waySlice.properties.oneway = way.properties.oneway;

@@ -76,2 +78,4 @@ if (way.properties.hasOwnProperty('highway')) waySlice.properties.highway = way.properties.highway;

if (way.properties.hasOwnProperty('tunnel')) waySlice.properties.tunnel = way.properties.tunnel;
if (way.properties.hasOwnProperty('name')) waySlice.properties.name = way.properties.name;
if (way.properties.hasOwnProperty('ref')) waySlice.properties.ref = way.properties.ref;

@@ -78,0 +82,0 @@ splitWays.push(waySlice);

{
"name": "@mapbox/graph-normalizer",
"version": "2.3.2",
"version": "3.0.0",
"description": "Takes nodes and ways and turn them into a normalized graph of intersections and ways.",

@@ -5,0 +5,0 @@ "bin": "./bin/normalize-ways",

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc