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

evade override mistake #6265

Open
wants to merge 1 commit into
base: v1.x
Choose a base branch
from
Open

evade override mistake #6265

wants to merge 1 commit into from

Conversation

turadg
Copy link

@turadg turadg commented Feb 27, 2024

fixes: #6264

The original code used assignment to override the constructor property. However, if the prototype is frozen, as it is under Hardened JS (aka SES) or under the Node frozen intrinsics flag, then this assignment fails due to the JavaScript override mistake.

@turadg
Copy link
Author

turadg commented Apr 8, 2024

@DigitalBrainJS I see you've approved recent PRs. Is this one acceptable to 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.

evade override mistake
1 participant