From 1cf3ef39609edb383f2f22d5cf8f92f1957cb24d Mon Sep 17 00:00:00 2001 From: Marc Bachmann Date: Sat, 1 Oct 2016 12:25:24 +0200 Subject: [PATCH] Upgrade to es6-promise@4.0.3 Currently by requiring `phantomjs-prebuilt`, the original Promise is replaced by the `es6-promise` module. In es6-promise v4.0.3 this has been fixed and we should incorporate it. How to reproduce the current behavior? ``` > console.log(Promise) [Function: Promise] > require('phantomjs-prebuilt') > console.log(Promise) { [Function: lib$es6$promise$promise$$Promise] all: [Function: lib$es6$promise$promise$all$$all], race: [Function: lib$es6$promise$promise$race$$race], resolve: [Function: lib$es6$promise$promise$resolve$$resolve], reject: [Function: lib$es6$promise$promise$reject$$reject], _setScheduler: [Function: lib$es6$promise$asap$$setScheduler], _setAsap: [Function: lib$es6$promise$asap$$setAsap], _asap: [Function: asap] } ``` --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6f66f09fe..70931a802 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "test": "nodeunit --reporter=minimal test/tests.js && eslint ." }, "dependencies": { - "es6-promise": "~3.2.1", + "es6-promise": "~4.0.3", "extract-zip": "~1.5.0", "fs-extra": "~0.30.0", "hasha": "~2.2.0",