chalk v4.0.0 Release Notes

Release Date: 2020-04-02 // about 4 years ago
  • 💥 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