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

@turf/rhumb-bearing

Package Overview
Dependencies
Maintainers
6
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/rhumb-bearing - npm Package Compare versions

Comparing version 6.2.0-alpha.2 to 6.2.0-alpha.3

dist/es/package.json

4

dist/es/index.js

@@ -34,3 +34,3 @@ // https://en.wikipedia.org/wiki/Rhumb_line

}
var bear180 = (bear360 > 180) ? -(360 - bear360) : bear360;
var bear180 = bear360 > 180 ? -(360 - bear360) : bear360;
return bear180;

@@ -58,3 +58,3 @@ }

var phi2 = degreesToRadians(to[1]);
var deltaLambda = degreesToRadians((to[0] - from[0]));
var deltaLambda = degreesToRadians(to[0] - from[0]);
// if deltaLambdaon over 180° take shorter rhumb line across the anti-meridian:

@@ -61,0 +61,0 @@ if (deltaLambda > Math.PI) {

@@ -36,3 +36,3 @@ "use strict";

}
var bear180 = (bear360 > 180) ? -(360 - bear360) : bear360;
var bear180 = bear360 > 180 ? -(360 - bear360) : bear360;
return bear180;

@@ -60,3 +60,3 @@ }

var phi2 = helpers_1.degreesToRadians(to[1]);
var deltaLambda = helpers_1.degreesToRadians((to[0] - from[0]));
var deltaLambda = helpers_1.degreesToRadians(to[0] - from[0]);
// if deltaLambdaon over 180° take shorter rhumb line across the anti-meridian:

@@ -63,0 +63,0 @@ if (deltaLambda > Math.PI) {

{
"name": "@turf/rhumb-bearing",
"version": "6.2.0-alpha.2",
"version": "6.2.0-alpha.3",
"description": "turf rhumb-bearing module",

@@ -32,2 +32,6 @@ "author": "Turf Authors",

"module": "dist/es/index.js",
"exports": {
"import": "./dist/es/index.js",
"require": "./dist/js/index.js"
},
"types": "dist/js/index.d.ts",

@@ -39,13 +43,12 @@ "sideEffects": false,

"scripts": {
"bench": "npm-run-all prepare bench:run",
"bench:run": "node bench.js",
"bench": "ts-node bench.js",
"build": "npm-run-all build:*",
"build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json",
"build:js": "tsc",
"docs": "node ../../scripts/generate-readmes",
"prepare": "npm-run-all prepare:*",
"prepare:es": "tsc --outDir dist/es --module esnext --declaration false",
"prepare:js": "tsc",
"test": "npm-run-all prepare test:*",
"test:tape": "node -r esm test.js"
"test": "npm-run-all test:*",
"test:tape": "ts-node -r esm test.js"
},
"devDependencies": {
"@turf/destination": "^6.2.0-alpha.2",
"@turf/destination": "^6.2.0-alpha.3",
"@types/tape": "*",

@@ -55,2 +58,3 @@ "benchmark": "*",

"tape": "*",
"ts-node": "*",
"tslint": "*",

@@ -61,6 +65,6 @@ "typescript": "*",

"dependencies": {
"@turf/helpers": "^6.2.0-alpha.2",
"@turf/invariant": "^6.2.0-alpha.2"
"@turf/helpers": "^6.2.0-alpha.3",
"@turf/invariant": "^6.2.0-alpha.3"
},
"gitHead": "23d5cb91d77e0c1e2e903a2252f525797f1d0d09"
"gitHead": "dce9edfc705352e8cb9e0083c9330ba0e8d77409"
}
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