Commit Graph

20 Commits

Author SHA1 Message Date
Dimitri Benin 9a429bc248 Require Node.js 8, add TypeScript definition (#10) 2019-03-12 15:17:11 +07:00
Sindre Sorhus db65c4b511 2.0.1 2017-11-28 21:06:32 +01:00
Ægir Örn Símonarson 7fc1cb3dd2 Catch error thrown in fallback (#8) 2017-11-28 21:05:54 +01:00
Sindre Sorhus 63a486a0f2 2.0.0 2017-11-19 16:37:33 +07:00
Sindre Sorhus a49122996c Document #3 2017-11-19 16:36:02 +07:00
Kevin Mårtensson 0324327342 Cancel any cancelable input promises (#3) 2017-11-19 16:33:44 +07:00
Sindre Sorhus 14d97b13fd 1.2.1 2017-11-19 16:31:49 +07:00
Neek Sandhu 1a651607e1 Fix value check logic for ms arg (#5) 2017-11-19 16:27:16 +07:00
Sindre Sorhus 339b0ac5db 1.2.0 2017-07-02 11:24:45 +02:00
Sindre Sorhus 584ef7473b Meta tweaks 2017-07-02 03:43:15 +02:00
Sindre Sorhus b456b7994e Simplify the code by using `p-finally`
Closes #1
2017-07-02 03:41:51 +02:00
Sindre Sorhus 7bb7ff2be0 1.1.1 2017-05-14 22:03:24 +07:00
Sindre Sorhus 33c1e31d79 Make sure the timeout is positive 2017-05-14 22:03:00 +07:00
Sindre Sorhus fd9ac502ab 1.1.0 2017-05-14 22:00:02 +07:00
Sindre Sorhus 1547fe2c7f Define error name manually so it will work when minified 2017-05-14 21:59:23 +07:00
Sindre Sorhus 7d46b457c3 Allow `Infinity` timeout
Could be useful if the user doesn’t want a timeout based on a conditional.
2017-05-14 21:58:43 +07:00
Sindre Sorhus e6bed583f6 Simplify error 2016-11-23 11:57:27 +07:00
Sindre Sorhus 3555910f19 add a related module to the readme 2016-11-20 20:04:08 +07:00
Sindre Sorhus 7443c42ee3 1.0.0 2016-10-21 13:53:29 +07:00
Sindre Sorhus b07580fbdb init 2016-10-21 13:42:17 +07:00