Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR updates
execa
to^8.0.1
. Sinceexeca@>=6.0.0
is ESM-only andjest
only has experimental ESM support (jestjs/jest#10976), this required switching fromts-jest
tobabel-jest
. To minimize dependency transpilation, the ESM packages that are necessary to transpile are enumerated injest.config.js
.This version of
execa
includes automatic escaping of shell arguments, which was the entire point of #112, #113, and this PR.The state of ESM support in the Node.js ecosystem is absolutely horrible, and I would not recommend further migrations for the time being. We should continue to dual-release our packages and avoid ESM-only dependencies until the ecosystem has matured. For details see the above
jest
issue and nodejs/node#37648.