Skip to content

Conversation

birkskyum
Copy link
Member

@birkskyum birkskyum commented Sep 28, 2025

While working on ESM support ( #1595 (comment) ) , i stumbled upon mapbox/unitbezier.

This small library is js + type definitions, uses tape for testing, and is published as cjs.

The project is done - it hasn't needed any changes for years, but to resolve esm we either have to 1. make a PR and wait for that process, 2. onboard and publish, or 3. just inline it with modernization - since it could be useful to more people i made a small esm/ts fork package

Launch Checklist

  • Confirm your changes do not include backports from Mapbox projects (unless with compliant license) - if you are not sure about this, please ask!
  • Briefly describe the changes in this PR.
  • Link to related issues.
  • Include before/after visuals or gifs if this PR includes visual changes.
  • Write tests for all new functionality.
  • Document any changes to public APIs.
  • Post benchmark scores.
  • Add an entry to CHANGELOG.md under the ## main section.

@birkskyum birkskyum closed this Sep 28, 2025
@birkskyum birkskyum reopened this Sep 28, 2025
Copy link

socket-security bot commented Sep 28, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​birkskyum/​unitbezier@​1.0.3100100100100100

View full report

@birkskyum birkskyum changed the title inline unitbezier use ESM fork of unitbezier Sep 29, 2025
@HarelM
Copy link
Collaborator

HarelM commented Sep 29, 2025

Can we try and open PRs for the relevant repos? Some did the migration lately I believe, and I would like to try it out before splitting the ecosystem...

@birkskyum
Copy link
Member Author

birkskyum commented Sep 29, 2025

I'd prefer not to invest too much time in mapbox's/other's mostly abandoned repos at this point.

@HarelM
Copy link
Collaborator

HarelM commented Sep 29, 2025

If we wrap the code ourselfs into ESM, does it matter if the dependencies are ESM or not?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants