refactor: replace colors with colorette#803
Conversation
Doesn't work with symlinks, and excluding those symlinks doen't work either. https://github.com/SonarSource/SonarJS/issues/1057
Ensure that tests use test config
Ensure all dependencies use oidc-rp 0.8.0
Closes #773.
Otherwise, third-party origins cannot log the user out.
Use local Mashlib
Do not block third-party cookies from reaching auth handlers
If an invalid setup with directory permissions happened, it doesn't mean an invalid port. It usually implies it is a setup error. Add the handling for the mkdir sys call.
Upgrade to oidc-op-0.4.0
|
Looks cool! Could you please make sure Travis passes by updating the locks? |
|
@kjetilk Thank you. Yes, done. |
Add security.txt
Improve the error messaging for permissions
|
OK, good! And, BTW, we had some questions about whether we should have a CLA, and we don't know, but we'd just figured we'd ask if you're OK with the MIT license? |
Use default popup URI
Disable CORS proxy by default
Extend list of reserved IP addresses
Send errors as plain text
Test and fix global package installation
I'm perfectly OK with the MIT license. @RubenVerborgh Sure. Rebase completed. |
|
@jorgebucaran There still appear to be some conflicts though. |
|
@RubenVerborgh You are right. Sorry, I don't know how to fix the conflict (I don't understand why other commits were added to this PR either), so I've created a new identical PR here. #812 |
👋 Hello maintainers.
Summary
This PR replaces colors with colorette. Disclaimer: I'm the author of colorette. This is a refactor change and does not intend to introduce breaking changes. Please let me know if this looks good or not and if you'd like me to make any changes.
Colorette is both lighter and faster than the colors packages. It's also "safe" by default, it doesn't mutate the string prototype. Terminal color support is autodetected, so our console output will not contain unreadable symbols if the target terminal does not support color.
Tests and coverage are at 100%.
Size Comparison
colorscoloretteRuntime Performance
All tests run on a 2.4GHz Intel Core i7 CPU with 16 GB memory. Complete benchmark results here and implementation here.