aj-bagwell / clio

A rust library for parsing command line file name arguements
12 stars 7 forks source link

Migrate from `atty` to `is-terminal` #21

Closed matthiasgoergens closed 1 year ago

matthiasgoergens commented 1 year ago

atty is unmaintained and has security vulnerabilities.

See https://github.com/advisories/GHSA-g98v-hv3f-hcfr

jayvdb commented 1 year ago

ping @aj-bagwell - please approve this workflow.

matthiasgoergens commented 1 year ago

There's also std::io::IsTerminal. That's in the standard library, but only stable since 1.70.0, and we are currently supporting older 1.63, I think.

cpu commented 1 year ago

@aj-bagwell Would you be willing to cut a release with this fix included? :bow:

aj-bagwell commented 1 year ago

It is now in v0.3.4

cpu commented 1 year ago

Thank you!