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

@turf/shortest-path

Package Overview
Dependencies
Maintainers
9
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/shortest-path - npm Package Compare versions

Comparing version 7.1.0-alpha.7 to 7.1.0-alpha.70

25

package.json
{
"name": "@turf/shortest-path",
"version": "7.1.0-alpha.7+0ce6ecca0",
"version": "7.1.0-alpha.70+948cdafaf",
"description": "turf shortest-path module",

@@ -58,3 +58,3 @@ "author": "Turf Authors",

"devDependencies": {
"@turf/truncate": "^7.1.0-alpha.7+0ce6ecca0",
"@turf/truncate": "^7.1.0-alpha.70+948cdafaf",
"@types/benchmark": "^2.1.5",

@@ -72,14 +72,15 @@ "@types/tape": "^4.2.32",

"dependencies": {
"@turf/bbox": "^7.1.0-alpha.7+0ce6ecca0",
"@turf/bbox-polygon": "^7.1.0-alpha.7+0ce6ecca0",
"@turf/boolean-point-in-polygon": "^7.1.0-alpha.7+0ce6ecca0",
"@turf/clean-coords": "^7.1.0-alpha.7+0ce6ecca0",
"@turf/distance": "^7.1.0-alpha.7+0ce6ecca0",
"@turf/helpers": "^7.1.0-alpha.7+0ce6ecca0",
"@turf/invariant": "^7.1.0-alpha.7+0ce6ecca0",
"@turf/meta": "^7.1.0-alpha.7+0ce6ecca0",
"@turf/transform-scale": "^7.1.0-alpha.7+0ce6ecca0",
"@turf/bbox": "^7.1.0-alpha.70+948cdafaf",
"@turf/bbox-polygon": "^7.1.0-alpha.70+948cdafaf",
"@turf/boolean-point-in-polygon": "^7.1.0-alpha.70+948cdafaf",
"@turf/clean-coords": "^7.1.0-alpha.70+948cdafaf",
"@turf/distance": "^7.1.0-alpha.70+948cdafaf",
"@turf/helpers": "^7.1.0-alpha.70+948cdafaf",
"@turf/invariant": "^7.1.0-alpha.70+948cdafaf",
"@turf/meta": "^7.1.0-alpha.70+948cdafaf",
"@turf/transform-scale": "^7.1.0-alpha.70+948cdafaf",
"@types/geojson": "^7946.0.10",
"tslib": "^2.6.2"
},
"gitHead": "0ce6ecca05829690270fec6d6bed2003495fe0ea"
"gitHead": "948cdafaf70606d2e27fcc79973fa48ee1182067"
}

@@ -16,5 +16,5 @@ # @turf/shortest-path

* `options.obstacles` **([Geometry][7] | [Feature][8] | [FeatureCollection][9]<[Polygon][10]>)?** areas which path cannot travel
* `options.units` **[string][11]** unit in which resolution & minimum distance will be expressed in; it can be degrees, radians, miles, kilometers, ... (optional, default `'kilometers'`)
* `options.resolution` **[number][12]** distance between matrix points on which the path will be calculated (optional, default `100`)
* `options.obstacles` **([Geometry][7] | [Feature][3] | [FeatureCollection][8]<[Polygon][9]>)?** areas which path cannot travel
* `options.units` **[string][10]** unit in which resolution & minimum distance will be expressed in; it can be degrees, radians, miles, kilometers, ... (optional, default `'kilometers'`)
* `options.resolution` **[number][11]** distance between matrix points on which the path will be calculated (optional, default `100`)

@@ -36,3 +36,3 @@ ### Examples

Returns **[Feature][8]<[LineString][13]>** shortest path between start and end
Returns **[Feature][3]<[LineString][1]>** shortest path between start and end

@@ -53,14 +53,10 @@ [1]: https://tools.ietf.org/html/rfc7946#section-3.1.4

[8]: https://tools.ietf.org/html/rfc7946#section-3.2
[8]: https://tools.ietf.org/html/rfc7946#section-3.3
[9]: https://tools.ietf.org/html/rfc7946#section-3.3
[9]: https://tools.ietf.org/html/rfc7946#section-3.1.6
[10]: https://tools.ietf.org/html/rfc7946#section-3.1.6
[10]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String
[11]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String
[11]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number
[12]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number
[13]: https://tools.ietf.org/html/rfc7946#section-3.1.4
<!-- This file is automatically generated. Please don't edit it directly. If you find an error, edit the source file of the module in question (likely index.js or index.ts), and re-run "yarn docs" from the root of the turf project. -->

@@ -67,0 +63,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