Skip to content
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

chore(template-compiler): update acorn and fix its types #4132

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

nolanlawson
Copy link
Contributor

Details

Acorn shipped a breaking change in its types: acornjs/acorn#1260
This is a workaround based on Svelte's solution: sveltejs/svelte#10301

Does this pull request introduce a breaking change?

  • 😮‍💨 No, it does not introduce a breaking change.

Does this pull request introduce an observable change?

  • 🤞 No, it does not introduce an observable change.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These type overrides are potentially subtle/hidden. How can we make them more visible?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have a convention of using src/typings in all our packages for any type overrides. There are a few packages where we do this.

I dunno what to do about that, other than "it's just one of those things you have to know" 🤷

@nolanlawson nolanlawson merged commit d71eafa into master Apr 11, 2024
9 checks passed
@nolanlawson nolanlawson deleted the nolan/update-acorn branch April 11, 2024 17:40
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.

None yet

2 participants