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

@turf/great-circle

Package Overview
Dependencies
Maintainers
4
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/great-circle - npm Package Compare versions

Comparing version 4.1.0 to 4.2.0

7

index.js

@@ -15,3 +15,2 @@ var arc = require('./arc');

* @returns {Feature<LineString>} great circle line feature
* @addToMap line
* @example

@@ -34,4 +33,6 @@ * var start = {

* }
* var line = turf.greatCircle(start, end, {'name': 'Seattle to DC'});
* //=line
* var greatCircle = turf.greatCircle(start, end, {'name': 'Seattle to DC'});
*
* //addToMap
* var addToMap = [start, end, greatCircle]
*/

@@ -38,0 +39,0 @@ module.exports = function (start, end, properties, npoints, offset) {

{
"name": "@turf/great-circle",
"version": "4.1.0",
"version": "4.2.0",
"description": "turf great-circle module",

@@ -39,4 +39,4 @@ "main": "index.js",

"devDependencies": {
"@turf/helpers": "^4.1.0",
"@turf/truncate": "^4.1.0",
"@turf/helpers": "^4.2.0",
"@turf/truncate": "^4.2.0",
"benchmark": "^2.1.3",

@@ -48,5 +48,5 @@ "load-json-file": "^2.0.0",

"dependencies": {
"@turf/invariant": "^4.1.0",
"@turf/invariant": "^4.2.0",
"arc": "^0.1.0"
}
}

@@ -35,4 +35,6 @@ # @turf/great-circle

}
var line = turf.greatCircle(start, end, {'name': 'Seattle to DC'});
//=line
var greatCircle = turf.greatCircle(start, end, {'name': 'Seattle to DC'});
//addToMap
var addToMap = [start, end, greatCircle]
```

@@ -39,0 +41,0 @@

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