-
Notifications
You must be signed in to change notification settings - Fork 179
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
base: next
Are you sure you want to change the base?
Conversation
Added "type": "module" and .js extensions to imports. This aligns the library with requirements for ECMAScript Modules, which are now widely adopted.
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. |
No need to be so authoritative. Contributors are welcome to participate in a way that suites their workflow.
Adding this field required updating the Stripe SDK. It was quite out of date.
This fix has been published as See my fork, which additionally updates the package to the latest Stripe API (+ 2 years), uses modular Firebase package ( https://github.com/trentrand/stripe-firebase-extensions |
This really helped me! Thanks a lot @trentrand |
Added "type": "module" and .js extensions to imports. This aligns the library with requirements for ECMAScript Modules, which are now widely adopted.