Skip to content

Commit 92eae6b

Browse files
committed
Bump version, rebuild
1 parent e7a6c88 commit 92eae6b

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

CHANGES.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
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.

es6-shim/Promise.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",
@@ -84,6 +84,8 @@
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"

0 commit comments

Comments
 (0)