Skip to content

Comments

upgrade tmp (no code changes necessary)#21

Open
FauxFaux wants to merge 1 commit intomrkmg:masterfrom
FauxFaux:upgrade-tmp
Open

upgrade tmp (no code changes necessary)#21
FauxFaux wants to merge 1 commit intomrkmg:masterfrom
FauxFaux:upgrade-tmp

Conversation

@FauxFaux
Copy link

tmp 0.1 requires node 0.10, we already require node 4.

We only use tmpNameSync, which hasn't had any changes, except maybe the addition of a tries parameter, which we do not expose, and probably don't need to.

Older versions are deprecated, so give me warnings when I end up installing them.

@antonk52
Copy link

I cannot see why travis build is failing but this PR has good intentions. tmp should be updated as it has deprecated dependencies which already has been removed in favor of node's native modules. Any help with travis? @mrkmg

@SBoudrias
Copy link

This package not being maintained anymore, and being a core dependency of Inquirer, I went ahead and forked it over at https://www.npmjs.com/package/@inquirer/external-editor - I've maintained Inquirer for >12 years and its one of the most popular package on npm; so I think that project is trustworthy new owner.

It drops tmp in favor of node built-in, the interface for the v1 release is backward compatible to ensure an easy drop-in replacement for folks running into the CVE issue. (v2 onward could contain breaking changes as I modernize the codebase and simplify the interface)

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.

3 participants