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

test: change octal escape to Unicode escape #295

Merged
merged 1 commit into from
Mar 6, 2020
Merged

Conversation

brettz9
Copy link
Contributor

@brettz9 brettz9 commented Mar 6, 2020

When performing an eslint-driven security audit (using babel-eslint and looking for things like eval), I got this parsing error in your test file, preventing me from auditing here.

I've therefore converted this octal escape to a Unicode escape, and since it should be treated exactly the same (and would be needed if you ever went to strict mode), I figure I'd submit the fix, especially if you didn't want to just ignore the test folder in a future release.

Thanks!

When performing an eslint-driven security audit (using `babel-eslint` and looking for things like `eval`), I got this parsing error preventing me from auditing here. I've therefore converted this octal escape to a Unicode escape, and since it should be treated exactly the same (and would be needed if you ever went to strict mode), I figure I'd submit the fix.
@tomas tomas merged commit 03874c8 into tomas:master Mar 6, 2020
@brettz9 brettz9 deleted the patch-1 branch March 6, 2020 13:29
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.

2 participants