From 431ea85a2d99004b3c8509b068d8d203484e6c22 Mon Sep 17 00:00:00 2001 From: Denis Date: Sun, 3 Sep 2017 23:24:19 -0400 Subject: [PATCH] Add pointToLineDistance to @turf/turf --- packages/turf/index.d.ts | 296 +++++++++++-------------------------- packages/turf/index.js | 1 + packages/turf/module.js | 293 +++++++++++------------------------- packages/turf/package.json | 1 + packages/turf/types.ts | 13 ++ packages/turf/yarn.lock | 12 ++ 6 files changed, 200 insertions(+), 416 deletions(-) create mode 100644 packages/turf/types.ts diff --git a/packages/turf/index.d.ts b/packages/turf/index.d.ts index f41f4835e3..95902c3173 100644 --- a/packages/turf/index.d.ts +++ b/packages/turf/index.d.ts @@ -1,4 +1,5 @@ -import { +export { + default as helpers, point, polygon, lineString, @@ -19,7 +20,8 @@ import { convertDistance, convertArea, isNumber} from '@turf/helpers'; -import { +export { + default as invariant, getGeom, getGeomType, getCoord, @@ -28,7 +30,8 @@ import { featureOf, collectionOf, containsNumber} from '@turf/invariant'; -import { +export { + default as meta, coordEach, coordReduce, propEach, @@ -42,208 +45,85 @@ import { flattenReduce, segmentEach, segmentReduce} from '@turf/meta'; -import * as isolines from '@turf/isolines'; -import * as convex from '@turf/convex'; -import * as within from '@turf/within'; -import * as concave from '@turf/concave'; -import * as difference from '@turf/difference'; -import * as dissolve from '@turf/dissolve'; -import * as collect from '@turf/collect'; -import * as flip from '@turf/flip'; -import * as simplify from '@turf/simplify'; -import * as bezier from '@turf/bezier'; -import * as tag from '@turf/tag'; -import * as sample from '@turf/sample'; -import * as envelope from '@turf/envelope'; -import * as square from '@turf/square'; -import * as circle from '@turf/circle'; -import * as midpoint from '@turf/midpoint'; -import * as buffer from '@turf/buffer'; -import * as center from '@turf/center'; -import * as centerOfMass from '@turf/center-of-mass'; -import * as centroid from '@turf/centroid'; -import * as combine from '@turf/combine'; -import * as distance from '@turf/distance'; -import * as explode from '@turf/explode'; -import * as bbox from '@turf/bbox'; -import * as tesselate from '@turf/tesselate'; -import * as bboxPolygon from '@turf/bbox-polygon'; -import * as inside from '@turf/inside'; -import * as intersect from '@turf/intersect'; -import * as nearest from '@turf/nearest'; -import * as planepoint from '@turf/planepoint'; -import * as random from '@turf/random'; -import * as tin from '@turf/tin'; -import * as union from '@turf/union'; -import * as bearing from '@turf/bearing'; -import * as destination from '@turf/destination'; -import * as kinks from '@turf/kinks'; -import * as pointOnSurface from '@turf/point-on-surface'; -import * as area from '@turf/area'; -import * as along from '@turf/along'; -import * as lineDistance from '@turf/line-distance'; -import * as lineSlice from '@turf/line-slice'; -import * as lineSliceAlong from '@turf/line-slice-along'; -import * as pointOnLine from '@turf/point-on-line'; -import * as pointGrid from '@turf/point-grid'; -import * as squareGrid from '@turf/square-grid'; -import * as triangleGrid from '@turf/triangle-grid'; -import * as hexGrid from '@turf/hex-grid'; -import * as idw from '@turf/idw'; -import * as truncate from '@turf/truncate'; -import * as flatten from '@turf/flatten'; -import * as lineIntersect from '@turf/line-intersect'; -import * as mask from '@turf/mask'; -import * as lineChunk from '@turf/line-chunk'; -import * as unkinkPolygon from '@turf/unkink-polygon'; -import * as greatCircle from '@turf/great-circle'; -import * as lineSegment from '@turf/line-segment'; -import * as lineSplit from '@turf/line-split'; -import * as lineArc from '@turf/line-arc'; -import * as polygonToLineString from '@turf/polygon-to-linestring'; -import * as lineStringToPolygon from '@turf/linestring-to-polygon'; -import * as bboxClip from '@turf/bbox-clip'; -import * as lineOverlap from '@turf/line-overlap'; -import * as sector from '@turf/sector'; -import * as rhumbBearing from '@turf/rhumb-bearing'; -import * as rhumbDistance from '@turf/rhumb-distance'; -import * as rhumbDestination from '@turf/rhumb-destination'; -import * as polygonTangents from '@turf/polygon-tangents'; -import * as rewind from '@turf/rewind'; -import * as isobands from '@turf/isobands'; -import * as transformRotate from '@turf/transform-rotate'; -import * as transformScale from '@turf/transform-scale'; -import * as transformTranslate from '@turf/transform-translate'; -import * as lineOffset from '@turf/line-offset'; -import * as polygonize from '@turf/polygonize'; -import * as booleanDisjoint from '@turf/boolean-disjoint'; -import * as booleanContains from '@turf/boolean-contains'; -import * as booleanCrosses from '@turf/boolean-crosses'; -import * as booleanClockwise from '@turf/boolean-clockwise'; -import * as booleanEqual from '@turf/boolean-equal'; -import * as clone from '@turf/clone'; -import * as cleanCoords from '@turf/clean-coords'; -export { - isolines, - convex, - within, - concave, - difference, - dissolve, - collect, - flip, - simplify, - bezier, - tag, - sample, - envelope, - square, - circle, - midpoint, - buffer, - center, - centerOfMass, - centroid, - combine, - distance, - explode, - bbox, - tesselate, - bboxPolygon, - inside, - intersect, - nearest, - planepoint, - random, - tin, - union, - bearing, - destination, - kinks, - pointOnSurface, - area, - along, - lineDistance, - lineSlice, - lineSliceAlong, - pointOnLine, - pointGrid, - squareGrid, - triangleGrid, - hexGrid, - idw, - point, - polygon, - lineString, - multiPoint, - multiPolygon, - multiLineString, - feature, - geometry, - featureCollection, - geometryCollection, - radiansToDistance, - distanceToRadians, - distanceToDegrees, - getCoord, - getCoords, - getGeom, - getGeomType, - geojsonType, - featureOf, - collectionOf, - containsNumber, - truncate, - flatten, - coordEach, - coordReduce, - propEach, - propReduce, - featureEach, - coordAll, - geomEach, - lineIntersect, - mask, - lineChunk, - unkinkPolygon, - greatCircle, - lineSegment, - lineSplit, - lineArc, - polygonToLineString, - lineStringToPolygon, - bboxClip, - lineOverlap, - sector, - rhumbBearing, - rhumbDistance, - rhumbDestination, - polygonTangents, - rewind, - isobands, - radians2degrees, - degrees2radians, - round, - flattenEach, - flattenReduce, - convertDistance, - convertArea, - transformRotate, - transformScale, - transformTranslate, - lineOffset, - polygonize, - bearingToAngle, - featureReduce, - geomReduce, - booleanDisjoint, - booleanContains, - booleanCrosses, - booleanClockwise, - booleanEqual, - clone, - segmentEach, - segmentReduce, - cleanCoords, - isNumber -}; +export {default as isolines} from '@turf/isolines'; +export {default as convex} from '@turf/convex'; +export {default as within} from '@turf/within'; +export {default as concave} from '@turf/concave'; +export {default as difference} from '@turf/difference'; +export {default as dissolve} from '@turf/dissolve'; +export {default as collect} from '@turf/collect'; +export {default as flip} from '@turf/flip'; +export {default as simplify} from '@turf/simplify'; +export {default as bezier} from '@turf/bezier'; +export {default as tag} from '@turf/tag'; +export {default as sample} from '@turf/sample'; +export {default as envelope} from '@turf/envelope'; +export {default as square} from '@turf/square'; +export {default as circle} from '@turf/circle'; +export {default as midpoint} from '@turf/midpoint'; +export {default as buffer} from '@turf/buffer'; +export {default as center} from '@turf/center'; +export {default as centerOfMass} from '@turf/center-of-mass'; +export {default as centroid} from '@turf/centroid'; +export {default as combine} from '@turf/combine'; +export {default as distance} from '@turf/distance'; +export {default as explode} from '@turf/explode'; +export {default as bbox} from '@turf/bbox'; +export {default as tesselate} from '@turf/tesselate'; +export {default as bboxPolygon} from '@turf/bbox-polygon'; +export {default as inside} from '@turf/inside'; +export {default as intersect} from '@turf/intersect'; +export {default as nearest} from '@turf/nearest'; +export {default as planepoint} from '@turf/planepoint'; +export {default as random} from '@turf/random'; +export {default as tin} from '@turf/tin'; +export {default as union} from '@turf/union'; +export {default as bearing} from '@turf/bearing'; +export {default as destination} from '@turf/destination'; +export {default as kinks} from '@turf/kinks'; +export {default as pointOnSurface} from '@turf/point-on-surface'; +export {default as area} from '@turf/area'; +export {default as along} from '@turf/along'; +export {default as lineDistance} from '@turf/line-distance'; +export {default as lineSlice} from '@turf/line-slice'; +export {default as lineSliceAlong} from '@turf/line-slice-along'; +export {default as pointOnLine} from '@turf/point-on-line'; +export {default as pointGrid} from '@turf/point-grid'; +export {default as squareGrid} from '@turf/square-grid'; +export {default as triangleGrid} from '@turf/triangle-grid'; +export {default as hexGrid} from '@turf/hex-grid'; +export {default as idw} from '@turf/idw'; +export {default as truncate} from '@turf/truncate'; +export {default as flatten} from '@turf/flatten'; +export {default as lineIntersect} from '@turf/line-intersect'; +export {default as mask} from '@turf/mask'; +export {default as lineChunk} from '@turf/line-chunk'; +export {default as unkinkPolygon} from '@turf/unkink-polygon'; +export {default as greatCircle} from '@turf/great-circle'; +export {default as lineSegment} from '@turf/line-segment'; +export {default as lineSplit} from '@turf/line-split'; +export {default as lineArc} from '@turf/line-arc'; +export {default as polygonToLineString} from '@turf/polygon-to-linestring'; +export {default as lineStringToPolygon} from '@turf/linestring-to-polygon'; +export {default as bboxClip} from '@turf/bbox-clip'; +export {default as lineOverlap} from '@turf/line-overlap'; +export {default as sector} from '@turf/sector'; +export {default as rhumbBearing} from '@turf/rhumb-bearing'; +export {default as rhumbDistance} from '@turf/rhumb-distance'; +export {default as rhumbDestination} from '@turf/rhumb-destination'; +export {default as polygonTangents} from '@turf/polygon-tangents'; +export {default as rewind} from '@turf/rewind'; +export {default as isobands} from '@turf/isobands'; +export {default as transformRotate} from '@turf/transform-rotate'; +export {default as transformScale} from '@turf/transform-scale'; +export {default as transformTranslate} from '@turf/transform-translate'; +export {default as lineOffset} from '@turf/line-offset'; +export {default as polygonize} from '@turf/polygonize'; +export {default as booleanDisjoint} from '@turf/boolean-disjoint'; +export {default as booleanContains} from '@turf/boolean-contains'; +export {default as booleanCrosses} from '@turf/boolean-crosses'; +export {default as booleanClockwise} from '@turf/boolean-clockwise'; +export {default as booleanEqual} from '@turf/boolean-equal'; +export {default as clone} from '@turf/clone'; +export {default as cleanCoords} from '@turf/clean-coords'; +export {default as pointToLineDistance} from '@turf/point-to-line-distance'; diff --git a/packages/turf/index.js b/packages/turf/index.js index 417e9e25af..39fc70d204 100644 --- a/packages/turf/index.js +++ b/packages/turf/index.js @@ -99,6 +99,7 @@ var turf = { interpolate: require('@turf/interpolate'), // v4.6.0 clustersDbscan: require('@turf/clusters-dbscan'), // v4.6.0 clustersKmeans: require('@turf/clusters-kmeans'), // v4.6.0 + pointToLineDistance: require('@turf/point-to-line-distance'), // v4.7.0 getCluster: clusters.getCluster, // v4.6.0 clusterEach: clusters.clusterEach, // v4.6.0 clusterReduce: clusters.clusterReduce, // v4.6.0 diff --git a/packages/turf/module.js b/packages/turf/module.js index f41f4835e3..1e9540dd4b 100644 --- a/packages/turf/module.js +++ b/packages/turf/module.js @@ -1,4 +1,4 @@ -import { +export { point, polygon, lineString, @@ -19,7 +19,7 @@ import { convertDistance, convertArea, isNumber} from '@turf/helpers'; -import { +export { getGeom, getGeomType, getCoord, @@ -28,7 +28,7 @@ import { featureOf, collectionOf, containsNumber} from '@turf/invariant'; -import { +export { coordEach, coordReduce, propEach, @@ -42,208 +42,85 @@ import { flattenReduce, segmentEach, segmentReduce} from '@turf/meta'; -import * as isolines from '@turf/isolines'; -import * as convex from '@turf/convex'; -import * as within from '@turf/within'; -import * as concave from '@turf/concave'; -import * as difference from '@turf/difference'; -import * as dissolve from '@turf/dissolve'; -import * as collect from '@turf/collect'; -import * as flip from '@turf/flip'; -import * as simplify from '@turf/simplify'; -import * as bezier from '@turf/bezier'; -import * as tag from '@turf/tag'; -import * as sample from '@turf/sample'; -import * as envelope from '@turf/envelope'; -import * as square from '@turf/square'; -import * as circle from '@turf/circle'; -import * as midpoint from '@turf/midpoint'; -import * as buffer from '@turf/buffer'; -import * as center from '@turf/center'; -import * as centerOfMass from '@turf/center-of-mass'; -import * as centroid from '@turf/centroid'; -import * as combine from '@turf/combine'; -import * as distance from '@turf/distance'; -import * as explode from '@turf/explode'; -import * as bbox from '@turf/bbox'; -import * as tesselate from '@turf/tesselate'; -import * as bboxPolygon from '@turf/bbox-polygon'; -import * as inside from '@turf/inside'; -import * as intersect from '@turf/intersect'; -import * as nearest from '@turf/nearest'; -import * as planepoint from '@turf/planepoint'; -import * as random from '@turf/random'; -import * as tin from '@turf/tin'; -import * as union from '@turf/union'; -import * as bearing from '@turf/bearing'; -import * as destination from '@turf/destination'; -import * as kinks from '@turf/kinks'; -import * as pointOnSurface from '@turf/point-on-surface'; -import * as area from '@turf/area'; -import * as along from '@turf/along'; -import * as lineDistance from '@turf/line-distance'; -import * as lineSlice from '@turf/line-slice'; -import * as lineSliceAlong from '@turf/line-slice-along'; -import * as pointOnLine from '@turf/point-on-line'; -import * as pointGrid from '@turf/point-grid'; -import * as squareGrid from '@turf/square-grid'; -import * as triangleGrid from '@turf/triangle-grid'; -import * as hexGrid from '@turf/hex-grid'; -import * as idw from '@turf/idw'; -import * as truncate from '@turf/truncate'; -import * as flatten from '@turf/flatten'; -import * as lineIntersect from '@turf/line-intersect'; -import * as mask from '@turf/mask'; -import * as lineChunk from '@turf/line-chunk'; -import * as unkinkPolygon from '@turf/unkink-polygon'; -import * as greatCircle from '@turf/great-circle'; -import * as lineSegment from '@turf/line-segment'; -import * as lineSplit from '@turf/line-split'; -import * as lineArc from '@turf/line-arc'; -import * as polygonToLineString from '@turf/polygon-to-linestring'; -import * as lineStringToPolygon from '@turf/linestring-to-polygon'; -import * as bboxClip from '@turf/bbox-clip'; -import * as lineOverlap from '@turf/line-overlap'; -import * as sector from '@turf/sector'; -import * as rhumbBearing from '@turf/rhumb-bearing'; -import * as rhumbDistance from '@turf/rhumb-distance'; -import * as rhumbDestination from '@turf/rhumb-destination'; -import * as polygonTangents from '@turf/polygon-tangents'; -import * as rewind from '@turf/rewind'; -import * as isobands from '@turf/isobands'; -import * as transformRotate from '@turf/transform-rotate'; -import * as transformScale from '@turf/transform-scale'; -import * as transformTranslate from '@turf/transform-translate'; -import * as lineOffset from '@turf/line-offset'; -import * as polygonize from '@turf/polygonize'; -import * as booleanDisjoint from '@turf/boolean-disjoint'; -import * as booleanContains from '@turf/boolean-contains'; -import * as booleanCrosses from '@turf/boolean-crosses'; -import * as booleanClockwise from '@turf/boolean-clockwise'; -import * as booleanEqual from '@turf/boolean-equal'; -import * as clone from '@turf/clone'; -import * as cleanCoords from '@turf/clean-coords'; -export { - isolines, - convex, - within, - concave, - difference, - dissolve, - collect, - flip, - simplify, - bezier, - tag, - sample, - envelope, - square, - circle, - midpoint, - buffer, - center, - centerOfMass, - centroid, - combine, - distance, - explode, - bbox, - tesselate, - bboxPolygon, - inside, - intersect, - nearest, - planepoint, - random, - tin, - union, - bearing, - destination, - kinks, - pointOnSurface, - area, - along, - lineDistance, - lineSlice, - lineSliceAlong, - pointOnLine, - pointGrid, - squareGrid, - triangleGrid, - hexGrid, - idw, - point, - polygon, - lineString, - multiPoint, - multiPolygon, - multiLineString, - feature, - geometry, - featureCollection, - geometryCollection, - radiansToDistance, - distanceToRadians, - distanceToDegrees, - getCoord, - getCoords, - getGeom, - getGeomType, - geojsonType, - featureOf, - collectionOf, - containsNumber, - truncate, - flatten, - coordEach, - coordReduce, - propEach, - propReduce, - featureEach, - coordAll, - geomEach, - lineIntersect, - mask, - lineChunk, - unkinkPolygon, - greatCircle, - lineSegment, - lineSplit, - lineArc, - polygonToLineString, - lineStringToPolygon, - bboxClip, - lineOverlap, - sector, - rhumbBearing, - rhumbDistance, - rhumbDestination, - polygonTangents, - rewind, - isobands, - radians2degrees, - degrees2radians, - round, - flattenEach, - flattenReduce, - convertDistance, - convertArea, - transformRotate, - transformScale, - transformTranslate, - lineOffset, - polygonize, - bearingToAngle, - featureReduce, - geomReduce, - booleanDisjoint, - booleanContains, - booleanCrosses, - booleanClockwise, - booleanEqual, - clone, - segmentEach, - segmentReduce, - cleanCoords, - isNumber -}; +export {default as isolines} from '@turf/isolines'; +export {default as convex} from '@turf/convex'; +export {default as within} from '@turf/within'; +export {default as concave} from '@turf/concave'; +export {default as difference} from '@turf/difference'; +export {default as dissolve} from '@turf/dissolve'; +export {default as collect} from '@turf/collect'; +export {default as flip} from '@turf/flip'; +export {default as simplify} from '@turf/simplify'; +export {default as bezier} from '@turf/bezier'; +export {default as tag} from '@turf/tag'; +export {default as sample} from '@turf/sample'; +export {default as envelope} from '@turf/envelope'; +export {default as square} from '@turf/square'; +export {default as circle} from '@turf/circle'; +export {default as midpoint} from '@turf/midpoint'; +export {default as buffer} from '@turf/buffer'; +export {default as center} from '@turf/center'; +export {default as centerOfMass} from '@turf/center-of-mass'; +export {default as centroid} from '@turf/centroid'; +export {default as combine} from '@turf/combine'; +export {default as distance} from '@turf/distance'; +export {default as explode} from '@turf/explode'; +export {default as bbox} from '@turf/bbox'; +export {default as tesselate} from '@turf/tesselate'; +export {default as bboxPolygon} from '@turf/bbox-polygon'; +export {default as inside} from '@turf/inside'; +export {default as intersect} from '@turf/intersect'; +export {default as nearest} from '@turf/nearest'; +export {default as planepoint} from '@turf/planepoint'; +export {default as random} from '@turf/random'; +export {default as tin} from '@turf/tin'; +export {default as union} from '@turf/union'; +export {default as bearing} from '@turf/bearing'; +export {default as destination} from '@turf/destination'; +export {default as kinks} from '@turf/kinks'; +export {default as pointOnSurface} from '@turf/point-on-surface'; +export {default as area} from '@turf/area'; +export {default as along} from '@turf/along'; +export {default as lineDistance} from '@turf/line-distance'; +export {default as lineSlice} from '@turf/line-slice'; +export {default as lineSliceAlong} from '@turf/line-slice-along'; +export {default as pointOnLine} from '@turf/point-on-line'; +export {default as pointGrid} from '@turf/point-grid'; +export {default as squareGrid} from '@turf/square-grid'; +export {default as triangleGrid} from '@turf/triangle-grid'; +export {default as hexGrid} from '@turf/hex-grid'; +export {default as idw} from '@turf/idw'; +export {default as truncate} from '@turf/truncate'; +export {default as flatten} from '@turf/flatten'; +export {default as lineIntersect} from '@turf/line-intersect'; +export {default as mask} from '@turf/mask'; +export {default as lineChunk} from '@turf/line-chunk'; +export {default as unkinkPolygon} from '@turf/unkink-polygon'; +export {default as greatCircle} from '@turf/great-circle'; +export {default as lineSegment} from '@turf/line-segment'; +export {default as lineSplit} from '@turf/line-split'; +export {default as lineArc} from '@turf/line-arc'; +export {default as polygonToLineString} from '@turf/polygon-to-linestring'; +export {default as lineStringToPolygon} from '@turf/linestring-to-polygon'; +export {default as bboxClip} from '@turf/bbox-clip'; +export {default as lineOverlap} from '@turf/line-overlap'; +export {default as sector} from '@turf/sector'; +export {default as rhumbBearing} from '@turf/rhumb-bearing'; +export {default as rhumbDistance} from '@turf/rhumb-distance'; +export {default as rhumbDestination} from '@turf/rhumb-destination'; +export {default as polygonTangents} from '@turf/polygon-tangents'; +export {default as rewind} from '@turf/rewind'; +export {default as isobands} from '@turf/isobands'; +export {default as transformRotate} from '@turf/transform-rotate'; +export {default as transformScale} from '@turf/transform-scale'; +export {default as transformTranslate} from '@turf/transform-translate'; +export {default as lineOffset} from '@turf/line-offset'; +export {default as polygonize} from '@turf/polygonize'; +export {default as booleanDisjoint} from '@turf/boolean-disjoint'; +export {default as booleanContains} from '@turf/boolean-contains'; +export {default as booleanCrosses} from '@turf/boolean-crosses'; +export {default as booleanClockwise} from '@turf/boolean-clockwise'; +export {default as booleanEqual} from '@turf/boolean-equal'; +export {default as clone} from '@turf/clone'; +export {default as cleanCoords} from '@turf/clean-coords'; +export {default as pointToLineDistance} from '@turf/point-to-line-distance'; diff --git a/packages/turf/package.json b/packages/turf/package.json index 4951d3616e..b010e92484 100644 --- a/packages/turf/package.json +++ b/packages/turf/package.json @@ -122,6 +122,7 @@ "@turf/point-grid": "^4.6.0", "@turf/point-on-line": "^4.6.0", "@turf/point-on-surface": "^4.6.1", + "@turf/point-to-line-distance": "^4.0.0", "@turf/polygon-tangents": "^4.6.0", "@turf/polygon-to-linestring": "^4.6.0", "@turf/polygonize": "^4.6.1", diff --git a/packages/turf/types.ts b/packages/turf/types.ts new file mode 100644 index 0000000000..31fc6e564b --- /dev/null +++ b/packages/turf/types.ts @@ -0,0 +1,13 @@ +import * as turf from './' + +// Helpers +turf.helpers.point([10, 20]) +turf.point([10, 20]) + +// Meta +turf.meta.featureEach +turf.featureEach + +// Invariant +turf.invariant.featureOf +turf.featureOf \ No newline at end of file diff --git a/packages/turf/yarn.lock b/packages/turf/yarn.lock index 79510b14dc..9528d9125c 100644 --- a/packages/turf/yarn.lock +++ b/packages/turf/yarn.lock @@ -575,6 +575,18 @@ "@turf/helpers" "^4.6.0" "@turf/inside" "^4.6.0" +"@turf/point-to-line-distance@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@turf/point-to-line-distance/-/point-to-line-distance-4.0.0.tgz#1f431a2188887f6e6a22cbf951e1e6f28a2a1051" + dependencies: + "@turf/bearing" "^4.6.0" + "@turf/distance" "^4.6.0" + "@turf/helpers" "^4.6.0" + "@turf/invariant" "^4.6.0" + "@turf/meta" "^4.6.0" + "@turf/rhumb-bearing" "^4.6.0" + "@turf/rhumb-distance" "^4.6.0" + "@turf/polygon-tangents@^4.6.0": version "4.6.0" resolved "https://registry.yarnpkg.com/@turf/polygon-tangents/-/polygon-tangents-4.6.0.tgz#f46d0087ff5d1069d4b0668b9b385ed76ad8fdc6"