diffArrays deep require breaks Prettier 2.6 in Node.js 17.5.0 #12275
Labels
scope:dependency
Issues that cannot be solved inside Prettier itself, and must be fixed in a dependency
type:bug
Issues identifying ugly output, or a defect in the program
Environments:
Steps to reproduce:
npx prettier --write .
Expected behavior:
Prettier works.
Actual behavior:
Prettier breaks:
I tracked the problem to this line:
prettier/src/main/core.js
Line 4 in 92e6f44
If I change it to:
Prettier works.
Alternatively, If I change this line in https://github.com/kpdecker/jsdiff:
https://github.com/kpdecker/jsdiff/blob/d358a573dc38fb89dd5ee296805e29f75c932a58/package.json#L40
To:
Prettier works too.
Thanks!
The text was updated successfully, but these errors were encountered: