Sourced from chalk's releases.
v4.0.0
Breaking
- Require Node.js 10 61999a4
- Change the
LevelTypeScript type to be a union instead of enum f0f4638-if (chalk.level > Level.None) {} +if (chalk.level > 0) {}Improvements
- Use
Object.setPrototypeOfas__proto__could potentially be disabled (https://github.com/facebook/flipper/issues/387) 63469d3
31fa942 4.0.061999a4 Require Node.js 10f0f4638 Change the TypeScript Level type to be a union instead of enum7f21f20 Properly check if level is an integer (https://github.com/facebook/flipper/issues/393)63469d3 Use Object.setPrototypeOf as __proto__ could potentially be disabled (https://github.com/facebook/flipper/issues/387)797461e Meta tweaks0e6fecc Add link to replit run (https://github.com/facebook/flipper/issues/379)