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

repl: no RegExp side effects for static properties #20549

Closed

Commits on May 5, 2018

  1. repl: no RegExp side effects for static properties

    Disallow global RegExp object usage inside repl.js,
    readline.js and tty.js. Use RegExp from internal context
    to prevent updating global.RegExp static properties
    
    tools/eslint-rules/no-regex-literal-for-repl.js linter is added
    to prevent regex literal usage in repl code path
    
    Fixes: nodejs#18931
    princejwesley committed May 5, 2018
    Configuration menu
    Copy the full SHA
    ea9878e View commit details
    Browse the repository at this point in the history