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

vbb-shapes

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vbb-shapes - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

compress.js

@@ -14,4 +14,4 @@ 'use strict'

output.push([
Math.round((lat - lastLat) * 1000),
Math.round((lon - lastLon) * 1000)
Math.round((lat - lastLat) * 100000),
Math.round((lon - lastLon) * 100000)
])

@@ -18,0 +18,0 @@ lastLat = lat

{
"name": "vbb-shapes",
"description": "Shapes of VBB lines.",
"version": "1.0.0",
"version": "1.0.1",
"main": "index.js",

@@ -6,0 +6,0 @@ "files": ["index.js", "compress.js", "uncompress.js", "data.ndjson"],

@@ -10,4 +10,4 @@ 'use strict'

for (let i = 0; i < input.length; i++) {
const dLat = input[i][0] / 1000
const dLon = input[i][1] / 1000
const dLat = input[i][0] / 100000
const dLon = input[i][1] / 100000
lastLat = Math.round((dLat + lastLat) * 100000) / 100000

@@ -14,0 +14,0 @@ lastLon = Math.round((dLon + lastLon) * 100000) / 100000

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