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

upgrade latest-version #2454

Merged
merged 1 commit into from
Oct 24, 2023
Merged

upgrade latest-version #2454

merged 1 commit into from
Oct 24, 2023

Conversation

niclim
Copy link
Contributor

@niclim niclim commented Oct 24, 2023

🍗 Description

What does this PR do? Anything folks should know?

closes #2414

latest-version v6+ is an ESM package, since we still emit commonJS we either need to:

  • specify our package.json as type: module which is kind of a pain (we'd need to change relative imports to have a .js suffix among a bunch of other config changes
  • convert this into a dynamic import

This is kind of our best work around (using dynamic imports) for using ESM packages if we need to

📚 References

Links to relevant docs (Notion, Twist, GH issues, etc.), if applicable.

👹 QA

How can other humans verify that this PR is correct?

@niclim niclim added this pull request to the merge queue Oct 24, 2023
Merged via the queue into main with commit e870e58 Oct 24, 2023
1 check passed
@niclim niclim deleted the esm-imports branch October 24, 2023 16:00
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.

Update latest-version + update-notifier packages
2 participants