File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed
Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 1+ ### 3.7.5
2+
3+ * Improve unhandled rejection formatting in ie8
4+
5+ ### 3.7.4
6+
7+ * Add ` when/keys settle ` , for settling a hash of promises.
8+ * Use ` poly ` from npm instead of a git link in package.json. No need for git to be available to npm install when.
9+ * Various community-contributed documentation updates. Thanks!
10+
111### 3.7.3
212
313* Fix console.log check when using ` monitor/console ` in IE8.
Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ define(function() {
299299 * @returns {String } formatted string, suitable for output to developers
300300 */
301301 function formatError ( e ) {
302- var s = typeof e === 'object' && e !== null && e . stack ? e . stack : formatObject ( e ) ;
302+ var s = typeof e === 'object' && e !== null && ( e . stack || e . message ) ? e . stack || e . message : formatObject ( e ) ;
303303 return e instanceof Error ? s : s + ' (WARNING: non-Error used)' ;
304304 }
305305
Original file line number Diff line number Diff line change 11{
22 "name" : " when" ,
3- "version" : " 3.7.4 " ,
3+ "version" : " 3.7.5 " ,
44 "description" : " A lightweight Promises/A+ and when() implementation, plus other async goodies." ,
55 "keywords" : [
66 " cujo" ,
8484 "tunnel" : " node test/sauce.js -m" ,
8585 "start" : " buster-static -e browser" ,
8686 "benchmark" : " node benchmark/promise && node benchmark/map" ,
87+ "prepublish" : " npm run browserify-es6" ,
88+ "preversion" : " npm run browserify-es6" ,
8789 "browserify-es6" : " browserify -s Promise es6-shim/Promise.browserify-es6.js --no-detect-globals -o es6-shim/Promise.js" ,
8890 "browserify" : " browserify -s when build/when.browserify.js --no-detect-globals -o build/when.js" ,
8991 "browserify-debug" : " browserify -s when build/when.browserify-debug.js --no-detect-globals -o build/when.js"
You can’t perform that action at this time.
0 commit comments