Skip to content
This repository has been archived by the owner on Jul 24, 2019. It is now read-only.

Commit

Permalink
Upgrade to es6-promise@4.0.3
Browse files Browse the repository at this point in the history
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] }
```
  • Loading branch information
marcbachmann authored Oct 1, 2016
1 parent 3d44598 commit 1cf3ef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 1cf3ef3

Please sign in to comment.