Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate arguments by default #72

Open
sindresorhus opened this issue Jul 12, 2019 · 1 comment
Open

Validate arguments by default #72

sindresorhus opened this issue Jul 12, 2019 · 1 comment

Comments

@sindresorhus
Copy link
Sponsor Contributor

And throw when invalid.

See: chalk/ansi-styles#36 (comment)

@Qix-
Copy link
Owner

Qix- commented Feb 28, 2021

This is going to take the form of separate color-convert and color-convert/unchecked imports. The branching penalty of checking inputs is going to cripple e.g. image conversion libraries that use color-convert.

@Qix- Qix- changed the title Validate input Validate arguments by default Feb 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants