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

crypto: use new.target instead of instaceof to detect construct calls #51026

Merged
merged 3 commits into from
Dec 5, 2023

Commits on Dec 3, 2023

  1. Configuration menu
    Copy the full SHA
    ca73165 View commit details
    Browse the repository at this point in the history
  2. crypto: use new.target instead of instaceof to detect construct calls

    The former is much more performant.
    joyeecheung committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    c7decde View commit details
    Browse the repository at this point in the history
  3. fixup! crypto: use new.target instead of instaceof to detect construc…

    …t calls
    
    Co-authored-by: Vinicius Lourenço <12551007+H4ad@users.noreply.github.com>
    joyeecheung and H4ad committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    b9873dd View commit details
    Browse the repository at this point in the history