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

dgram: prefer strict equality #8011

Commits on Aug 24, 2016

  1. dgram: prefer strict equality, type validation

    - Enforces strict comparisons in dgram - bindState should
    always be strictly equal to one of the defined constant states,
    and newHandle type is a string.
    
    - Check that the argument `type` in createSocket is not null
    when it is of type 'object', before using its `type` property.
    
    - Adds a test to check dgram.createSocket is properly
    validating its `type` argument.
    
    PR-URL: nodejs#8011
    claudiorodriguez committed Aug 24, 2016
    Configuration menu
    Copy the full SHA
    daf6284 View commit details
    Browse the repository at this point in the history