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

Fix #239 #240

Merged
merged 3 commits into from Aug 6, 2020
Merged

Fix #239 #240

merged 3 commits into from Aug 6, 2020

Conversation

AmazingMech2418
Copy link
Contributor

Fixes #239

This simply replaces a single array of invalid keys that is manually set with two separate ones for the Object and Array prototypes in order to block all potentially harmful keys from being set. Since all objects inherit from the Object prototype, the array for the Object prototype is not conditional based on the type of the current object with the property being set.

@richardgirges
Copy link
Owner

This is amazing. Thanks so much for pushing a fix in addition to reporting the issue @AmazingMech2418 !! I'm cutting a release with this update ASAP.

@richardgirges richardgirges merged commit 9fca550 into richardgirges:master Aug 6, 2020
@AmazingMech2418
Copy link
Contributor Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

#236 Not Completely Fixed
2 participants