Update dependency @turf/area to v7 #91

Merged
bot merged 1 commits from renovate/turf-area-7.x into main 2024-06-09 09:17:25 +02:00
Member

This PR contains the following updates:

Package Type Update Change
@turf/area dependencies major ^6.5.0 -> ^7.0.0

Release Notes

Turfjs/turf (@​turf/area)

v7.0.0

Compare Source

⚠️ Breaking

🏅 New Features/Enhancements

🐛 Bug Fixes

📖 Documentation

🔔 Misc


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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

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 (@&#8203;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 [@&#8203;types/geojson](https://github.com/types/geojson) package instead of declaring our own. Typescript consumers of Turf will need to import from [@&#8203;types/geojson](https://github.com/types/geojson). ([#&#8203;2158](https://github.com/Turfjs/turf/issues/2158)) - Move distribution JS to target ES2017 ([#&#8203;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 ([#&#8203;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 ([#&#8203;2173](https://github.com/Turfjs/turf/issues/2173)) - [`@turf/helpers`](helpers) Separate AreaUnits into its own type ([#&#8203;2393](https://github.com/Turfjs/turf/issues/2393)) - [`@turf/area`](area) Fix earth radius to use WGS84 median earth radius ([#&#8203;2166](https://github.com/Turfjs/turf/issues/2166)) - [`@turf/turf`](turf) Remove re-exports for turf 4.x compatability ([#&#8203;2183](https://github.com/Turfjs/turf/issues/2183)) - [`@turf/rectangle-grid`](rectangle-grid) Fix correctness for large areas ([#&#8203;2106](https://github.com/Turfjs/turf/issues/2106)) - [\`@turf/square-grid](square-grid) Fix correctness for large areas ([#&#8203;2106](https://github.com/Turfjs/turf/issues/2106)) - [`@turf/union`](union) Accept FeatureCollection for multiple inputs ([#&#8203;2247](https://github.com/Turfjs/turf/issues/2247)) - [`@turf/difference`](difference) Accept FeatureCollection for multiple inputs ([#&#8203;2247](https://github.com/Turfjs/turf/issues/2247)) - [`@turf/intersect`](intersect) Accept FeatureCollection for multiple inputs ([#&#8203;2247](https://github.com/Turfjs/turf/issues/2247)) - [`@turf/buffer`](buffer) Add undefined return for when the geometry is invalid ([#&#8203;2613](https://github.com/Turfjs/turf/issues/2613)) #### 🏅 New Features/Enhancements - [`@turf/kinks`](kinks) Move to sweepline-intersections library for performance ([#&#8203;1896](https://github.com/Turfjs/turf/issues/1896)) - [\`@turf/buffer](buffer) Reduce bundle size by moving from turf-jsts to [@&#8203;turf/jsts](https://github.com/turf/jsts) ([#&#8203;2217](https://github.com/Turfjs/turf/issues/2217)) - [`@turf/boolean-equal`](boolean-equal) Add option for precision ([#&#8203;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 ([#&#8203;1893](https://github.com/Turfjs/turf/issues/1893)) - \[`@turf/line-intersect`]\[line-intersect] Move to sweepline-intersections library for performance ([#&#8203;2033](https://github.com/Turfjs/turf/issues/2033)) - [`@turf/boolean-contains`](boolean-contains) Add multipolygon support ([#&#8203;2338](https://github.com/Turfjs/turf/issues/2338)) - [`@turf/nearest-point`](nearest-point) Add unit option ([#&#8203;2415](https://github.com/Turfjs/turf/issues/2415)) - [`@turf/voronoi`](voronoi) Retain properties from points ([#&#8203;1450](https://github.com/Turfjs/turf/issues/1450)) #### 🐛 Bug Fixes - [`@turf/polygon-smooth`](polygon-smooth) Options argument is now actually optional ([#&#8203;2149](https://github.com/Turfjs/turf/issues/2149)) - [`@turf/polygon-smooth`](polygon-smooth) Fix crashes with polygons containing multiple holes ([#&#8203;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 ([#&#8203;2142](https://github.com/Turfjs/turf/issues/2142)) - [`@turf/clone`](clone) Fix cloning of features with null geometries ([#&#8203;2316](https://github.com/Turfjs/turf/issues/2316)) - [`@turf/dissolve`](dissolve) Now correctly depends on [@&#8203;turf/flatten](https://github.com/turf/flatten) ([#&#8203;2345](https://github.com/Turfjs/turf/issues/2345)) - [`@turf/clean-coords`](clean-coords) Allow 3 coordinate closed LineStrings ([#&#8203;2178](https://github.com/Turfjs/turf/issues/2178)) - [`@turf/helpers`](helpers) Add alternate spellings for Units: millimetres, centimetres, metres, kilometres ([#&#8203;2168](https://github.com/Turfjs/turf/issues/2168)) - [`@turf/ellipse`](ellipse) Add pivot and angle options to typescript ([#&#8203;2174](https://github.com/Turfjs/turf/issues/2174)) - [`@turf/quadrat-analysis`](quadrat-analysis) Fix test flake ([#&#8203;2182](https://github.com/Turfjs/turf/issues/2182)) - [`@turf/bbox`](bbox) Use input bbox instead of computing it ([#&#8203;2171](https://github.com/Turfjs/turf/issues/2171)) - [`@turf/transform-scale`](transform-scale) Removes invalid bbox when scaling ([#&#8203;2171](https://github.com/Turfjs/turf/issues/2171)) - [`@turf/invariant`](invariant) getCoord now shallow clones its result to prevent accidental mutations ([#&#8203;2167](https://github.com/Turfjs/turf/issues/2167)) - [`@turf/line-overlap`](line-overlap) Identify multiple overlaps on a single segment ([#&#8203;2134](https://github.com/Turfjs/turf/issues/2134)) - [`@turf/transform-scale`](transform-scale) Fix factor to allow only numbers >= 0 ([#&#8203;2169](https://github.com/Turfjs/turf/issues/2169)) - [`@turf/voronoi`](voronoi) Make options optional ([#&#8203;2195](https://github.com/Turfjs/turf/issues/2195)) - [`@turf/boolean-within`](boolean-within) Fix multipoint checks ([#&#8203;2216](https://github.com/Turfjs/turf/issues/2216)) - [`@turf/points-within-polygon`](points-within-polygon) Fix dropped properties on MultiPoint results ([#&#8203;2227](https://github.com/Turfjs/turf/issues/2227)) - [`@turf/random`](random) Throws error on invalid bbox inputs ([#&#8203;2172](https://github.com/Turfjs/turf/issues/2172)) - [`@turf/boolean-parallel`](boolean-parallel) Lines with 180 degree angle between them are also considered parallel ([#&#8203;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 ([#&#8203;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 ([#&#8203;2524](https://github.com/Turfjs/turf/issues/2524)) - [`@turf/boolean-equal`](boolean-equal) Replace geojson-equality with new implementation ([#&#8203;2531](https://github.com/Turfjs/turf/issues/2531)) - [`@turf/boolean-overlap`](boolean-overlap) Replace geojson-equality with new implementation ([#&#8203;2531](https://github.com/Turfjs/turf/issues/2531)) - [`@turf/boolean-within`](boolean-within) Now correctly checks that the final point is contained ([#&#8203;2599](https://github.com/Turfjs/turf/issues/2599)) #### 📖 Documentation - \[`@turf/bbox`]\[bbox] Improve documentation ([#&#8203;2153](https://github.com/Turfjs/turf/issues/2153)) - \[`@turf/great-circle`]\[great-circle] Add license for arc.js ([#&#8203;2175](https://github.com/Turfjs/turf/issues/2175)) - [`@turf/boolean-crosses`](boolean-crosses) Document OpenGIS Simple Feature Spec requirement ([#&#8203;2184](https://github.com/Turfjs/turf/issues/2184)) - [`@turf/turf-clone`](clone) Now has more useful Typescript inference ([#&#8203;2239](https://github.com/Turfjs/turf/issues/2239)) - [`@turf/centroid`](centroid) Improve docs ([#&#8203;2213](https://github.com/Turfjs/turf/issues/2213)) - [`@turf/buffer`](buffer) Clean up Typescript types ([#&#8203;2188](https://github.com/Turfjs/turf/issues/2188)) - [`@turf/polygon-smooth`](polygon-smooth) Clean up a typo ([#&#8203;2293](https://github.com/Turfjs/turf/issues/2293)) - [`@turf/nearest-point-on-line`](nearest-point-on-line) Clean up typescript types ([#&#8203;2296](https://github.com/Turfjs/turf/issues/2296)) - [`@turf/boolean-touches`](boolean-touches) Add boolean-touches to docs ([#&#8203;2431](https://github.com/Turfjs/turf/issues/2431)) - [`@turf/boolean-equals`](boolean-equals) Improve docs ([#&#8203;2412](https://github.com/Turfjs/turf/issues/2412)) - Remove Bower references ([#&#8203;2146](https://github.com/Turfjs/turf/issues/2146)) - Fix typo in README ([#&#8203;2313](https://github.com/Turfjs/turf/issues/2313)) - Lots of cleanup for CONTRIBUTING, README, and RELEASING ([#&#8203;2186](https://github.com/Turfjs/turf/issues/2186)) - Fix docs generation ([#&#8203;2279](https://github.com/Turfjs/turf/issues/2279)) - Add a link to turf_dart ([#&#8203;2286](https://github.com/Turfjs/turf/issues/2286)) #### 🔔 Misc - [\`@turf/turf](turf) Add booleanIntersects typescript export ([#&#8203;2157](https://github.com/Turfjs/turf/issues/2157)) - [\`@turf/turf](turf) Add booleanTouches export ([#&#8203;2170](https://github.com/Turfjs/turf/issues/2170)) - [\`@turf/turf](turf) Add booleanConcave export ([#&#8203;2265](https://github.com/Turfjs/turf/issues/2265)) - [`@turf/simplify`](simplify) Clean up internals for less object churn ([#&#8203;2561](https://github.com/Turfjs/turf/issues/2561)) - [\`@turf/helpers](helpers) Make isObject a little more accurate ([#&#8203;2176](https://github.com/Turfjs/turf/issues/2176)) - Migrate from geojsonhint to [@&#8203;placemark/check-geojson](https://github.com/placemark/check-geojson) ([#&#8203;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 ([#&#8203;2400](https://github.com/Turfjs/turf/issues/2400), [#&#8203;2452](https://github.com/Turfjs/turf/issues/2452)) - types.ts tests are now run in strict mode ([#&#8203;2363](https://github.com/Turfjs/turf/issues/2363)) - Uses tslib now for smaller bundles ([#&#8203;2165](https://github.com/Turfjs/turf/issues/2165)) - Remove object-assign dependency from all packages ([#&#8203;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==-->
bot added 1 commit 2024-06-09 09:17:22 +02:00
bot scheduled this pull request to auto merge when all checks succeed 2024-06-09 09:17:23 +02:00
bot merged commit bad189507d into main 2024-06-09 09:17:25 +02:00
Sign in to join this conversation.
No Reviewers
No Label
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: helcel/beans#91
No description provided.