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

util: fix deprecated class prototype #8105

Closed
wants to merge 1 commit into from

Commits on Aug 14, 2016

  1. util: fix deprecated class prototype

    Ensure the wrapped class prototype is exactly the unwrapped class
    prototype, rather than an object whose prototype is the unwrapped
    class prototype.
    
    This ensures that instances of the unwrapped class are instances
    of the wrapped class. This is useful when both a wrapped class and
    a factory for the unwrapped class are both exposed.
    
    Ref: nodejs#8103
    bengl committed Aug 14, 2016
    Configuration menu
    Copy the full SHA
    651c92c View commit details
    Browse the repository at this point in the history