Turf version:
6.5.0
Description of issue:
There seems to be a bug in the calculation of the minimum distance from a point to a line in turf.
When calculating the length of a line showing the minimum distance between a point and a line I get a different value than when using the pointToLineDistance function.

Example illustrating the bug:
https://jsfiddle.net/h8c9pvfa/36/
Turf version:
6.5.0
Description of issue:
There seems to be a bug in the calculation of the minimum distance from a point to a line in turf.
When calculating the length of a line showing the minimum distance between a point and a line I get a different value than when using the pointToLineDistance function.
Example illustrating the bug:
https://jsfiddle.net/h8c9pvfa/36/