Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: bump @turf/simplify from 6.5.0 to 7.0.0 in /typescript (equinor#…
…2144) Bumps [@turf/simplify](https://github.com/Turfjs/turf) from 6.5.0 to 7.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Turfjs/turf/releases"><code>@turf/simplify</code>'s releases</a>.</em></p> <blockquote> <h2>v7.0.0</h2> <p>See v7 <a href="https://github.com/Turfjs/turf/blob/master/CHANGELOG.md#700">CHANGELOG</a></p> <p>The docs website is being updated to support versioning. Please be patient.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Turfjs/turf/blob/master/CHANGELOG.md"><code>@turf/simplify</code>'s changelog</a>.</em></p> <blockquote> <h1>7.0.0</h1> <h2>⚠️ Breaking</h2> <ul> <li>Move to <code>@types/geojson</code> package instead of declaring our own. Typescript consumers of Turf will need to import from <code>@types/geojson</code>. (<a href="https://github.com/Turfjs/turf/issues/2158">#2158</a>)</li> <li>Move distribution JS to target ES2017 (<a href="https://github.com/Turfjs/turf/issues/2237">#2237</a>)</li> <li>Please change to using named exports instead of default exports from the various packages</li> <li><a href="https://github.com/Turfjs/turf/blob/master/helpers"><code>@turf/https://github.com/Turfjs/turf/blob/master/helpers</code></a> Correct the conversion factor for degrees (<a href="https://github.com/Turfjs/turf/issues/2177">#2177</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/helpers"><code>@turf/https://github.com/Turfjs/turf/blob/master/helpers</code></a> polygon() will now throw if the first and last coordinates are not the same (<a href="https://github.com/Turfjs/turf/issues/2173">#2173</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/helpers"><code>@turf/https://github.com/Turfjs/turf/blob/master/helpers</code></a> Separate AreaUnits into its own type (<a href="https://github.com/Turfjs/turf/issues/2393">#2393</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/area"><code>@turf/https://github.com/Turfjs/turf/blob/master/area</code></a> Fix earth radius to use WGS84 median earth radius (<a href="https://github.com/Turfjs/turf/issues/2166">#2166</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/turf"><code>@https://github.com/Turfjs/turf/blob/master/turf/https://github.com/Turfjs/turf/blob/master/turf</code></a> Remove re-exports for turf 4.x compatability (<a href="https://github.com/Turfjs/turf/issues/2183">#2183</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/rectangle-grid"><code>@turf/https://github.com/Turfjs/turf/blob/master/rectangle-grid</code></a> Fix correctness for large areas (<a href="https://github.com/Turfjs/turf/issues/2106">#2106</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/square-grid">`@turf/https://github.com/Turfjs/turf/blob/master/square-grid</a> Fix correctness for large areas (<a href="https://github.com/Turfjs/turf/issues/2106">#2106</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/union"><code>@turf/https://github.com/Turfjs/turf/blob/master/union</code></a> Accept FeatureCollection for multiple inputs (<a href="https://github.com/Turfjs/turf/issues/2247">#2247</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/difference"><code>@turf/https://github.com/Turfjs/turf/blob/master/difference</code></a> Accept FeatureCollection for multiple inputs (<a href="https://github.com/Turfjs/turf/issues/2247">#2247</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/intersect"><code>@turf/https://github.com/Turfjs/turf/blob/master/intersect</code></a> Accept FeatureCollection for multiple inputs (<a href="https://github.com/Turfjs/turf/issues/2247">#2247</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/buffer"><code>@turf/https://github.com/Turfjs/turf/blob/master/buffer</code></a> Add undefined return for when the geometry is invalid (<a href="https://github.com/Turfjs/turf/issues/2613">#2613</a>)</li> </ul> <h2>🏅 New Features/Enhancements</h2> <ul> <li><a href="https://github.com/Turfjs/turf/blob/master/kinks"><code>@turf/https://github.com/Turfjs/turf/blob/master/kinks</code></a> Move to sweepline-intersections library for performance (<a href="https://github.com/Turfjs/turf/issues/1896">#1896</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/buffer">`@turf/https://github.com/Turfjs/turf/blob/master/buffer</a> Reduce bundle size by moving from turf-jsts to <code>@turf/jsts</code> (<a href="https://github.com/Turfjs/turf/issues/2217">#2217</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/boolean-equal"><code>@turf/https://github.com/Turfjs/turf/blob/master/boolean-equal</code></a> Add option for precision (<a href="https://github.com/Turfjs/turf/issues/2231">#2231</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/boolean-point-in-polygon"><code>@turf/https://github.com/Turfjs/turf/blob/master/boolean-point-in-polygon</code></a> Move to point-in-polygon-hao library for performance and correctness (<a href="https://github.com/Turfjs/turf/issues/1893">#1893</a>)</li> <li>[<code>@turf/line-intersect</code>][line-intersect] Move to sweepline-intersections library for performance (<a href="https://github.com/Turfjs/turf/issues/2033">#2033</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/boolean-contains"><code>@turf/https://github.com/Turfjs/turf/blob/master/boolean-contains</code></a> Add multipolygon support (<a href="https://github.com/Turfjs/turf/issues/2338">#2338</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/nearest-point"><code>@turf/https://github.com/Turfjs/turf/blob/master/nearest-point</code></a> Add unit option (<a href="https://github.com/Turfjs/turf/issues/2415">#2415</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/voronoi"><code>@turf/https://github.com/Turfjs/turf/blob/master/voronoi</code></a> Retain properties from points (<a href="https://github.com/Turfjs/turf/issues/1450">#1450</a>)</li> </ul> <h2>🐛 Bug Fixes</h2> <ul> <li><a href="https://github.com/Turfjs/turf/blob/master/polygon-smooth"><code>@turf/https://github.com/Turfjs/turf/blob/master/polygon-smooth</code></a> Options argument is now actually optional (<a href="https://github.com/Turfjs/turf/issues/2149">#2149</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/polygon-smooth"><code>@turf/https://github.com/Turfjs/turf/blob/master/polygon-smooth</code></a> Fix crashes with polygons containing multiple holes (<a href="https://github.com/Turfjs/turf/issues/2323">#2323</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/line-arc"><code>@turf/https://github.com/Turfjs/turf/blob/master/line-arc</code></a> Ensure all points are generated when the first and last points are the same (<a href="https://github.com/Turfjs/turf/issues/2142">#2142</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/clone"><code>@turf/https://github.com/Turfjs/turf/blob/master/clone</code></a> Fix cloning of features with null geometries (<a href="https://github.com/Turfjs/turf/issues/2316">#2316</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/dissolve"><code>@turf/https://github.com/Turfjs/turf/blob/master/dissolve</code></a> Now correctly depends on <code>@turf/flatten</code> (<a href="https://github.com/Turfjs/turf/issues/2345">#2345</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/clean-coords"><code>@turf/https://github.com/Turfjs/turf/blob/master/clean-coords</code></a> Allow 3 coordinate closed LineStrings (<a href="https://github.com/Turfjs/turf/issues/2178">#2178</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/helpers"><code>@turf/https://github.com/Turfjs/turf/blob/master/helpers</code></a> Add alternate spellings for Units: millimetres, centimetres, metres, kilometres (<a href="https://github.com/Turfjs/turf/issues/2168">#2168</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/ellipse"><code>@turf/https://github.com/Turfjs/turf/blob/master/ellipse</code></a> Add pivot and angle options to typescript (<a href="https://github.com/Turfjs/turf/issues/2174">#2174</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/quadrat-analysis"><code>@turf/https://github.com/Turfjs/turf/blob/master/quadrat-analysis</code></a> Fix test flake (<a href="https://github.com/Turfjs/turf/issues/2182">#2182</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/bbox"><code>@turf/https://github.com/Turfjs/turf/blob/master/bbox</code></a> Use input bbox instead of computing it (<a href="https://github.com/Turfjs/turf/issues/2171">#2171</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/transform-scale"><code>@turf/https://github.com/Turfjs/turf/blob/master/transform-scale</code></a> Removes invalid bbox when scaling (<a href="https://github.com/Turfjs/turf/issues/2171">#2171</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/invariant"><code>@turf/https://github.com/Turfjs/turf/blob/master/invariant</code></a> getCoord now shallow clones its result to prevent accidental mutations (<a href="https://github.com/Turfjs/turf/issues/2167">#2167</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/line-overlap"><code>@turf/https://github.com/Turfjs/turf/blob/master/line-overlap</code></a> Identify multiple overlaps on a single segment (<a href="https://github.com/Turfjs/turf/issues/2134">#2134</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/transform-scale"><code>@turf/https://github.com/Turfjs/turf/blob/master/transform-scale</code></a> Fix factor to allow only numbers >= 0 (<a href="https://github.com/Turfjs/turf/issues/2169">#2169</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/voronoi"><code>@turf/https://github.com/Turfjs/turf/blob/master/voronoi</code></a> Make options optional (<a href="https://github.com/Turfjs/turf/issues/2195">#2195</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/boolean-within"><code>@turf/https://github.com/Turfjs/turf/blob/master/boolean-within</code></a> Fix multipoint checks (<a href="https://github.com/Turfjs/turf/issues/2216">#2216</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/points-within-polygon"><code>@turf/https://github.com/Turfjs/turf/blob/master/points-within-polygon</code></a> Fix dropped properties on MultiPoint results (<a href="https://github.com/Turfjs/turf/issues/2227">#2227</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/random"><code>@turf/https://github.com/Turfjs/turf/blob/master/random</code></a> Throws error on invalid bbox inputs (<a href="https://github.com/Turfjs/turf/issues/2172">#2172</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/boolean-parallel"><code>@turf/https://github.com/Turfjs/turf/blob/master/boolean-parallel</code></a> Lines with 180 degree angle between them are also considered parallel (<a href="https://github.com/Turfjs/turf/issues/2475">#2475</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/unkink-polygon"><code>@turf/https://github.com/Turfjs/turf/blob/master/unkink-polygon</code></a> Fix a maximum call stack size exceeded error with very large polygons (<a href="https://github.com/Turfjs/turf/issues/2504">#2504</a>)</li> <li><a href="https://github.com/Turfjs/turf/blob/master/line-arc"><code>@turf/https://github.com/Turfjs/turf/blob/master/line-arc</code></a> Number of arc segments generated wasn't related to steps value passed in (<a href="https://github.com/Turfjs/turf/issues/2524">#2524</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Turfjs/turf/commit/3d3a7917025fbabe191dbddbc89754b86f9c7739"><code>3d3a791</code></a> v7.0.0</li> <li><a href="https://github.com/Turfjs/turf/commit/4862998d370c26f9c1639df78de5ef6edebacef7"><code>4862998</code></a> Fix <code>@turf/buffer</code> types to allow for undefined returns when the inputs result ...</li> <li><a href="https://github.com/Turfjs/turf/commit/09e9ebdfeef561ddfc67070064f6b8b72eedebd9"><code>09e9ebd</code></a> Update changelog for 7.0 release (<a href="https://github.com/Turfjs/turf/issues/2609">#2609</a>)</li> <li><a href="https://github.com/Turfjs/turf/commit/1f39da5355cc8d1224eea34e4014b3a49985e175"><code>1f39da5</code></a> Prep infra for v7 release (<a href="https://github.com/Turfjs/turf/issues/2607">#2607</a>)</li> <li><a href="https://github.com/Turfjs/turf/commit/ce335a03715dfef473fe4ca2f379fe43bae275bc"><code>ce335a0</code></a> Define inputs for nx (<a href="https://github.com/Turfjs/turf/issues/2603">#2603</a>)</li> <li><a href="https://github.com/Turfjs/turf/commit/c76e6e96eea2a08d55f670333a085535da5371ce"><code>c76e6e9</code></a> boolean-within check if line ends outside of poly (<a href="https://github.com/Turfjs/turf/issues/2599">#2599</a>)</li> <li><a href="https://github.com/Turfjs/turf/commit/e0bdd0add87f21a4430f8884736096d1ac6fe4cd"><code>e0bdd0a</code></a> Converting packages to type: module by default (<a href="https://github.com/Turfjs/turf/issues/2565">#2565</a>)</li> <li><a href="https://github.com/Turfjs/turf/commit/876702a454d5d085d6e1e54ae286c2b5bc08f584"><code>876702a</code></a> Update ISSUE_TEMPLATE.md (<a href="https://github.com/Turfjs/turf/issues/2576">#2576</a>)</li> <li><a href="https://github.com/Turfjs/turf/commit/251b645e42e926eb2791e38a6d3b2746e8505563"><code>251b645</code></a> Bump follow-redirects from 1.15.3 to 1.15.5 (<a href="https://github.com/Turfjs/turf/issues/2572">#2572</a>)</li> <li><a href="https://github.com/Turfjs/turf/commit/08576cb50376e0199aea02dbd887e3af83672246"><code>08576cb</code></a> Remove references to geojsonhint and geojson-fixtures (<a href="https://github.com/Turfjs/turf/issues/2571">#2571</a>)</li> <li>Additional commits viewable in <a href="https://github.com/Turfjs/turf/compare/v6.5.0...v7.0.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@turf/simplify&package-manager=npm_and_yarn&previous-version=6.5.0&new-version=7.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: t0oF <93762994+w1nklr@users.noreply.github.com>
- Loading branch information