@turf/distance
Advanced tools
Comparing version 3.6.1 to 3.6.3
@@ -15,4 +15,4 @@ var getCoord = require('@turf/invariant').getCoord; | ||
* @param {Feature<Point>} to destination point | ||
* @param {String} [units=kilometers] can be degrees, radians, miles, or kilometers | ||
* @return {Number} distance between the two points | ||
* @param {string} [units=kilometers] can be degrees, radians, miles, or kilometers | ||
* @return {number} distance between the two points | ||
* @example | ||
@@ -19,0 +19,0 @@ * var from = { |
{ | ||
"name": "@turf/distance", | ||
"version": "3.6.1", | ||
"version": "3.6.3", | ||
"description": "turf distance module", | ||
@@ -30,5 +30,5 @@ "main": "index.js", | ||
"dependencies": { | ||
"@turf/invariant": "^3.5.2", | ||
"@turf/helpers": "^3.6.1" | ||
"@turf/invariant": "^3.6.3", | ||
"@turf/helpers": "^3.6.3" | ||
} | ||
} |
@@ -14,3 +14,3 @@ # @turf/distance | ||
- `to` **[Feature](http://geojson.org/geojson-spec.html#feature-objects)<[Point](http://geojson.org/geojson-spec.html#point)>** destination point | ||
- `units` **\[[String](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)]** can be degrees, radians, miles, or kilometers (optional, default `kilometers`) | ||
- `units` **\[[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)]** can be degrees, radians, miles, or kilometers (optional, default `kilometers`) | ||
@@ -50,3 +50,3 @@ **Examples** | ||
Returns **[Number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** distance between the two points | ||
Returns **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** distance between the two points | ||
@@ -53,0 +53,0 @@ <!-- This file is automatically generated. Please don't edit it directly: |
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
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
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
7374
8
109
1
Updated@turf/helpers@^3.6.3
Updated@turf/invariant@^3.6.3