Skip to content

v3.0.0

Compare
Choose a tag to compare
@sindresorhus sindresorhus released this 01 Jul 16:12

Breaking:

Breaking for TypeScript users:

  • Only use a CommonJS export for the TypeScript definition
    You need to change import isPromise from 'p-is-promise'; to import isPromise = require('p-is-promise');

Enhancements:

  • Support a function with .then() and .catch() methods 817df82

v2.1.0...v3.0.0