-
-
Notifications
You must be signed in to change notification settings - Fork 622
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
Release 3.9.4 breaks code that depended on .hasOwnProperty() #2585
Comments
@wellwelwel maybe freeze Object.prototype instead of inheriting from null? https://cheatsheetseries.owasp.org/cheatsheets/Prototype_Pollution_Prevention_Cheat_Sheet.html @isdampe the "correct" way of calling We either need to fix this error somehow in 3.x or bump major version ( and fix in 3.x ) |
I don't think we'll need a major version bump for this, but I'll perform some tests and check again to be sure. Progress:
|
|
Pull #2574 looks like it introduced breaking changes that set the
Object
prototype to null (and notObject.prototype
). A consequence of this is that returned records can no longer call methods ofObject.prototype
such ashasOwnProperty
.The text was updated successfully, but these errors were encountered: