Skip to content

v4.0.0

Compare
Choose a tag to compare
@sindresorhus sindresorhus released this 02 Apr 08:23

Breaking

  • Require Node.js 10 61999a4
  • Change the Level TypeScript type to be a union instead of enum f0f4638
-if (chalk.level > Level.None) {}
+if (chalk.level > 0) {}

Improvements

  • Use Object.setPrototypeOf as __proto__ could potentially be disabled (#387) 63469d3

v3.0.0...v4.0.0