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

Add require-esm compatibility #1033

Merged
merged 1 commit into from
Feb 22, 2025
Merged

Add require-esm compatibility #1033

merged 1 commit into from
Feb 22, 2025

Conversation

Borewit
Copy link
Owner

@Borewit Borewit commented Feb 22, 2025

Changes:

  1. Add require-esm compatibility: allow Node.js ≥ 22 to load this module using `require('musicbrainz-api')
  2. Replace loadMusicBrainzApi() with load-esm

Replace `loadMusicBrainzApi()` with `load-esm`
@Borewit Borewit self-assigned this Feb 22, 2025
@Borewit Borewit merged commit 5e7cf75 into master Feb 22, 2025
14 checks passed
@Borewit Borewit deleted the require-esm-compatibility branch February 22, 2025 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant