This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [@turf/area](https://github.com/Turfjs/turf) | dependencies | major | [`^6.5.0` -> `^7.0.0`](https://renovatebot.com/diffs/npm/@turf%2farea/6.5.0/7.0.0) |
---
### Release Notes
<details>
<summary>Turfjs/turf (@​turf/area)</summary>
### [`v7.0.0`](https://github.com/Turfjs/turf/blob/HEAD/CHANGELOG.md#700)
[Compare Source](https://github.com/Turfjs/turf/compare/v6.5.0...v7.0.0)
#### ⚠️ Breaking
- Move to [@​types/geojson](https://github.com/types/geojson) package instead of declaring our own. Typescript consumers of Turf will need to import from [@​types/geojson](https://github.com/types/geojson). ([#​2158](https://github.com/Turfjs/turf/issues/2158))
- Move distribution JS to target ES2017 ([#​2237](https://github.com/Turfjs/turf/issues/2237))
- Please change to using named exports instead of default exports from the various packages
- [`@turf/helpers`](helpers) Correct the conversion factor for degrees ([#​2177](https://github.com/Turfjs/turf/issues/2177))
- [`@turf/helpers`](helpers) polygon() will now throw if the first and last coordinates are not the same ([#​2173](https://github.com/Turfjs/turf/issues/2173))
- [`@turf/helpers`](helpers) Separate AreaUnits into its own type ([#​2393](https://github.com/Turfjs/turf/issues/2393))
- [`@turf/area`](area) Fix earth radius to use WGS84 median earth radius ([#​2166](https://github.com/Turfjs/turf/issues/2166))
- [`@turf/turf`](turf) Remove re-exports for turf 4.x compatability ([#​2183](https://github.com/Turfjs/turf/issues/2183))
- [`@turf/rectangle-grid`](rectangle-grid) Fix correctness for large areas ([#​2106](https://github.com/Turfjs/turf/issues/2106))
- [\`@turf/square-grid](square-grid) Fix correctness for large areas ([#​2106](https://github.com/Turfjs/turf/issues/2106))
- [`@turf/union`](union) Accept FeatureCollection for multiple inputs ([#​2247](https://github.com/Turfjs/turf/issues/2247))
- [`@turf/difference`](difference) Accept FeatureCollection for multiple inputs ([#​2247](https://github.com/Turfjs/turf/issues/2247))
- [`@turf/intersect`](intersect) Accept FeatureCollection for multiple inputs ([#​2247](https://github.com/Turfjs/turf/issues/2247))
- [`@turf/buffer`](buffer) Add undefined return for when the geometry is invalid ([#​2613](https://github.com/Turfjs/turf/issues/2613))
#### 🏅 New Features/Enhancements
- [`@turf/kinks`](kinks) Move to sweepline-intersections library for performance ([#​1896](https://github.com/Turfjs/turf/issues/1896))
- [\`@turf/buffer](buffer) Reduce bundle size by moving from turf-jsts to [@​turf/jsts](https://github.com/turf/jsts) ([#​2217](https://github.com/Turfjs/turf/issues/2217))
- [`@turf/boolean-equal`](boolean-equal) Add option for precision ([#​2231](https://github.com/Turfjs/turf/issues/2231))
- [`@turf/boolean-point-in-polygon`](boolean-point-in-polygon) Move to point-in-polygon-hao library for performance and correctness ([#​1893](https://github.com/Turfjs/turf/issues/1893))
- \[`@turf/line-intersect`]\[line-intersect] Move to sweepline-intersections library for performance ([#​2033](https://github.com/Turfjs/turf/issues/2033))
- [`@turf/boolean-contains`](boolean-contains) Add multipolygon support ([#​2338](https://github.com/Turfjs/turf/issues/2338))
- [`@turf/nearest-point`](nearest-point) Add unit option ([#​2415](https://github.com/Turfjs/turf/issues/2415))
- [`@turf/voronoi`](voronoi) Retain properties from points ([#​1450](https://github.com/Turfjs/turf/issues/1450))
#### 🐛 Bug Fixes
- [`@turf/polygon-smooth`](polygon-smooth) Options argument is now actually optional ([#​2149](https://github.com/Turfjs/turf/issues/2149))
- [`@turf/polygon-smooth`](polygon-smooth) Fix crashes with polygons containing multiple holes ([#​2323](https://github.com/Turfjs/turf/issues/2323))
- [`@turf/line-arc`](line-arc) Ensure all points are generated when the first and last points are the same ([#​2142](https://github.com/Turfjs/turf/issues/2142))
- [`@turf/clone`](clone) Fix cloning of features with null geometries ([#​2316](https://github.com/Turfjs/turf/issues/2316))
- [`@turf/dissolve`](dissolve) Now correctly depends on [@​turf/flatten](https://github.com/turf/flatten) ([#​2345](https://github.com/Turfjs/turf/issues/2345))
- [`@turf/clean-coords`](clean-coords) Allow 3 coordinate closed LineStrings ([#​2178](https://github.com/Turfjs/turf/issues/2178))
- [`@turf/helpers`](helpers) Add alternate spellings for Units: millimetres, centimetres, metres, kilometres ([#​2168](https://github.com/Turfjs/turf/issues/2168))
- [`@turf/ellipse`](ellipse) Add pivot and angle options to typescript ([#​2174](https://github.com/Turfjs/turf/issues/2174))
- [`@turf/quadrat-analysis`](quadrat-analysis) Fix test flake ([#​2182](https://github.com/Turfjs/turf/issues/2182))
- [`@turf/bbox`](bbox) Use input bbox instead of computing it ([#​2171](https://github.com/Turfjs/turf/issues/2171))
- [`@turf/transform-scale`](transform-scale) Removes invalid bbox when scaling ([#​2171](https://github.com/Turfjs/turf/issues/2171))
- [`@turf/invariant`](invariant) getCoord now shallow clones its result to prevent accidental mutations ([#​2167](https://github.com/Turfjs/turf/issues/2167))
- [`@turf/line-overlap`](line-overlap) Identify multiple overlaps on a single segment ([#​2134](https://github.com/Turfjs/turf/issues/2134))
- [`@turf/transform-scale`](transform-scale) Fix factor to allow only numbers >= 0 ([#​2169](https://github.com/Turfjs/turf/issues/2169))
- [`@turf/voronoi`](voronoi) Make options optional ([#​2195](https://github.com/Turfjs/turf/issues/2195))
- [`@turf/boolean-within`](boolean-within) Fix multipoint checks ([#​2216](https://github.com/Turfjs/turf/issues/2216))
- [`@turf/points-within-polygon`](points-within-polygon) Fix dropped properties on MultiPoint results ([#​2227](https://github.com/Turfjs/turf/issues/2227))
- [`@turf/random`](random) Throws error on invalid bbox inputs ([#​2172](https://github.com/Turfjs/turf/issues/2172))
- [`@turf/boolean-parallel`](boolean-parallel) Lines with 180 degree angle between them are also considered parallel ([#​2475](https://github.com/Turfjs/turf/issues/2475))
- [`@turf/unkink-polygon`](unkink-polygon) Fix a maximum call stack size exceeded error with very large polygons ([#​2504](https://github.com/Turfjs/turf/issues/2504))
- [`@turf/line-arc`](line-arc) Number of arc segments generated wasn't related to steps value passed in ([#​2524](https://github.com/Turfjs/turf/issues/2524))
- [`@turf/boolean-equal`](boolean-equal) Replace geojson-equality with new implementation ([#​2531](https://github.com/Turfjs/turf/issues/2531))
- [`@turf/boolean-overlap`](boolean-overlap) Replace geojson-equality with new implementation ([#​2531](https://github.com/Turfjs/turf/issues/2531))
- [`@turf/boolean-within`](boolean-within) Now correctly checks that the final point is contained ([#​2599](https://github.com/Turfjs/turf/issues/2599))
#### 📖 Documentation
- \[`@turf/bbox`]\[bbox] Improve documentation ([#​2153](https://github.com/Turfjs/turf/issues/2153))
- \[`@turf/great-circle`]\[great-circle] Add license for arc.js ([#​2175](https://github.com/Turfjs/turf/issues/2175))
- [`@turf/boolean-crosses`](boolean-crosses) Document OpenGIS Simple Feature Spec requirement ([#​2184](https://github.com/Turfjs/turf/issues/2184))
- [`@turf/turf-clone`](clone) Now has more useful Typescript inference ([#​2239](https://github.com/Turfjs/turf/issues/2239))
- [`@turf/centroid`](centroid) Improve docs ([#​2213](https://github.com/Turfjs/turf/issues/2213))
- [`@turf/buffer`](buffer) Clean up Typescript types ([#​2188](https://github.com/Turfjs/turf/issues/2188))
- [`@turf/polygon-smooth`](polygon-smooth) Clean up a typo ([#​2293](https://github.com/Turfjs/turf/issues/2293))
- [`@turf/nearest-point-on-line`](nearest-point-on-line) Clean up typescript types ([#​2296](https://github.com/Turfjs/turf/issues/2296))
- [`@turf/boolean-touches`](boolean-touches) Add boolean-touches to docs ([#​2431](https://github.com/Turfjs/turf/issues/2431))
- [`@turf/boolean-equals`](boolean-equals) Improve docs ([#​2412](https://github.com/Turfjs/turf/issues/2412))
- Remove Bower references ([#​2146](https://github.com/Turfjs/turf/issues/2146))
- Fix typo in README ([#​2313](https://github.com/Turfjs/turf/issues/2313))
- Lots of cleanup for CONTRIBUTING, README, and RELEASING ([#​2186](https://github.com/Turfjs/turf/issues/2186))
- Fix docs generation ([#​2279](https://github.com/Turfjs/turf/issues/2279))
- Add a link to turf_dart ([#​2286](https://github.com/Turfjs/turf/issues/2286))
#### 🔔 Misc
- [\`@turf/turf](turf) Add booleanIntersects typescript export ([#​2157](https://github.com/Turfjs/turf/issues/2157))
- [\`@turf/turf](turf) Add booleanTouches export ([#​2170](https://github.com/Turfjs/turf/issues/2170))
- [\`@turf/turf](turf) Add booleanConcave export ([#​2265](https://github.com/Turfjs/turf/issues/2265))
- [`@turf/simplify`](simplify) Clean up internals for less object churn ([#​2561](https://github.com/Turfjs/turf/issues/2561))
- [\`@turf/helpers](helpers) Make isObject a little more accurate ([#​2176](https://github.com/Turfjs/turf/issues/2176))
- Migrate from geojsonhint to [@​placemark/check-geojson](https://github.com/placemark/check-geojson) ([#​2571](https://github.com/Turfjs/turf/issues/2571))
- Add custom types entry point to exports, required by Typescript for node16, nodenext and bundler module resolution strategies ([#​2400](https://github.com/Turfjs/turf/issues/2400), [#​2452](https://github.com/Turfjs/turf/issues/2452))
- types.ts tests are now run in strict mode ([#​2363](https://github.com/Turfjs/turf/issues/2363))
- Uses tslib now for smaller bundles ([#​2165](https://github.com/Turfjs/turf/issues/2165))
- Remove object-assign dependency from all packages ([#​2241](https://github.com/Turfjs/turf/issues/2241))
- Lots of dependencies have been upgraded
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "every weekday,every weekend" (UTC), Automerge - "every weekend" (UTC).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
^6.5.0->^7.0.0Release Notes
Turfjs/turf (@turf/area)
v7.0.0Compare Source
⚠️ Breaking
@turf/helpersCorrect the conversion factor for degrees (#2177)@turf/helperspolygon() will now throw if the first and last coordinates are not the same (#2173)@turf/helpersSeparate AreaUnits into its own type (#2393)@turf/areaFix earth radius to use WGS84 median earth radius (#2166)@turf/turfRemove re-exports for turf 4.x compatability (#2183)@turf/rectangle-gridFix correctness for large areas (#2106)@turf/unionAccept FeatureCollection for multiple inputs (#2247)@turf/differenceAccept FeatureCollection for multiple inputs (#2247)@turf/intersectAccept FeatureCollection for multiple inputs (#2247)@turf/bufferAdd undefined return for when the geometry is invalid (#2613)🏅 New Features/Enhancements
@turf/kinksMove to sweepline-intersections library for performance (#1896)@turf/boolean-equalAdd option for precision (#2231)@turf/boolean-point-in-polygonMove to point-in-polygon-hao library for performance and correctness (#1893)@turf/line-intersect][line-intersect] Move to sweepline-intersections library for performance (#2033)@turf/boolean-containsAdd multipolygon support (#2338)@turf/nearest-pointAdd unit option (#2415)@turf/voronoiRetain properties from points (#1450)🐛 Bug Fixes
@turf/polygon-smoothOptions argument is now actually optional (#2149)@turf/polygon-smoothFix crashes with polygons containing multiple holes (#2323)@turf/line-arcEnsure all points are generated when the first and last points are the same (#2142)@turf/cloneFix cloning of features with null geometries (#2316)@turf/dissolveNow correctly depends on @turf/flatten (#2345)@turf/clean-coordsAllow 3 coordinate closed LineStrings (#2178)@turf/helpersAdd alternate spellings for Units: millimetres, centimetres, metres, kilometres (#2168)@turf/ellipseAdd pivot and angle options to typescript (#2174)@turf/quadrat-analysisFix test flake (#2182)@turf/bboxUse input bbox instead of computing it (#2171)@turf/transform-scaleRemoves invalid bbox when scaling (#2171)@turf/invariantgetCoord now shallow clones its result to prevent accidental mutations (#2167)@turf/line-overlapIdentify multiple overlaps on a single segment (#2134)@turf/transform-scaleFix factor to allow only numbers >= 0 (#2169)@turf/voronoiMake options optional (#2195)@turf/boolean-withinFix multipoint checks (#2216)@turf/points-within-polygonFix dropped properties on MultiPoint results (#2227)@turf/randomThrows error on invalid bbox inputs (#2172)@turf/boolean-parallelLines with 180 degree angle between them are also considered parallel (#2475)@turf/unkink-polygonFix a maximum call stack size exceeded error with very large polygons (#2504)@turf/line-arcNumber of arc segments generated wasn't related to steps value passed in (#2524)@turf/boolean-equalReplace geojson-equality with new implementation (#2531)@turf/boolean-overlapReplace geojson-equality with new implementation (#2531)@turf/boolean-withinNow correctly checks that the final point is contained (#2599)📖 Documentation
[
@turf/bbox][bbox] Improve documentation (#2153)[
@turf/great-circle][great-circle] Add license for arc.js (#2175)@turf/boolean-crossesDocument OpenGIS Simple Feature Spec requirement (#2184)@turf/turf-cloneNow has more useful Typescript inference (#2239)@turf/centroidImprove docs (#2213)@turf/bufferClean up Typescript types (#2188)@turf/polygon-smoothClean up a typo (#2293)@turf/nearest-point-on-lineClean up typescript types (#2296)@turf/boolean-touchesAdd boolean-touches to docs (#2431)@turf/boolean-equalsImprove docs (#2412)Remove Bower references (#2146)
Fix typo in README (#2313)
Lots of cleanup for CONTRIBUTING, README, and RELEASING (#2186)
Fix docs generation (#2279)
Add a link to turf_dart (#2286)
🔔 Misc
@turf/simplifyClean up internals for less object churn (#2561)Configuration
📅 Schedule: Branch creation - "every weekday,every weekend" (UTC), Automerge - "every weekend" (UTC).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.