@turf/great-circle
Advanced tools
Comparing version 5.1.5 to 6.2.0-alpha.0
{ | ||
"name": "@turf/great-circle", | ||
"version": "5.1.5", | ||
"version": "6.2.0-alpha.0", | ||
"description": "turf great-circle module", | ||
"main": "main.js", | ||
"module": "main.es.js", | ||
"types": "index.d.ts", | ||
"files": [ | ||
"index.js", | ||
"index.d.ts", | ||
"main.js", | ||
"lib", | ||
"main.es.js" | ||
"author": "Turf Authors", | ||
"contributors": [ | ||
"Dane Springmeyer <@springmeyer>", | ||
"Stepan Kuzmin <@stepankuzmin>", | ||
"Denis Carriere <@DenisCarriere>" | ||
], | ||
"scripts": { | ||
"pretest": "rollup -c ../../rollup.config.js", | ||
"test": "node -r @std/esm test.js", | ||
"posttest": "node -r @std/esm ../../scripts/validate-es5-dependencies.js", | ||
"bench": "node -r @std/esm bench.js", | ||
"docs": "node ../../scripts/generate-readmes" | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/Turfjs/turf/issues" | ||
}, | ||
"homepage": "https://github.com/Turfjs/turf", | ||
"repository": { | ||
@@ -33,16 +27,22 @@ "type": "git", | ||
], | ||
"author": "Turf Authors", | ||
"contributors": [ | ||
"Dane Springmeyer <@springmeyer>", | ||
"Stepan Kuzmin <@stepankuzmin>", | ||
"Denis Carriere <@DenisCarriere>" | ||
"main": "dist/js/index.js", | ||
"module": "dist/es/index.js", | ||
"types": "index.d.ts", | ||
"sideEffects": false, | ||
"files": [ | ||
"dist", | ||
"index.d.ts" | ||
], | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/Turfjs/turf/issues" | ||
"scripts": { | ||
"bench": "npm-run-all prepare bench:run", | ||
"bench:run": "node bench.js", | ||
"docs": "node ../../scripts/generate-readmes", | ||
"posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", | ||
"prepare": "rollup -c ../../rollup.config.js", | ||
"test": "npm-run-all prepare test:*", | ||
"test:tape": "node -r esm test.js", | ||
"test:types": "tsc --noEmit types.ts" | ||
}, | ||
"homepage": "https://github.com/Turfjs/turf", | ||
"devDependencies": { | ||
"@std/esm": "*", | ||
"@turf/truncate": "^5.1.5", | ||
"@turf/truncate": "^6.2.0-alpha.0", | ||
"benchmark": "*", | ||
@@ -55,9 +55,6 @@ "load-json-file": "*", | ||
"dependencies": { | ||
"@turf/helpers": "^5.1.5", | ||
"@turf/invariant": "^5.1.5" | ||
"@turf/helpers": "^6.2.0-alpha.0", | ||
"@turf/invariant": "^6.2.0-alpha.0" | ||
}, | ||
"@std/esm": { | ||
"esm": "js", | ||
"cjs": true | ||
} | ||
"gitHead": "23b651deaa1ca6a0960d0142aea620b7cc6a076d" | ||
} |
@@ -7,12 +7,12 @@ # @turf/great-circle | ||
Calculate great circles routes as [LineString](https://tools.ietf.org/html/rfc7946#section-3.1.4) | ||
Calculate great circles routes as [LineString][1] | ||
**Parameters** | ||
- `start` **[Coord](https://tools.ietf.org/html/rfc7946#section-3.1.1)** source point feature | ||
- `end` **[Coord](https://tools.ietf.org/html/rfc7946#section-3.1.1)** destination point feature | ||
- `options` **[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)** Optional parameters (optional, default `{}`) | ||
- `options.properties` **[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)** line feature properties (optional, default `{}`) | ||
- `options.npoints` **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** number of points (optional, default `100`) | ||
- `options.offset` **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** offset controls the likelyhood that lines will | ||
- `start` **[Coord][2]** source point feature | ||
- `end` **[Coord][2]** destination point feature | ||
- `options` **[Object][3]** Optional parameters (optional, default `{}`) | ||
- `options.properties` **[Object][3]** line feature properties (optional, default `{}`) | ||
- `options.npoints` **[number][4]** number of points (optional, default `100`) | ||
- `options.offset` **[number][4]** offset controls the likelyhood that lines will | ||
be split which cross the dateline. The higher the number the more likely. (optional, default `10`) | ||
@@ -32,4 +32,16 @@ | ||
Returns **[Feature](https://tools.ietf.org/html/rfc7946#section-3.2)<[LineString](https://tools.ietf.org/html/rfc7946#section-3.1.4)>** great circle line feature | ||
Returns **[Feature][5]<[LineString][6]>** great circle line feature | ||
[1]: https://tools.ietf.org/html/rfc7946#section-3.1.4 | ||
[2]: https://tools.ietf.org/html/rfc7946#section-3.1.1 | ||
[3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object | ||
[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number | ||
[5]: https://tools.ietf.org/html/rfc7946#section-3.2 | ||
[6]: https://tools.ietf.org/html/rfc7946#section-3.1.4 | ||
<!-- This file is automatically generated. Please don't edit it directly: | ||
@@ -36,0 +48,0 @@ if you find an error, edit the source file (likely index.js), and re-run |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6
69
36704
7
792
1
2
+ Added@turf/helpers@6.5.0(transitive)
+ Added@turf/invariant@6.5.0(transitive)
- Removed@turf/helpers@5.1.5(transitive)
- Removed@turf/invariant@5.2.0(transitive)
Updated@turf/helpers@^6.2.0-alpha.0