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

Fix invalid strict-mode syntax with hexadecimal #22

Merged
merged 3 commits into from
Jul 27, 2019

Conversation

christianbundy
Copy link
Contributor

This resolves an issue where the module wasn't able to be parsed in strict mode.

See: ssbc/ssb-server#683

@ljharb
Copy link
Member

ljharb commented Jul 27, 2019

See my comment here: ssbc/ssb-server#683 (comment)

Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are also in tests, so you shouldn’t be parsing or bundling them either.

@ljharb ljharb added the wontfix label Jul 27, 2019
@ljharb ljharb closed this Jul 27, 2019
@ljharb ljharb removed the wontfix label Jul 27, 2019
@ljharb
Copy link
Member

ljharb commented Jul 27, 2019

I'll be adding eslint to this repo, which will end up subsuming this PR, so I'll reopen and update the PR with those commits.

@ljharb ljharb merged commit a8b5425 into inspect-js:master Jul 27, 2019
@christianbundy
Copy link
Contributor Author

Thank you for the merge!

ljharb added a commit that referenced this pull request Nov 10, 2019
 - [New] add support for `WeakMap` and `WeakSet`
 - [Refactor] add early bailout to `isMap` and `isSet` checks
 - [meta] add `funding` field
 - [meta] add copyright to LICENSE (#21)
 - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `core-js`, `tape`
 - [Tests] use shared travis-ci configs
 - [Tests] use `npx aud` in `posttest`
 - [Tests] Fix invalid strict-mode syntax with hexadecimal (#22)
 - [Tests] add linting
ljharb added a commit that referenced this pull request Nov 11, 2019
 - [New] add support for `WeakMap` and `WeakSet`
 - [Refactor] add early bailout to `isMap` and `isSet` checks
 - [meta] add `funding` field
 - [meta] add copyright to LICENSE (#21)
 - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `core-js`, `tape`
 - [Tests] use shared travis-ci configs
 - [Tests] use `npx aud` in `posttest`
 - [Tests] Fix invalid strict-mode syntax with hexadecimal (#22)
 - [Tests] add linting
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