-
Notifications
You must be signed in to change notification settings - Fork 24
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
Dependency urlsafe-base64 uses Buffer unsafely #68
Comments
Once this issues is fixed, web-push-libs/web-push#848 can pull in the updated dependency. |
8 tasks
sbeesm
added a commit
to sbeesm/encrypted-content-encoding
that referenced
this issue
Jan 8, 2024
Use built-in methods to decode and encode base64. Fixes web-push-libs#68.
Hello, I've opened a PR to fix this: #69, would appreciate any feedback or comments. |
martinthomson
added a commit
that referenced
this issue
Jan 9, 2024
Remove dependency urlsafe-base64
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NOTE: Please test in a least two browsers (i.e. Chrome and Firefox). This
helps with diagnosing problems quicker.
Setup
Operating System: AWS Lambda | Windows
Node Version: 18.10.0
web-push Version: 3.6.2
http-ece Version: 1.1.0
Problem
There is a similar, fixed issue, (web-push-libs/web-push#785) that handled removing direct calls to urlSafe-base64. There is also a urlSafe-base64 call http-ece that causes the same issue. Workaround was to pull dependency code into my project and fix the call in http-ece.
Expected
No console errors
Features Used
Example / Reproduce Case
The text was updated successfully, but these errors were encountered: