Skip to content

Port upstream earcut changes to C# (0302a75) — 2026-09-04 #26

Description

@github-actions

Upstream Sync Task

@Copilot please port the upstream changes listed below to C# and open a pull request.

New commits have been pushed to mapbox/earcut since the last sync.

Previous synced commit: 44b03d0
New upstream commit: 0302a75
Full diff: mapbox/earcut@44b03d0...0302a75

Upstream commits to port

  • 0302a75 fix deviation false positives, close #208

What to port

Please port all upstream changes to C# and open a pull request. Follow the PORTING_GUIDE.md for language mapping conventions.

Key files to check in the upstream diff:

  • src/earcut.js → port any algorithm changes to src/Earcut/Earcut.cs
  • test/fixtures/*.json → copy any new/changed fixtures to test/Earcut.Tests/fixtures/
  • test/expected.json → update test/Earcut.Tests/expected.json to match

After porting:

  1. Run dotnet test and ensure all tests pass
  2. Update PORTING_GUIDE.md if new language patterns were introduced

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    auto-syncAutomatically generated upstream sync issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions