Update dependency @turf/center-of-mass to v7 #106
Merged
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.
This PR contains the following updates:
^6.5.0
->^7.0.0
Release Notes
Turfjs/turf (@turf/center-of-mass)
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-equals
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 - At any time (no schedule defined), 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 has been generated by Mend Renovate. View repository job log here.