-
Notifications
You must be signed in to change notification settings - Fork 1
build(deps): bump @turf/union from 7.0.0 to 7.1.0 #504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ Deploy Preview for oslmap ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
49b9cca to
58ea0ff
Compare
| if (this.showGeojsonDataMarkers) { | ||
| this.geojsonData.features.forEach((feature: GeoJSONFeature) => { | ||
| this.geojsonData.features.forEach((feature) => { | ||
| if (feature.geometry.type !== "Point") return; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Required type narrowing
| const allFeatures = featureSource | ||
| .getFeatures() | ||
| .map((feature) => geojson.writeFeatureObject(feature)) | ||
| .filter((feature): feature is Feature<Polygon | MultiPolygon> => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This filter() is required for type narrowing.
| geojson.readFeature( | ||
| featureSource.getFeatures().reduce((acc: any, curr) => { | ||
| const toMerge = geojson.writeFeatureObject(curr).geometry; | ||
| return acc ? union(acc, toMerge) : toMerge; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI think our use of OS Features API has maybe been out of whack for a bit beyond Turf changes here ! Sorry didn't log this as issue sooner - may not be terrible solution to mark clickFeatures and other reliant props as @deprecated in meantime and log as Github Issue to revisit/reimplement?
Think we'll need to come back to some variation of this feature eventually for applications with multiple address (eg union title boundaries).
jessicamcinchak
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for picking these up & getting to bottom of XML filter issue !
Bumps [@turf/union](https://github.com/Turfjs/turf) from 7.0.0 to 7.1.0. - [Release notes](https://github.com/Turfjs/turf/releases) - [Changelog](https://github.com/Turfjs/turf/blob/master/CHANGELOG.md) - [Commits](Turfjs/turf@v7.0.0...v7.1.0) --- updated-dependencies: - dependency-name: "@turf/union" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
06d5140 to
76694bb
Compare

Bumps @turf/union from 7.0.0 to 7.1.0.
Release notes
Sourced from
@turf/union's releases.... (truncated)
Changelog
Sourced from
@turf/union's changelog.Commits
68915eev7.1.0948cdafUpgrade pnpm/action-setup in github actions (#2696)5f0d405Clarify behavior of some existing turf modules (#2683)ad8012cchore: update cluster-dbscan docs (#2624)36cdb9fRevert@turf/kinksto 6.5.0 version (#2693)df7e42fFix@turf/maskbenchmarks to exclude test fixtures that are not usable (#2692)c470ea4Add test.example.js to the prettier ignore list because it is a generated fil...7275eb9Stop turf-mask mutating by default, make it an option (#2635)c8f24e0Update@types/geojsonto 7946.0.10 minimum (#2688)25917d8Rework prettier setup (#2677)You can trigger a rebase of this PR by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)