@turf/point-to-line-distance
Advanced tools
Comparing version 4.7.1 to 4.7.3
{ | ||
"name": "@turf/point-to-line-distance", | ||
"version": "4.7.1", | ||
"version": "4.7.3", | ||
"description": "turf point-to-line-distance module", | ||
@@ -34,3 +34,3 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@turf/circle": "4.7.1", | ||
"@turf/circle": "^4.7.3", | ||
"benchmark": "^2.1.4", | ||
@@ -42,10 +42,10 @@ "load-json-file": "^2.0.0", | ||
"dependencies": { | ||
"@turf/meta": "4.7.1", | ||
"@turf/bearing": "4.7.1", | ||
"@turf/helpers": "4.7.1", | ||
"@turf/distance": "4.7.1", | ||
"@turf/invariant": "4.7.1", | ||
"@turf/rhumb-bearing": "4.7.1", | ||
"@turf/rhumb-distance": "4.7.1" | ||
"@turf/bearing": "^4.7.3", | ||
"@turf/distance": "^4.7.3", | ||
"@turf/helpers": "^4.7.3", | ||
"@turf/invariant": "^4.7.3", | ||
"@turf/meta": "^4.7.3", | ||
"@turf/rhumb-bearing": "^4.7.3", | ||
"@turf/rhumb-distance": "^4.7.3" | ||
} | ||
} |
@@ -19,5 +19,5 @@ # @turf/point-to-line-distance | ||
var pt = turf.point([0, 0]); | ||
var line = turf.lineString([[1, 1],[-1, 1]); | ||
var line = turf.lineString([[1, 1],[-1, 1]]); | ||
var d = pointToLineDistance(pt, line, 'miles'); | ||
var distance = turf.pointToLineDistance(pt, line, 'miles'); | ||
//=69.11854715938406 | ||
@@ -24,0 +24,0 @@ ``` |
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
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
13696
+ Added@turf/bearing@4.7.3(transitive)
+ Added@turf/distance@4.7.3(transitive)
+ Added@turf/helpers@4.7.3(transitive)
+ Added@turf/invariant@4.7.3(transitive)
+ Added@turf/meta@4.7.4(transitive)
+ Added@turf/rhumb-bearing@4.7.3(transitive)
+ Added@turf/rhumb-distance@4.7.3(transitive)
+ Addedgeodesy@1.1.2(transitive)
- Removed@turf/bearing@4.7.1(transitive)
- Removed@turf/distance@4.7.1(transitive)
- Removed@turf/helpers@4.7.1(transitive)
- Removed@turf/invariant@4.7.1(transitive)
- Removed@turf/meta@4.7.1(transitive)
- Removed@turf/rhumb-bearing@4.7.1(transitive)
- Removed@turf/rhumb-distance@4.7.1(transitive)
- Removedgeodesy@1.1.1(transitive)
Updated@turf/bearing@^4.7.3
Updated@turf/distance@^4.7.3
Updated@turf/helpers@^4.7.3
Updated@turf/invariant@^4.7.3
Updated@turf/meta@^4.7.3
Updated@turf/rhumb-bearing@^4.7.3
Updated@turf/rhumb-distance@^4.7.3