Closed kitten closed 1 day ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
jscodeshift | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Aug 6, 2024 7:05pm |
@Daniel15: Sorry about that! ❤️ There's a test in the latest commit now that checks that the remote transformer files actually work.
The temp
was replaced by tmp
in https://github.com/facebook/jscodeshift/pull/633
This is simply to avoid the dependency chain on
rimraf
viatemp@0.8.4 -> rimraf@2.6.3
, which has been deprecated. Thetemp
package hasn't seen a release in a while, and minimal functionality is used from it. Thetemp.track
functionality also doesn't seem to be used, which would make it pretty trivial to vendor the code.Switching to alternatives like
tempy
likely isn't attractive either since it's ESM-only whilejscodeshift
is not. Older versions oftempy
also depend transitively on deprecated versions ofrimraf
.Tests pass and cover changes as-is.
Note: The vendored code has an added copyright notice line for
node-temp
.