Skip to content

[js] Update @turf/invariant 7.3.5 → 7.4.0 (minor) - #841

Open
depfu[bot] wants to merge 1 commit into
mainfrom
depfu/update/importmap/@turf/invariant-7.4.0
Open

[js] Update @turf/invariant 7.3.5 → 7.4.0 (minor)#841
depfu[bot] wants to merge 1 commit into
mainfrom
depfu/update/importmap/@turf/invariant-7.4.0

Conversation

@depfu

@depfu depfu Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ @​turf/invariant (7.3.5 → 7.4.0) · Repo · Changelog

Release Notes

7.4.0

What's Changed

⚠️ Due to correctness fixes, behavior across the boolean-* methods has changed. If you depended on the invalid behavior of these methods take extra care when upgrading.

@turf/bearing

  • Fix final bearing returning values outside [-180, 180] by @JSap0914 in #3077

@turf/bezier

@turf/boolean-contains

  • Allow boundary points in MultiPoint containment checks by @rexxars in #3024
  • Treat an equal two-vertex line as contained by @spokodev in #3080
  • Add MultiPolygon support for non-polygon types by @rexxars in #3010
  • Speed up point, line, and MultiPolygon hot paths by @rexxars in #3099
  • Reject inner polygon whose edge crosses a concave outer polygon by @aloktomarr in #3104

@turf/boolean-crosses

  • Make MultiPoint/LineString crossing order-independent by @spokodev in #3079
  • Return false if a line/line intersection is on an endpoint by @mfedderly in #3070

@turf/boolean-disjoint

  • Overlapping collinear lines should return false by @cycsmail in #3097
  • Test for explicit line/line touch on a boundary point by @mfedderly in #3100
  • Performance: Delegate flattening to booleanDisjoint by @rexxars in #3103

@turf/boolean-point-in-polygon

  • Perf improvement & Fix issue with multiple polygons when the point is on the boundary of a polygon by @Pitouli in #2821

@turf/boolean-valid

  • Add support for GeometryCollection geometries by @ltkum in #2916
  • Allow MultiLineStrings with only a single LineString by @sharmaB01 in #2846

@turf/boolean-within

Internally this has been rewritten to use @turf/boolean-contains. This increases correctness, but the additional checks may have regressed performance slightly depending on inputs (it is actually faster for some inputs).

  • Require an interior point in MultiPoint-in-Polygon check by @mahirhir in #3085
  • Add MultiPolygon support, de-duplicate logic by @rexxars in #3011

@turf/clusters-dbscan

@turf/combine

@turf/convex

  • Correctly include properties in the final result by @blchelle in #2972

@turf/helpers

  • Add short forms for Units and AreaUnits by @Johse in #3063

@turf/line-arc

@turf/line-overlap

@turf/polygonize

  • Fix behavior when there are duplicate coordinates in the input by @Traksewt in #3045
  • Performance: Migrate to Map/Set by @mfedderly in #3074
  • Performance: Migrate edge storage from Array to Map for performance by @mfedderly in #3081

@turf/projection

  • Docs: Use official EPSG:3857 code instead of deprecated EPSG:900913 by @cycsmail in #3101

@turf/transform-scale, @turf/transform-translate, @turf/transform-rotate

Internal:

New Contributors

Full Changelog: v7.3.5...v7.4.0

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 52 commits:

✳️ @​turf/helpers (7.3.5 → 7.4.0) · Repo · Changelog

Release Notes

7.4.0

What's Changed

⚠️ Due to correctness fixes, behavior across the boolean-* methods has changed. If you depended on the invalid behavior of these methods take extra care when upgrading.

@turf/bearing

  • Fix final bearing returning values outside [-180, 180] by @JSap0914 in #3077

@turf/bezier

@turf/boolean-contains

  • Allow boundary points in MultiPoint containment checks by @rexxars in #3024
  • Treat an equal two-vertex line as contained by @spokodev in #3080
  • Add MultiPolygon support for non-polygon types by @rexxars in #3010
  • Speed up point, line, and MultiPolygon hot paths by @rexxars in #3099
  • Reject inner polygon whose edge crosses a concave outer polygon by @aloktomarr in #3104

@turf/boolean-crosses

  • Make MultiPoint/LineString crossing order-independent by @spokodev in #3079
  • Return false if a line/line intersection is on an endpoint by @mfedderly in #3070

@turf/boolean-disjoint

  • Overlapping collinear lines should return false by @cycsmail in #3097
  • Test for explicit line/line touch on a boundary point by @mfedderly in #3100
  • Performance: Delegate flattening to booleanDisjoint by @rexxars in #3103

@turf/boolean-point-in-polygon

  • Perf improvement & Fix issue with multiple polygons when the point is on the boundary of a polygon by @Pitouli in #2821

@turf/boolean-valid

  • Add support for GeometryCollection geometries by @ltkum in #2916
  • Allow MultiLineStrings with only a single LineString by @sharmaB01 in #2846

@turf/boolean-within

Internally this has been rewritten to use @turf/boolean-contains. This increases correctness, but the additional checks may have regressed performance slightly depending on inputs (it is actually faster for some inputs).

  • Require an interior point in MultiPoint-in-Polygon check by @mahirhir in #3085
  • Add MultiPolygon support, de-duplicate logic by @rexxars in #3011

@turf/clusters-dbscan

@turf/combine

@turf/convex

  • Correctly include properties in the final result by @blchelle in #2972

@turf/helpers

  • Add short forms for Units and AreaUnits by @Johse in #3063

@turf/line-arc

@turf/line-overlap

@turf/polygonize

  • Fix behavior when there are duplicate coordinates in the input by @Traksewt in #3045
  • Performance: Migrate to Map/Set by @mfedderly in #3074
  • Performance: Migrate edge storage from Array to Map for performance by @mfedderly in #3081

@turf/projection

  • Docs: Use official EPSG:3857 code instead of deprecated EPSG:900913 by @cycsmail in #3101

@turf/transform-scale, @turf/transform-translate, @turf/transform-rotate

Internal:

New Contributors

Full Changelog: v7.3.5...v7.4.0

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 52 commits:


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu Bot added the depfu label Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants