-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Labels
locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.priority:highCode is printed in a way that alters the AST, breaks syntax, or is a significant regression. Urgent!Code is printed in a way that alters the AST, breaks syntax, or is a significant regression. Urgent!
Description
Environments:
- Prettier Version: 1.19.0
- Running Prettier via: CLI
- Runtime: Node v10.14
- Operating System: MacOs
Steps to reproduce:
I did a clean install in a new directory of prettier:
$ yarn install prettier
$ cat test.js | prettier --stdin --stdin-filepath test.js
[error] regeneratorRuntime is not definedSeems like the built "binaries" of node_modules/prettier/bin-prettier.js node_modules/prettier/index.js and node_modules/prettier/third-party.js all have this undefined name regeneratorRuntime presumably from a babel generator transformation, probably only used during stream/stdin reading. I double checked that 1.18.2 does not have this issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.priority:highCode is printed in a way that alters the AST, breaks syntax, or is a significant regression. Urgent!Code is printed in a way that alters the AST, breaks syntax, or is a significant regression. Urgent!