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

Update esprima to 4.0.1 #398

Merged
merged 1 commit into from
Jan 3, 2020
Merged

Conversation

TimvdLippe
Copy link
Contributor

@TimvdLippe TimvdLippe commented Sep 24, 2019

This allows users to use a newer version of esprima in their root node_modules and make sure that escodegen uses that version, rather than its bundled 3.x version.

Closes #366
Relates to #391

@sanex3339
Copy link
Contributor

@michaelficarra can you merge this pr?

@michaelficarra
Copy link
Member

Why is there a dependency on esprima in the first place?

@sanex3339
Copy link
Contributor

@sanex3339
Copy link
Contributor

Also this PR is depends on 4.x version
#383

@michaelficarra
Copy link
Member

@sanex3339 That would be a dev dependency, but it's a regular dependency.

I see now though, it's used in the CLI: https://github.com/estools/escodegen/blob/master/bin/escodegen.js. I doubt anybody uses the CLI for anything.

@sanex3339
Copy link
Contributor

sanex3339 commented Jan 3, 2020

Anyway, modify of CLI script is not the task of this PR.
Just let update it to merge #383

@michaelficarra michaelficarra merged commit 819a63b into estools:master Jan 3, 2020
@sanex3339
Copy link
Contributor

Thank you

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.

Why we are not updating esprima version?
3 participants