UNPKG

makepromise

Version:

Make a Promise from a function with a callback and preserve its error stack.

72 lines (40 loc) 1.59 kB
## 3 February 2020 ### [3.2.0](git+https://github.com/artdecocode/makepromise/compare/v3.1.1...v4.0.0) - [fix] Don't check for args length. ### [4.0.0](git+https://github.com/artdecocode/makepromise/compare/v3.1.1...v4.0.0) - [fix] Don't check for args length. ### [3.1.1](git+https://github.com/artdecocode/makepromise/compare/v3.1.0...v3.1.1) - [fix] Better error messages. ## 10 April 2019 ### [3.1.0](git+https://github.com/artdecocode/makepromise/compare/v3.0.3...v3.1.0) - [types] Tidy up types for _Google Closure Compiler_ & _Depack_. - [deps] Update `erotic` & unlock dependencies. ## 2 April 2019 ### [3.0.3](git+https://github.com/artdecocode/makepromise/compare/v3.0.2...v3.0.3) - [package] Add the `module` field. ## 15 January 2019 ### 3.0.2 - [package] Add the "module" field. - [package] Remove source maps. ## 31 August 2018 ### 3.0.1 - [package] Add the `files` field to only include `build`. ### 3.0.0 - [package] Remove `ES5` folder. - [build] Build w/ [`alamode`](https://alamode.cc). - [doc] Document with `documentary`, add bound methods example. - [feature] Transparent `erotic` error stack. ## 12 May 2018 ### 2.0.0 - [ecma] using modules therefore major up. `require('makepromise')` now returns `{ default }` - [adc] move to [Art Deco Code](https://artdeco.bz) ## 29 December 2017 ### 1.1.1 - [bugfix] fix throwing error when no arguments are passed ### 1.1.0 - [feature] es8 default standard, `/src/es5` available - [chore] update wrote - [feature] use `erotic` for stack traces ## 20 May 2017 ### 1.0.0 - [feature] initial release