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

Replace node:buffer usage with Uint8Array #633

Merged
merged 8 commits into from
Jul 6, 2024
Merged

Replace node:buffer usage with Uint8Array #633

merged 8 commits into from
Jul 6, 2024

Conversation

bjornstar
Copy link
Contributor

@bjornstar bjornstar commented Jun 27, 2024

It's time to say Goodbye, node.js Buffer in this library.

Resolves #578

Dependencies

This was an interesting challenge. Please hold while I raise PRs to these two dependencies.

Update: PRs raised for both dependencies, I'll come back and update this once they're merged and released.

Update: Both dependencies have been updated and released.

@Borewit Borewit self-requested a review June 29, 2024 17:17
@Borewit
Copy link
Collaborator

Borewit commented Jun 29, 2024

I run all music-metadata with success local against 4caaee2, as reported Borewit/music-metadata#2103 (comment), which gives me confidence that the dependent changes in strtok3 and token-types are good.

@bjornstar bjornstar marked this pull request as ready for review June 30, 2024 00:32
@bjornstar
Copy link
Contributor Author

token-types has been updated. This should be good to go.

core.js Outdated Show resolved Hide resolved
Copy link
Collaborator

@Borewit Borewit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, you may conciser to update strtok3 to 7.1.0 to allign dependencies.

@Borewit Borewit added the API change Major change, dependents may need to update their code label Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API change Major change, dependents may need to update their code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider alternate (browser friendly) buffer
3 participants