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

Broken build due to import #22

Merged
merged 1 commit into from
Jul 25, 2019
Merged

Broken build due to import #22

merged 1 commit into from
Jul 25, 2019

Conversation

michaelmior
Copy link
Contributor

@michaelmior michaelmior commented Jul 23, 2019

There is currently an unused import statement which ends up appearing in the built parser. With the latest release of this module, this breaks my code since import statements aren't directly supported. In general, this could be handled by preprocessing with something like Babel, but in this case, the import wasn't actually used so I just removed it.

Would be great if another release could be made after this is merged :)`

@michaelmior michaelmior changed the title There is currently an unused import statement which ends up appearing in the built parser. With the latest release of this module, this breaks my code since import statements aren't directly supported. In general, this could be handled by preprocessing with something like Babel, but in this case, the import wasn't actually used so I just removed it. Broken build due to import Jul 23, 2019
@michaelmior
Copy link
Contributor Author

Please excuse the typo which caused the horribly long initial title.

@albin3 albin3 merged commit 1da1a6b into JavaScriptor:master Jul 25, 2019
@albin3
Copy link
Member

albin3 commented Jul 25, 2019

@michaelmior sorry for the typo.

new version: v1.1.0 has released to fix this issue.

It's probably caused by my typo when editing "travel". When I type "ti" in vscode, and it just add import { timingSafeEqual } from "crypto" in the head of the file.

Will add test case to check these case before release.

@michaelmior
Copy link
Contributor Author

No problem. Thanks for the fix!

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