Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Remove dependency urlsafe-base64 #69

Merged

Conversation

sbeesm
Copy link
Contributor

@sbeesm sbeesm commented Jan 8, 2024

Fixes: #68

Bump up the Node version to use minimum 16. This will allow use of Buffer API with built-in support for base-64, removing dependency over urlsafe-base64.

Copy link
Member

@martinthomson martinthomson left a comment

Choose a reason for hiding this comment

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

Dependency-free is nice.

@martinthomson
Copy link
Member

Merging this despite the CI issue, which I plan to fix in a follow up.

@marco-c
Copy link
Member

marco-c commented Jan 8, 2024

@martinthomson could you release a new version after this is merged (and CI fixed)?

@martinthomson martinthomson merged commit 42b19d1 into web-push-libs:main Jan 9, 2024
3 of 4 checks passed
@sbeesm sbeesm deleted the #68-urlsafe-base64-buffer-fix branch January 9, 2024 17:37
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dependency urlsafe-base64 uses Buffer unsafely
3 participants