-
Notifications
You must be signed in to change notification settings - Fork 115
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] Address all CodeQL scan results #1122
Conversation
77f1a0d
to
de428a1
Compare
Remove dead getUrlQueryParam in SDK code, and also improve implementation in example project
This is no longer needed as all browsers in the past few years have window.crypto now. Also removed duplicate test implementation of getRandomUuid().
These are not needed as has a risk of leaking package.json details
This code will be removed in the near future
Instead of innerHTML when value comes from the DOM or user input
072f5a8
to
17e2042
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 2 files at r1, 1 of 1 files at r2, 1 of 1 files at r3, 1 of 1 files at r4, 3 of 3 files at r5, 3 of 3 files at r6, 3 of 3 files at r7, 3 of 3 files at r8, 1 of 1 files at r9, 1 of 1 files at r10, 4 of 4 files at r11, 1 of 1 files at r12, 1 of 1 files at r13, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @iAmWillShepherd and @rgomezp)
Description
1 Line Summary
Address all CodeQL scan results.
Details
Address all issues detected by CodeQL in example project as well as change to the source.
Validation
Tests
Manually tested on macOS with Safari 17 to ensuring subscribing an unsubscribing works from the bell and custom link.
Info
Checklist
Programming Checklist
Interfaces:
Functions:
Typescript:
Other:
elem of array
syntax. PreferforEach
or usemap
context
if possible. Instead, we can pass it to function/constructor so that we don't callOneSignal.context
Screenshots
Info
Checklist
Related Tickets
This PR depends on PR #1121
This change is