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

fix(deps): Update for ES Module compatibility #645

Open
wants to merge 16 commits into
base: next
Choose a base branch
from

Conversation

trentrand
Copy link

Added "type": "module" and .js extensions to imports. This aligns the library with requirements for ECMAScript Modules, which are now widely adopted.

Added "type": "module" and .js extensions to imports. This aligns the library with requirements for ECMAScript Modules, which are now widely adopted.
@CLAassistant
Copy link

CLAassistant commented Nov 27, 2024

CLA assistant check
All committers have signed the CLA.

@trentrand
Copy link
Author

Resolves #440. Without these changes, the dependency is unusable in newer versions of Vite. Therefor it prohibits use in Vue, Nuxt 3, SvelteKit, Remix, Analog, Angular, Astro, SolidJS, Qwik City, RedwoodJS.

@trentrand
Copy link
Author

This fix has been published as @trentrand/stripe-firebase-extensions@0.0.8.

See my fork, which additionally updates the package to the latest Stripe API (+ 2 years), uses modular Firebase package (firebase instead of many firebase/*), ECMAScript Modules (ESM), and Bun build tooling for faster development.

https://github.com/trentrand/stripe-firebase-extensions

@agoransson
Copy link

This really helped me! Thanks a lot @trentrand

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.

3 participants