@turf/turf 7.0.0-alpha.2 → 7.1.0-alpha.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,231 @@
1
+ // index.ts
2
+ import { along } from "@turf/along";
3
+ import { angle } from "@turf/angle";
4
+ import { area } from "@turf/area";
5
+ import { bbox } from "@turf/bbox";
6
+ import { bboxClip } from "@turf/bbox-clip";
7
+ import { bboxPolygon } from "@turf/bbox-polygon";
8
+ import { bearing } from "@turf/bearing";
9
+ import { bezierSpline } from "@turf/bezier-spline";
10
+ import { booleanClockwise } from "@turf/boolean-clockwise";
11
+ import { booleanConcave } from "@turf/boolean-concave";
12
+ import { booleanContains } from "@turf/boolean-contains";
13
+ import { booleanCrosses } from "@turf/boolean-crosses";
14
+ import { booleanDisjoint } from "@turf/boolean-disjoint";
15
+ import { booleanEqual } from "@turf/boolean-equal";
16
+ import { booleanIntersects } from "@turf/boolean-intersects";
17
+ import { booleanOverlap } from "@turf/boolean-overlap";
18
+ import { booleanParallel } from "@turf/boolean-parallel";
19
+ import { booleanPointInPolygon } from "@turf/boolean-point-in-polygon";
20
+ import { booleanPointOnLine } from "@turf/boolean-point-on-line";
21
+ import { booleanTouches } from "@turf/boolean-touches";
22
+ import { booleanValid } from "@turf/boolean-valid";
23
+ import { booleanWithin } from "@turf/boolean-within";
24
+ import { buffer } from "@turf/buffer";
25
+ import { center } from "@turf/center";
26
+ import { centerMean } from "@turf/center-mean";
27
+ import { centerMedian } from "@turf/center-median";
28
+ import { centerOfMass } from "@turf/center-of-mass";
29
+ import { centroid } from "@turf/centroid";
30
+ import { circle } from "@turf/circle";
31
+ import { cleanCoords } from "@turf/clean-coords";
32
+ export * from "@turf/clone";
33
+ export * from "@turf/clusters";
34
+ import * as clusters from "@turf/clusters";
35
+ import { clustersDbscan } from "@turf/clusters-dbscan";
36
+ import { clustersKmeans } from "@turf/clusters-kmeans";
37
+ import { collect } from "@turf/collect";
38
+ import { combine } from "@turf/combine";
39
+ import { concave } from "@turf/concave";
40
+ import { convex } from "@turf/convex";
41
+ import { destination } from "@turf/destination";
42
+ import { difference } from "@turf/difference";
43
+ import { dissolve } from "@turf/dissolve";
44
+ import { distance } from "@turf/distance";
45
+ import { distanceWeight } from "@turf/distance-weight";
46
+ import { ellipse } from "@turf/ellipse";
47
+ import { envelope } from "@turf/envelope";
48
+ import { explode } from "@turf/explode";
49
+ import { flatten } from "@turf/flatten";
50
+ import { flip } from "@turf/flip";
51
+ import { geojsonRbush } from "@turf/geojson-rbush";
52
+ import { greatCircle } from "@turf/great-circle";
53
+ export * from "@turf/helpers";
54
+ import * as helpers from "@turf/helpers";
55
+ import { hexGrid } from "@turf/hex-grid";
56
+ import { interpolate } from "@turf/interpolate";
57
+ import { intersect } from "@turf/intersect";
58
+ export * from "@turf/invariant";
59
+ import * as invariant from "@turf/invariant";
60
+ import { isobands } from "@turf/isobands";
61
+ import { isolines } from "@turf/isolines";
62
+ import { kinks } from "@turf/kinks";
63
+ import { length } from "@turf/length";
64
+ import { lineArc } from "@turf/line-arc";
65
+ import { lineChunk } from "@turf/line-chunk";
66
+ import { lineIntersect } from "@turf/line-intersect";
67
+ import { lineOffset } from "@turf/line-offset";
68
+ import { lineOverlap } from "@turf/line-overlap";
69
+ import { lineSegment } from "@turf/line-segment";
70
+ import { lineSlice } from "@turf/line-slice";
71
+ import { lineSliceAlong } from "@turf/line-slice-along";
72
+ import { lineSplit } from "@turf/line-split";
73
+ import { lineToPolygon } from "@turf/line-to-polygon";
74
+ import { mask } from "@turf/mask";
75
+ export * from "@turf/meta";
76
+ import * as meta from "@turf/meta";
77
+ import { midpoint } from "@turf/midpoint";
78
+ import { moranIndex } from "@turf/moran-index";
79
+ export * from "@turf/nearest-neighbor-analysis";
80
+ import { nearestPoint } from "@turf/nearest-point";
81
+ import { nearestPointOnLine } from "@turf/nearest-point-on-line";
82
+ import { nearestPointToLine } from "@turf/nearest-point-to-line";
83
+ import { planepoint } from "@turf/planepoint";
84
+ import { pointGrid } from "@turf/point-grid";
85
+ import { pointOnFeature } from "@turf/point-on-feature";
86
+ import { pointsWithinPolygon } from "@turf/points-within-polygon";
87
+ import { pointToLineDistance } from "@turf/point-to-line-distance";
88
+ import { polygonize } from "@turf/polygonize";
89
+ import { polygonSmooth } from "@turf/polygon-smooth";
90
+ import { polygonTangents } from "@turf/polygon-tangents";
91
+ import { polygonToLine } from "@turf/polygon-to-line";
92
+ export * from "@turf/projection";
93
+ import * as projection from "@turf/projection";
94
+ export * from "@turf/quadrat-analysis";
95
+ export * from "@turf/random";
96
+ import * as random from "@turf/random";
97
+ import { rectangleGrid } from "@turf/rectangle-grid";
98
+ import { rewind } from "@turf/rewind";
99
+ import { rhumbBearing } from "@turf/rhumb-bearing";
100
+ import { rhumbDestination } from "@turf/rhumb-destination";
101
+ import { rhumbDistance } from "@turf/rhumb-distance";
102
+ import { sample } from "@turf/sample";
103
+ import { sector } from "@turf/sector";
104
+ import { shortestPath } from "@turf/shortest-path";
105
+ import { simplify } from "@turf/simplify";
106
+ import { square } from "@turf/square";
107
+ import { squareGrid } from "@turf/square-grid";
108
+ import { standardDeviationalEllipse } from "@turf/standard-deviational-ellipse";
109
+ import { tag } from "@turf/tag";
110
+ import { tesselate } from "@turf/tesselate";
111
+ import { tin } from "@turf/tin";
112
+ import { transformRotate } from "@turf/transform-rotate";
113
+ import { transformScale } from "@turf/transform-scale";
114
+ import { transformTranslate } from "@turf/transform-translate";
115
+ import { triangleGrid } from "@turf/triangle-grid";
116
+ import { truncate } from "@turf/truncate";
117
+ import { union } from "@turf/union";
118
+ import { unkinkPolygon } from "@turf/unkink-polygon";
119
+ import { voronoi } from "@turf/voronoi";
120
+ export {
121
+ along,
122
+ angle,
123
+ area,
124
+ bbox,
125
+ bboxClip,
126
+ bboxPolygon,
127
+ bearing,
128
+ bezierSpline,
129
+ booleanClockwise,
130
+ booleanConcave,
131
+ booleanContains,
132
+ booleanCrosses,
133
+ booleanDisjoint,
134
+ booleanEqual,
135
+ booleanIntersects,
136
+ booleanOverlap,
137
+ booleanParallel,
138
+ booleanPointInPolygon,
139
+ booleanPointOnLine,
140
+ booleanTouches,
141
+ booleanValid,
142
+ booleanWithin,
143
+ buffer,
144
+ center,
145
+ centerMean,
146
+ centerMedian,
147
+ centerOfMass,
148
+ centroid,
149
+ circle,
150
+ cleanCoords,
151
+ clusters,
152
+ clustersDbscan,
153
+ clustersKmeans,
154
+ collect,
155
+ combine,
156
+ concave,
157
+ convex,
158
+ destination,
159
+ difference,
160
+ dissolve,
161
+ distance,
162
+ distanceWeight,
163
+ ellipse,
164
+ envelope,
165
+ explode,
166
+ flatten,
167
+ flip,
168
+ geojsonRbush,
169
+ greatCircle,
170
+ helpers,
171
+ hexGrid,
172
+ interpolate,
173
+ intersect,
174
+ invariant,
175
+ isobands,
176
+ isolines,
177
+ kinks,
178
+ length,
179
+ lineArc,
180
+ lineChunk,
181
+ lineIntersect,
182
+ lineOffset,
183
+ lineOverlap,
184
+ lineSegment,
185
+ lineSlice,
186
+ lineSliceAlong,
187
+ lineSplit,
188
+ lineToPolygon,
189
+ mask,
190
+ meta,
191
+ midpoint,
192
+ moranIndex,
193
+ nearestPoint,
194
+ nearestPointOnLine,
195
+ nearestPointToLine,
196
+ planepoint,
197
+ pointGrid,
198
+ pointOnFeature,
199
+ pointToLineDistance,
200
+ pointsWithinPolygon,
201
+ polygonSmooth,
202
+ polygonTangents,
203
+ polygonToLine,
204
+ polygonize,
205
+ projection,
206
+ random,
207
+ rectangleGrid,
208
+ rewind,
209
+ rhumbBearing,
210
+ rhumbDestination,
211
+ rhumbDistance,
212
+ sample,
213
+ sector,
214
+ shortestPath,
215
+ simplify,
216
+ square,
217
+ squareGrid,
218
+ standardDeviationalEllipse,
219
+ tag,
220
+ tesselate,
221
+ tin,
222
+ transformRotate,
223
+ transformScale,
224
+ transformTranslate,
225
+ triangleGrid,
226
+ truncate,
227
+ union,
228
+ unkinkPolygon,
229
+ voronoi
230
+ };
231
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../index.ts"],"sourcesContent":["/**\n * Turf is a modular geospatial analysis engine written in JavaScript. It performs geospatial\n * processing tasks with GeoJSON data and can be run on a server or in a browser.\n *\n * @module turf\n * @summary Geospatial analysis for JavaScript\n */\nexport { along } from \"@turf/along\";\nexport { angle } from \"@turf/angle\";\nexport { area } from \"@turf/area\";\nexport { bbox } from \"@turf/bbox\";\nexport { bboxClip } from \"@turf/bbox-clip\";\nexport { bboxPolygon } from \"@turf/bbox-polygon\";\nexport { bearing } from \"@turf/bearing\";\nexport { bezierSpline } from \"@turf/bezier-spline\";\nexport { booleanClockwise } from \"@turf/boolean-clockwise\";\nexport { booleanConcave } from \"@turf/boolean-concave\";\nexport { booleanContains } from \"@turf/boolean-contains\";\nexport { booleanCrosses } from \"@turf/boolean-crosses\";\nexport { booleanDisjoint } from \"@turf/boolean-disjoint\";\nexport { booleanEqual } from \"@turf/boolean-equal\";\nexport { booleanIntersects } from \"@turf/boolean-intersects\";\nexport { booleanOverlap } from \"@turf/boolean-overlap\";\nexport { booleanParallel } from \"@turf/boolean-parallel\";\nexport { booleanPointInPolygon } from \"@turf/boolean-point-in-polygon\";\nexport { booleanPointOnLine } from \"@turf/boolean-point-on-line\";\nexport { booleanTouches } from \"@turf/boolean-touches\";\nexport { booleanValid } from \"@turf/boolean-valid\";\nexport { booleanWithin } from \"@turf/boolean-within\";\nexport { buffer } from \"@turf/buffer\"; // JSTS Module\nexport { center } from \"@turf/center\";\nexport { centerMean } from \"@turf/center-mean\";\nexport { centerMedian } from \"@turf/center-median\";\nexport { centerOfMass } from \"@turf/center-of-mass\";\nexport { centroid } from \"@turf/centroid\";\nexport { circle } from \"@turf/circle\";\nexport { cleanCoords } from \"@turf/clean-coords\";\nexport * from \"@turf/clone\";\nexport * from \"@turf/clusters\";\nexport * as clusters from \"@turf/clusters\";\nexport { clustersDbscan } from \"@turf/clusters-dbscan\";\nexport { clustersKmeans } from \"@turf/clusters-kmeans\";\nexport { collect } from \"@turf/collect\";\nexport { combine } from \"@turf/combine\";\nexport { concave } from \"@turf/concave\";\nexport { convex } from \"@turf/convex\";\nexport { destination } from \"@turf/destination\";\nexport { difference } from \"@turf/difference\"; // JSTS Module\nexport { dissolve } from \"@turf/dissolve\"; // JSTS Sub-Model\nexport { distance } from \"@turf/distance\";\nexport { distanceWeight } from \"@turf/distance-weight\";\nexport { ellipse } from \"@turf/ellipse\";\nexport { envelope } from \"@turf/envelope\";\nexport { explode } from \"@turf/explode\";\nexport { flatten } from \"@turf/flatten\";\nexport { flip } from \"@turf/flip\";\nexport { geojsonRbush } from \"@turf/geojson-rbush\";\nexport { greatCircle } from \"@turf/great-circle\";\nexport * from \"@turf/helpers\";\nexport * as helpers from \"@turf/helpers\";\nexport { hexGrid } from \"@turf/hex-grid\"; // JSTS Sub-Model\nexport { interpolate } from \"@turf/interpolate\"; // JSTS Sub-Model\nexport { intersect } from \"@turf/intersect\"; // JSTS Module\nexport * from \"@turf/invariant\";\nexport * as invariant from \"@turf/invariant\";\nexport { isobands } from \"@turf/isobands\";\nexport { isolines } from \"@turf/isolines\";\nexport { kinks } from \"@turf/kinks\";\nexport { length } from \"@turf/length\";\nexport { lineArc } from \"@turf/line-arc\";\nexport { lineChunk } from \"@turf/line-chunk\";\nexport { lineIntersect } from \"@turf/line-intersect\";\nexport { lineOffset } from \"@turf/line-offset\";\nexport { lineOverlap } from \"@turf/line-overlap\";\nexport { lineSegment } from \"@turf/line-segment\";\nexport { lineSlice } from \"@turf/line-slice\";\nexport { lineSliceAlong } from \"@turf/line-slice-along\";\nexport { lineSplit } from \"@turf/line-split\";\nexport { lineToPolygon } from \"@turf/line-to-polygon\";\nexport { mask } from \"@turf/mask\"; // JSTS Sub-Model\nexport * from \"@turf/meta\";\nexport * as meta from \"@turf/meta\";\nexport { midpoint } from \"@turf/midpoint\";\nexport { moranIndex } from \"@turf/moran-index\";\nexport * from \"@turf/nearest-neighbor-analysis\";\nexport { nearestPoint } from \"@turf/nearest-point\";\nexport { nearestPointOnLine } from \"@turf/nearest-point-on-line\";\nexport { nearestPointToLine } from \"@turf/nearest-point-to-line\";\nexport { planepoint } from \"@turf/planepoint\";\nexport { pointGrid } from \"@turf/point-grid\";\nexport { pointOnFeature } from \"@turf/point-on-feature\";\nexport { pointsWithinPolygon } from \"@turf/points-within-polygon\";\nexport { pointToLineDistance } from \"@turf/point-to-line-distance\";\nexport { polygonize } from \"@turf/polygonize\";\nexport { polygonSmooth } from \"@turf/polygon-smooth\";\nexport { polygonTangents } from \"@turf/polygon-tangents\";\nexport { polygonToLine } from \"@turf/polygon-to-line\";\nexport * from \"@turf/projection\";\nexport * as projection from \"@turf/projection\";\nexport * from \"@turf/quadrat-analysis\";\nexport * from \"@turf/random\";\nexport * as random from \"@turf/random\";\nexport { rectangleGrid } from \"@turf/rectangle-grid\"; // JSTS Sub-Model\nexport { rewind } from \"@turf/rewind\";\nexport { rhumbBearing } from \"@turf/rhumb-bearing\";\nexport { rhumbDestination } from \"@turf/rhumb-destination\";\nexport { rhumbDistance } from \"@turf/rhumb-distance\";\nexport { sample } from \"@turf/sample\";\nexport { sector } from \"@turf/sector\";\nexport { shortestPath } from \"@turf/shortest-path\";\nexport { simplify } from \"@turf/simplify\";\nexport { square } from \"@turf/square\";\nexport { squareGrid } from \"@turf/square-grid\"; // JSTS Sub-Model\nexport { standardDeviationalEllipse } from \"@turf/standard-deviational-ellipse\";\nexport { tag } from \"@turf/tag\";\nexport { tesselate } from \"@turf/tesselate\";\nexport { tin } from \"@turf/tin\";\nexport { transformRotate } from \"@turf/transform-rotate\";\nexport { transformScale } from \"@turf/transform-scale\";\nexport { transformTranslate } from \"@turf/transform-translate\";\nexport { triangleGrid } from \"@turf/triangle-grid\"; // JSTS Sub-Model\nexport { truncate } from \"@turf/truncate\";\nexport { union } from \"@turf/union\"; // JSTS Module\nexport { unkinkPolygon } from \"@turf/unkink-polygon\";\nexport { voronoi } from \"@turf/voron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"a JavaScript library for performing geospatial operations with GeoJSON",
5
5
  "author": "Turf Authors",
6
6
  "license": "MIT",
@@ -43,152 +43,168 @@
43
43
  "jenks",
44
44
  "sample"
45
45
  ],
46
- "main": "dist/js/index.js",
47
- "module": "dist/es/index.js",
46
+ "type": "module",
47
+ "main": "dist/cjs/index.cjs",
48
+ "module": "dist/esm/index.js",
49
+ "types": "dist/esm/index.d.ts",
48
50
  "exports": {
49
51
  "./package.json": "./package.json",
50
52
  ".": {
51
- "types": "./index.d.ts",
52
- "import": "./dist/es/index.js",
53
- "require": "./dist/js/index.js"
53
+ "import": {
54
+ "types": "./dist/esm/index.d.ts",
55
+ "default": "./dist/esm/index.js"
56
+ },
57
+ "require": {
58
+ "types": "./dist/cjs/index.d.cts",
59
+ "default": "./dist/cjs/index.cjs"
60
+ }
54
61
  }
55
62
  },
56
63
  "browser": "turf.min.js",
57
- "types": "index.d.ts",
58
64
  "sideEffects": false,
59
65
  "files": [
60
66
  "dist",
61
- "index.d.ts",
62
67
  "turf.min.js"
63
68
  ],
64
69
  "scripts": {
65
- "build": "rollup -c rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json",
70
+ "build": "tsup --config ../../tsup.config.ts && rollup -c rollup.config.js",
66
71
  "last-checks": "npm-run-all last-checks:testjs last-checks:example",
67
72
  "last-checks:example": "tsx test.example.js",
68
- "last-checks:testjs": "tsx test.js",
73
+ "last-checks:testjs": "tsx test.ts",
69
74
  "test": "echo '@turf/turf tests run in the last-checks step'"
70
75
  },
71
76
  "devDependencies": {
72
- "@babel/core": "^7.16.5",
73
- "@babel/preset-env": "^7.16.5",
74
- "@rollup/plugin-babel": "^5.3.0",
75
- "@rollup/plugin-commonjs": "^17.0.0",
76
- "@rollup/plugin-node-resolve": "^11.0.0",
77
- "camelcase": "*",
77
+ "@babel/core": "^7.23.2",
78
+ "@babel/preset-env": "^7.23.2",
79
+ "@rollup/plugin-babel": "^6.0.4",
80
+ "@rollup/plugin-commonjs": "^25.0.7",
81
+ "@rollup/plugin-node-resolve": "^15.2.3",
82
+ "@rollup/plugin-terser": "^0.4.4",
83
+ "@types/tape": "^4.2.32",
84
+ "camelcase": "^8.0.0",
78
85
  "documentation": "^13.2.5",
79
- "glob": "*",
80
- "rollup": "^2.34.2",
81
- "rollup-plugin-terser": "^7.0.2",
82
- "tape": "*",
83
- "tsx": "*"
86
+ "glob": "^10.3.10",
87
+ "rollup": "^2.79.1",
88
+ "rollup-plugin-polyfill-node": "^0.13.0",
89
+ "tape": "^5.7.2",
90
+ "tsup": "^8.0.1",
91
+ "tsx": "^4.6.2",
92
+ "typescript": "^5.2.2"
84
93
  },
85
94
  "dependencies": {
86
- "@turf/along": "^7.0.0-alpha.2",
87
- "@turf/angle": "^7.0.0-alpha.2",
88
- "@turf/area": "^7.0.0-alpha.2",
89
- "@turf/bbox": "^7.0.0-alpha.2",
90
- "@turf/bbox-clip": "^7.0.0-alpha.2",
91
- "@turf/bbox-polygon": "^7.0.0-alpha.2",
92
- "@turf/bearing": "^7.0.0-alpha.2",
93
- "@turf/bezier-spline": "^7.0.0-alpha.2",
94
- "@turf/boolean-clockwise": "^7.0.0-alpha.2",
95
- "@turf/boolean-contains": "^7.0.0-alpha.2",
96
- "@turf/boolean-crosses": "^7.0.0-alpha.2",
97
- "@turf/boolean-disjoint": "^7.0.0-alpha.2",
98
- "@turf/boolean-equal": "^7.0.0-alpha.2",
99
- "@turf/boolean-intersects": "^7.0.0-alpha.2",
100
- "@turf/boolean-overlap": "^7.0.0-alpha.2",
101
- "@turf/boolean-parallel": "^7.0.0-alpha.2",
102
- "@turf/boolean-point-in-polygon": "^7.0.0-alpha.2",
103
- "@turf/boolean-point-on-line": "^7.0.0-alpha.2",
104
- "@turf/boolean-touches": "^7.0.0-alpha.2",
105
- "@turf/boolean-within": "^7.0.0-alpha.2",
106
- "@turf/buffer": "^7.0.0-alpha.2",
107
- "@turf/center": "^7.0.0-alpha.2",
108
- "@turf/center-mean": "^7.0.0-alpha.2",
109
- "@turf/center-median": "^7.0.0-alpha.2",
110
- "@turf/center-of-mass": "^7.0.0-alpha.2",
111
- "@turf/centroid": "^7.0.0-alpha.2",
112
- "@turf/circle": "^7.0.0-alpha.2",
113
- "@turf/clean-coords": "^7.0.0-alpha.2",
114
- "@turf/clone": "^7.0.0-alpha.2",
115
- "@turf/clusters": "^7.0.0-alpha.2",
116
- "@turf/clusters-dbscan": "^7.0.0-alpha.2",
117
- "@turf/clusters-kmeans": "^7.0.0-alpha.2",
118
- "@turf/collect": "^7.0.0-alpha.2",
119
- "@turf/combine": "^7.0.0-alpha.2",
120
- "@turf/concave": "^7.0.0-alpha.2",
121
- "@turf/convex": "^7.0.0-alpha.2",
122
- "@turf/destination": "^7.0.0-alpha.2",
123
- "@turf/difference": "^7.0.0-alpha.2",
124
- "@turf/dissolve": "^7.0.0-alpha.2",
125
- "@turf/distance": "^7.0.0-alpha.2",
126
- "@turf/distance-weight": "^7.0.0-alpha.2",
127
- "@turf/ellipse": "^7.0.0-alpha.2",
128
- "@turf/envelope": "^7.0.0-alpha.2",
129
- "@turf/explode": "^7.0.0-alpha.2",
130
- "@turf/flatten": "^7.0.0-alpha.2",
131
- "@turf/flip": "^7.0.0-alpha.2",
132
- "@turf/great-circle": "^7.0.0-alpha.2",
133
- "@turf/helpers": "^7.0.0-alpha.2",
134
- "@turf/hex-grid": "^7.0.0-alpha.2",
135
- "@turf/interpolate": "^7.0.0-alpha.2",
136
- "@turf/intersect": "^7.0.0-alpha.2",
137
- "@turf/invariant": "^7.0.0-alpha.2",
138
- "@turf/isobands": "^7.0.0-alpha.2",
139
- "@turf/isolines": "^7.0.0-alpha.2",
140
- "@turf/kinks": "^7.0.0-alpha.2",
141
- "@turf/length": "^7.0.0-alpha.2",
142
- "@turf/line-arc": "^7.0.0-alpha.2",
143
- "@turf/line-chunk": "^7.0.0-alpha.2",
144
- "@turf/line-intersect": "^7.0.0-alpha.2",
145
- "@turf/line-offset": "^7.0.0-alpha.2",
146
- "@turf/line-overlap": "^7.0.0-alpha.2",
147
- "@turf/line-segment": "^7.0.0-alpha.2",
148
- "@turf/line-slice": "^7.0.0-alpha.2",
149
- "@turf/line-slice-along": "^7.0.0-alpha.2",
150
- "@turf/line-split": "^7.0.0-alpha.2",
151
- "@turf/line-to-polygon": "^7.0.0-alpha.2",
152
- "@turf/mask": "^7.0.0-alpha.2",
153
- "@turf/meta": "^7.0.0-alpha.2",
154
- "@turf/midpoint": "^7.0.0-alpha.2",
155
- "@turf/moran-index": "^7.0.0-alpha.2",
156
- "@turf/nearest-point": "^7.0.0-alpha.2",
157
- "@turf/nearest-point-on-line": "^7.0.0-alpha.2",
158
- "@turf/nearest-point-to-line": "^7.0.0-alpha.2",
159
- "@turf/planepoint": "^7.0.0-alpha.2",
160
- "@turf/point-grid": "^7.0.0-alpha.2",
161
- "@turf/point-on-feature": "^7.0.0-alpha.2",
162
- "@turf/point-to-line-distance": "^7.0.0-alpha.2",
163
- "@turf/points-within-polygon": "^7.0.0-alpha.2",
164
- "@turf/polygon-smooth": "^7.0.0-alpha.2",
165
- "@turf/polygon-tangents": "^7.0.0-alpha.2",
166
- "@turf/polygon-to-line": "^7.0.0-alpha.2",
167
- "@turf/polygonize": "^7.0.0-alpha.2",
168
- "@turf/projection": "^7.0.0-alpha.2",
169
- "@turf/random": "^7.0.0-alpha.2",
170
- "@turf/rewind": "^7.0.0-alpha.2",
171
- "@turf/rhumb-bearing": "^7.0.0-alpha.2",
172
- "@turf/rhumb-destination": "^7.0.0-alpha.2",
173
- "@turf/rhumb-distance": "^7.0.0-alpha.2",
174
- "@turf/sample": "^7.0.0-alpha.2",
175
- "@turf/sector": "^7.0.0-alpha.2",
176
- "@turf/shortest-path": "^7.0.0-alpha.2",
177
- "@turf/simplify": "^7.0.0-alpha.2",
178
- "@turf/square": "^7.0.0-alpha.2",
179
- "@turf/square-grid": "^7.0.0-alpha.2",
180
- "@turf/standard-deviational-ellipse": "^7.0.0-alpha.2",
181
- "@turf/tag": "^7.0.0-alpha.2",
182
- "@turf/tesselate": "^7.0.0-alpha.2",
183
- "@turf/tin": "^7.0.0-alpha.2",
184
- "@turf/transform-rotate": "^7.0.0-alpha.2",
185
- "@turf/transform-scale": "^7.0.0-alpha.2",
186
- "@turf/transform-translate": "^7.0.0-alpha.2",
187
- "@turf/triangle-grid": "^7.0.0-alpha.2",
188
- "@turf/truncate": "^7.0.0-alpha.2",
189
- "@turf/union": "^7.0.0-alpha.2",
190
- "@turf/unkink-polygon": "^7.0.0-alpha.2",
191
- "@turf/voronoi": "^7.0.0-alpha.2"
95
+ "@turf/along": "^7.1.0-alpha.7+0ce6ecca0",
96
+ "@turf/angle": "^7.1.0-alpha.7+0ce6ecca0",
97
+ "@turf/area": "^7.1.0-alpha.7+0ce6ecca0",
98
+ "@turf/bbox": "^7.1.0-alpha.7+0ce6ecca0",
99
+ "@turf/bbox-clip": "^7.1.0-alpha.7+0ce6ecca0",
100
+ "@turf/bbox-polygon": "^7.1.0-alpha.7+0ce6ecca0",
101
+ "@turf/bearing": "^7.1.0-alpha.7+0ce6ecca0",
102
+ "@turf/bezier-spline": "^7.1.0-alpha.7+0ce6ecca0",
103
+ "@turf/boolean-clockwise": "^7.1.0-alpha.7+0ce6ecca0",
104
+ "@turf/boolean-concave": "^7.1.0-alpha.7+0ce6ecca0",
105
+ "@turf/boolean-contains": "^7.1.0-alpha.7+0ce6ecca0",
106
+ "@turf/boolean-crosses": "^7.1.0-alpha.7+0ce6ecca0",
107
+ "@turf/boolean-disjoint": "^7.1.0-alpha.7+0ce6ecca0",
108
+ "@turf/boolean-equal": "^7.1.0-alpha.7+0ce6ecca0",
109
+ "@turf/boolean-intersects": "^7.1.0-alpha.7+0ce6ecca0",
110
+ "@turf/boolean-overlap": "^7.1.0-alpha.7+0ce6ecca0",
111
+ "@turf/boolean-parallel": "^7.1.0-alpha.7+0ce6ecca0",
112
+ "@turf/boolean-point-in-polygon": "^7.1.0-alpha.7+0ce6ecca0",
113
+ "@turf/boolean-point-on-line": "^7.1.0-alpha.7+0ce6ecca0",
114
+ "@turf/boolean-touches": "^7.1.0-alpha.7+0ce6ecca0",
115
+ "@turf/boolean-valid": "^7.1.0-alpha.7+0ce6ecca0",
116
+ "@turf/boolean-within": "^7.1.0-alpha.7+0ce6ecca0",
117
+ "@turf/buffer": "^7.1.0-alpha.7+0ce6ecca0",
118
+ "@turf/center": "^7.1.0-alpha.7+0ce6ecca0",
119
+ "@turf/center-mean": "^7.1.0-alpha.7+0ce6ecca0",
120
+ "@turf/center-median": "^7.1.0-alpha.7+0ce6ecca0",
121
+ "@turf/center-of-mass": "^7.1.0-alpha.7+0ce6ecca0",
122
+ "@turf/centroid": "^7.1.0-alpha.7+0ce6ecca0",
123
+ "@turf/circle": "^7.1.0-alpha.7+0ce6ecca0",
124
+ "@turf/clean-coords": "^7.1.0-alpha.7+0ce6ecca0",
125
+ "@turf/clone": "^7.1.0-alpha.7+0ce6ecca0",
126
+ "@turf/clusters": "^7.1.0-alpha.7+0ce6ecca0",
127
+ "@turf/clusters-dbscan": "^7.1.0-alpha.7+0ce6ecca0",
128
+ "@turf/clusters-kmeans": "^7.1.0-alpha.7+0ce6ecca0",
129
+ "@turf/collect": "^7.1.0-alpha.7+0ce6ecca0",
130
+ "@turf/combine": "^7.1.0-alpha.7+0ce6ecca0",
131
+ "@turf/concave": "^7.1.0-alpha.7+0ce6ecca0",
132
+ "@turf/convex": "^7.1.0-alpha.7+0ce6ecca0",
133
+ "@turf/destination": "^7.1.0-alpha.7+0ce6ecca0",
134
+ "@turf/difference": "^7.1.0-alpha.7+0ce6ecca0",
135
+ "@turf/dissolve": "^7.1.0-alpha.7+0ce6ecca0",
136
+ "@turf/distance": "^7.1.0-alpha.7+0ce6ecca0",
137
+ "@turf/distance-weight": "^7.1.0-alpha.7+0ce6ecca0",
138
+ "@turf/ellipse": "^7.1.0-alpha.7+0ce6ecca0",
139
+ "@turf/envelope": "^7.1.0-alpha.7+0ce6ecca0",
140
+ "@turf/explode": "^7.1.0-alpha.7+0ce6ecca0",
141
+ "@turf/flatten": "^7.1.0-alpha.7+0ce6ecca0",
142
+ "@turf/flip": "^7.1.0-alpha.7+0ce6ecca0",
143
+ "@turf/geojson-rbush": "^7.1.0-alpha.7+0ce6ecca0",
144
+ "@turf/great-circle": "^7.1.0-alpha.7+0ce6ecca0",
145
+ "@turf/helpers": "^7.1.0-alpha.7+0ce6ecca0",
146
+ "@turf/hex-grid": "^7.1.0-alpha.7+0ce6ecca0",
147
+ "@turf/interpolate": "^7.1.0-alpha.7+0ce6ecca0",
148
+ "@turf/intersect": "^7.1.0-alpha.7+0ce6ecca0",
149
+ "@turf/invariant": "^7.1.0-alpha.7+0ce6ecca0",
150
+ "@turf/isobands": "^7.1.0-alpha.7+0ce6ecca0",
151
+ "@turf/isolines": "^7.1.0-alpha.7+0ce6ecca0",
152
+ "@turf/kinks": "^7.1.0-alpha.7+0ce6ecca0",
153
+ "@turf/length": "^7.1.0-alpha.7+0ce6ecca0",
154
+ "@turf/line-arc": "^7.1.0-alpha.7+0ce6ecca0",
155
+ "@turf/line-chunk": "^7.1.0-alpha.7+0ce6ecca0",
156
+ "@turf/line-intersect": "^7.1.0-alpha.7+0ce6ecca0",
157
+ "@turf/line-offset": "^7.1.0-alpha.7+0ce6ecca0",
158
+ "@turf/line-overlap": "^7.1.0-alpha.7+0ce6ecca0",
159
+ "@turf/line-segment": "^7.1.0-alpha.7+0ce6ecca0",
160
+ "@turf/line-slice": "^7.1.0-alpha.7+0ce6ecca0",
161
+ "@turf/line-slice-along": "^7.1.0-alpha.7+0ce6ecca0",
162
+ "@turf/line-split": "^7.1.0-alpha.7+0ce6ecca0",
163
+ "@turf/line-to-polygon": "^7.1.0-alpha.7+0ce6ecca0",
164
+ "@turf/mask": "^7.1.0-alpha.7+0ce6ecca0",
165
+ "@turf/meta": "^7.1.0-alpha.7+0ce6ecca0",
166
+ "@turf/midpoint": "^7.1.0-alpha.7+0ce6ecca0",
167
+ "@turf/moran-index": "^7.1.0-alpha.7+0ce6ecca0",
168
+ "@turf/nearest-neighbor-analysis": "^7.1.0-alpha.7+0ce6ecca0",
169
+ "@turf/nearest-point": "^7.1.0-alpha.7+0ce6ecca0",
170
+ "@turf/nearest-point-on-line": "^7.1.0-alpha.7+0ce6ecca0",
171
+ "@turf/nearest-point-to-line": "^7.1.0-alpha.7+0ce6ecca0",
172
+ "@turf/planepoint": "^7.1.0-alpha.7+0ce6ecca0",
173
+ "@turf/point-grid": "^7.1.0-alpha.7+0ce6ecca0",
174
+ "@turf/point-on-feature": "^7.1.0-alpha.7+0ce6ecca0",
175
+ "@turf/point-to-line-distance": "^7.1.0-alpha.7+0ce6ecca0",
176
+ "@turf/points-within-polygon": "^7.1.0-alpha.7+0ce6ecca0",
177
+ "@turf/polygon-smooth": "^7.1.0-alpha.7+0ce6ecca0",
178
+ "@turf/polygon-tangents": "^7.1.0-alpha.7+0ce6ecca0",
179
+ "@turf/polygon-to-line": "^7.1.0-alpha.7+0ce6ecca0",
180
+ "@turf/polygonize": "^7.1.0-alpha.7+0ce6ecca0",
181
+ "@turf/projection": "^7.1.0-alpha.7+0ce6ecca0",
182
+ "@turf/quadrat-analysis": "^7.1.0-alpha.7+0ce6ecca0",
183
+ "@turf/random": "^7.1.0-alpha.7+0ce6ecca0",
184
+ "@turf/rectangle-grid": "^7.1.0-alpha.7+0ce6ecca0",
185
+ "@turf/rewind": "^7.1.0-alpha.7+0ce6ecca0",
186
+ "@turf/rhumb-bearing": "^7.1.0-alpha.7+0ce6ecca0",
187
+ "@turf/rhumb-destination": "^7.1.0-alpha.7+0ce6ecca0",
188
+ "@turf/rhumb-distance": "^7.1.0-alpha.7+0ce6ecca0",
189
+ "@turf/sample": "^7.1.0-alpha.7+0ce6ecca0",
190
+ "@turf/sector": "^7.1.0-alpha.7+0ce6ecca0",
191
+ "@turf/shortest-path": "^7.1.0-alpha.7+0ce6ecca0",
192
+ "@turf/simplify": "^7.1.0-alpha.7+0ce6ecca0",
193
+ "@turf/square": "^7.1.0-alpha.7+0ce6ecca0",
194
+ "@turf/square-grid": "^7.1.0-alpha.7+0ce6ecca0",
195
+ "@turf/standard-deviational-ellipse": "^7.1.0-alpha.7+0ce6ecca0",
196
+ "@turf/tag": "^7.1.0-alpha.7+0ce6ecca0",
197
+ "@turf/tesselate": "^7.1.0-alpha.7+0ce6ecca0",
198
+ "@turf/tin": "^7.1.0-alpha.7+0ce6ecca0",
199
+ "@turf/transform-rotate": "^7.1.0-alpha.7+0ce6ecca0",
200
+ "@turf/transform-scale": "^7.1.0-alpha.7+0ce6ecca0",
201
+ "@turf/transform-translate": "^7.1.0-alpha.7+0ce6ecca0",
202
+ "@turf/triangle-grid": "^7.1.0-alpha.7+0ce6ecca0",
203
+ "@turf/truncate": "^7.1.0-alpha.7+0ce6ecca0",
204
+ "@turf/union": "^7.1.0-alpha.7+0ce6ecca0",
205
+ "@turf/unkink-polygon": "^7.1.0-alpha.7+0ce6ecca0",
206
+ "@turf/voronoi": "^7.1.0-alpha.7+0ce6ecca0",
207
+ "tslib": "^2.6.2"
192
208
  },
193
- "gitHead": "dd35b52725945b4fa29a98d9a550733e06cc222e"
209
+ "gitHead": "0ce6ecca05829690270fec6d6bed2003495fe0ea"
194
210
  }