Update dependency @turf/centroid to v7 #161
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Note
Mend has cancelled the proposed renaming of the Renovate GitHub app being renamed to
mend[bot]
.This notice will be removed on 2025-10-07.
This PR contains the following updates:
^6.5.0
->^7.0.0
Release Notes
Turfjs/turf (@turf/centroid)
v7.2.0
Compare Source
What's Changed
Fixes to regressions and significant pain points:
line-intersect
by @pm0u in #2742boolean-disjoint
by @pm0u in #2772boolean-intersects
by @pm0u in #2773Bug fixes and new functionality:
Housekeeping and behind the scenes changes:
New Contributors
Full Changelog: Turfjs/turf@v7.1.0...v7.2.0
v7.1.0
Compare Source
What's Changed
@turf/distance
Simplify unnecessary union type in turfDistance by @isti115 in #2618@turf/helpers
Reduce bundle size of apps that import @turf/helpers by @smallsaucepan in #2623@turf/line-overlap
change deep-equals dependency for smaller bundle size by @mfedderly in #2631@turf/mask
Converted turf-mask to Typescript and added support for geometry parameters by @smallsaucepan in #2644@turf/midpoint
Converted turf-midpoint to Typescript by @smallsaucepan in #2645@turf/planepoint
Converted turf-planepoint to Typescript by @smallsaucepan in #2646@turf/square
Converted turf-square to Typescript by @smallsaucepan in #2648@turf/standard-deviational-ellipse
Converted turf-standard-deviational-ellipse to Typescript by @smallsaucepan in #2649@turf/tesselate
Converted turf-tesselate to Typescript by @smallsaucepan in #2650@turf/transform-rotate
Converted turf-transform-rotate to Typescript by @smallsaucepan in #2651@turf/transform-scale
Converted turf-transform-scale to Typescript by @smallsaucepan in #2652@turf/transform-translate
Converted turf-transform-translate to Typescript by @smallsaucepan in #2653@turf/unkink-polygon
Converted turf-unkink-polygon to Typescript by @smallsaucepan in #2654@turf/voronoi
Converted turf-voronoi to Typescript by @smallsaucepan in #2655@turf/boolean-intersects
Fix boolean-intersects docs by @izzybps in #2593@turf/area
: bug fix: off-by-one bug in area calculation by @Abdumbo99 in #2665@turf/isobands
@turf/isolines
Remove unused matrix-to-grid dependency by @mfedderly in #2669@turf/random
fix randomPolygon generating polygons outside of the givenbbox
by @nnmrts in #2659@turf/boolean-intersects
@turf/booean-disjoint
Expose options parameter to ignore self intersections. by @01100100 in #2636@turf/boolean-valid
fix checkClosingRing to check for polygon being closed by @superDoss in #2563@turf/helpers
Implemented azimuthToBearing by @basvdijk in #2674@turf/nearest-point-on-line
include index of MultiLineString geometries in nearest-point-on-line by @andrewharvey in #2574@turf/point-to-line-distance
Fix two small typos by @mfedderly in #2675@turf/mask
Stop turf-mask mutating by default, make it an option by @farkmarnum in #2635@turf/mask
Fix @turf/mask benchmarks to exclude test fixtures that are not usable by @mfedderly in #2692@turf/kinks
Revert @turf/kinks to 6.5.0 version by @mfedderly in #2693@turf/cluster-dbscan
Update cluster-dbscan docs by @mwenko in #2624@turf/*-grid
@turf/area
@turf/helpers
Clarify behavior of some existing turf modules by @twelch in #2683New Contributors
Full Changelog: Turfjs/turf@v7.0.0...v7.1.0
v7.0.0
Compare Source
@turf/helpers
Correct the conversion factor for degrees (#2177)@turf/helpers
polygon() will now throw if the first and last coordinates are not the same (#2173)@turf/helpers
Separate AreaUnits into its own type (#2393)@turf/area
Fix earth radius to use WGS84 median earth radius (#2166)@turf/turf
Remove re-exports for turf 4.x compatability (#2183)@turf/rectangle-grid
Fix correctness for large areas (#2106)@turf/union
Accept FeatureCollection for multiple inputs (#2247)@turf/difference
Accept FeatureCollection for multiple inputs (#2247)@turf/intersect
Accept FeatureCollection for multiple inputs (#2247)@turf/buffer
Add undefined return for when the geometry is invalid (#2613)🏅 New Features/Enhancements
@turf/kinks
Move to sweepline-intersections library for performance (#1896)@turf/boolean-equal
Add option for precision (#2231)@turf/boolean-point-in-polygon
Move 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-contains
Add multipolygon support (#2338)@turf/nearest-point
Add unit option (#2415)@turf/voronoi
Retain properties from points (#1450)🐛 Bug Fixes
@turf/polygon-smooth
Options argument is now actually optional (#2149)@turf/polygon-smooth
Fix crashes with polygons containing multiple holes (#2323)@turf/line-arc
Ensure all points are generated when the first and last points are the same (#2142)@turf/clone
Fix cloning of features with null geometries (#2316)@turf/dissolve
Now correctly depends on @turf/flatten (#2345)@turf/clean-coords
Allow 3 coordinate closed LineStrings (#2178)@turf/helpers
Add alternate spellings for Units: millimetres, centimetres, metres, kilometres (#2168)@turf/ellipse
Add pivot and angle options to typescript (#2174)@turf/quadrat-analysis
Fix test flake (#2182)@turf/bbox
Use input bbox instead of computing it (#2171)@turf/transform-scale
Removes invalid bbox when scaling (#2171)@turf/invariant
getCoord now shallow clones its result to prevent accidental mutations (#2167)@turf/line-overlap
Identify multiple overlaps on a single segment (#2134)@turf/transform-scale
Fix factor to allow only numbers >= 0 (#2169)@turf/voronoi
Make options optional (#2195)@turf/boolean-within
Fix multipoint checks (#2216)@turf/points-within-polygon
Fix dropped properties on MultiPoint results (#2227)@turf/random
Throws error on invalid bbox inputs (#2172)@turf/boolean-parallel
Lines with 180 degree angle between them are also considered parallel (#2475)@turf/unkink-polygon
Fix a maximum call stack size exceeded error with very large polygons (#2504)@turf/line-arc
Number of arc segments generated wasn't related to steps value passed in (#2524)@turf/boolean-equal
Replace geojson-equality with new implementation (#2531)@turf/boolean-overlap
Replace geojson-equality with new implementation (#2531)@turf/boolean-within
Now 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-crosses
Document OpenGIS Simple Feature Spec requirement (#2184)@turf/turf-clone
Now has more useful Typescript inference (#2239)@turf/centroid
Improve docs (#2213)@turf/buffer
Clean up Typescript types (#2188)@turf/polygon-smooth
Clean up a typo (#2293)@turf/nearest-point-on-line
Clean up typescript types (#2296)@turf/boolean-touches
Add boolean-touches to docs (#2431)@turf/boolean-equal
Improve 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/simplify
Clean up internals for less object churn (#2561)Configuration
📅 Schedule: Branch creation - "before 7am every weekday" in timezone Europe/Brussels, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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 was generated by Mend Renovate. View the repository job log.