mem v5.0.0 Release Notes

Release Date: 2019-05-17 // 8 months ago
  • 💥 Breaking:

    • Require Node.js 8 e54b59b
    • 🔄 Change the default value of the cachePromiseRejection option to true (#36) 70707ae
      0️⃣ We decided it's better to default to the least surprising/magic behavior.

    💥 Breaking for TypeScript users:

    • Only use a CommonJS export for the TypeScript definition
      You need to change import mem from 'mem'; to import mem = require('mem');

    ✨ Enhancements:

    • Cache function reference when it's a single argument (#35) 10f13c0

    v4.3.0...v5.0.0