-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Pin earcut version #12412
base: main
Are you sure you want to change the base?
Pin earcut version #12412
Conversation
Thank you for the pull request, @jjspace! ✅ We can confirm we have a CLA on file for you. |
Thanks for looking into this @jjspace! I've asked @ArgentumHHH for a Sandcastle example so we can verify this fix. |
@jjspace any thoughts on my comment above? |
@ggetz I am not positive, I just opened the PR quick because it seemed to be the highlighted cause and I saw it swapped to ESM only. I was hoping we could get a good sample to verify. I was under the assumption we wanted to avoid ESM only modules because we still support CommonJS. We've had issues with that in the past. I did not look closely at where this is used so if this packages is not one we have to care about I think this PR can just be closed. |
@ggetz, @ArgentumHHH has provided a sample file and I can now confirm this change does fix the issue. I've updated the testing plan with a link to a local sandcastle to demonstrate. |
Description
Version
3.0.0
ofearcut
dropped support for CommonJS however CesiumJS still supports using it as a CommonJS module. This PR pins the version at2.2.4
for now for compatibility.Opened #12411 to track updating this in the future
This was the reported cause of #12294
Issue number and link
Fixes #12294
Testing plan
npm install
to update packagesApps/SampleData
Author checklist
CONTRIBUTORS.md
CHANGES.md
with a short summary of my change