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: only use pre-ESM dependencies #1047

Merged

Conversation

usefulthink
Copy link
Contributor

Current master breaks since this still is a commonJS package and as such can't require ESM packages like query-string v8+ and retry-axios v3+.

To update those dependencies we need to make a major-release where we switch to ESM-only as well.

Current master breaks since this still is a commonJS package and as such can't require ESM packages like query-string v8+ and retry-axios v3+.

To update those dependencies we need to make a major-release where we switch to ESM-only as well.
@usefulthink usefulthink enabled auto-merge (squash) October 9, 2023 10:40
@usefulthink usefulthink merged commit a0d416b into googlemaps:master Oct 9, 2023
13 checks passed
@usefulthink usefulthink deleted the fix/use-pre-esm-dependencies branch October 9, 2023 10:41
googlemaps-bot added a commit that referenced this pull request Oct 9, 2023
### [3.3.40](v3.3.39...v3.3.40) (2023-10-09)

### Bug Fixes

* only use pre-ESM dependencies ([#1047](#1047)) ([a0d416b](a0d416b))

### Miscellaneous Chores

* update all dependencies ([#1044](#1044)) ([c5c0990](c5c0990)), closes [#1035](#1035)

### Build System

* **deps:** bump retry-axios from 2.6.0 to 3.1.0 ([#1027](#1027)) ([dacfff6](dacfff6))
@googlemaps-bot
Copy link
Contributor

🎉 This PR is included in version 3.3.40 🎉

The release is available on:

Your semantic-release bot 📦🚀

usefulthink added a commit to usefulthink/google-maps-services-js that referenced this pull request Oct 10, 2023
packages that no longer support commonjs use should never be installed (googlemaps#1047). However, without a failing test, the dependabot PRs will just slip through, so we have to add a test that will fail when import/require of this package won't work.
usefulthink added a commit that referenced this pull request Oct 10, 2023
packages that no longer support commonjs use should never be installed (#1047). However, without a failing test, the dependabot PRs will just slip through, so we have to add a test that will fail when import/require of this package won't work.
googlemaps-bot added a commit that referenced this pull request Oct 10, 2023
### [3.3.41](v3.3.40...v3.3.41) (2023-10-10)

### Bug Fixes

* add tests to prevent updating to esm-only dependencies ([#1051](#1051)) ([fd95b9c](fd95b9c)), closes [#1047](#1047)

### Build System

* **deps-dev:** bump @types/node from 20.8.3 to 20.8.4 ([#1048](#1048)) ([7e6f1ae](7e6f1ae))
* **deps-dev:** bump typedoc from 0.25.1 to 0.25.2 ([#1050](#1050)) ([522b09e](522b09e))
* **deps:** bump retry-axios from 2.6.0 to 3.1.0 ([#1049](#1049)) ([62ed0cd](62ed0cd))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants