0
0
mirror of https://github.com/puppeteer/puppeteer synced 2024-06-14 14:02:48 +00:00
Commit Graph

5 Commits

Author SHA1 Message Date
JoelEinbinder
d79eb70267 fix(node6): fix one line await arrow functions
When the start of the function body was await, the async function transformer behaves
non-deterministically and can break.
2018-03-15 14:54:23 -07:00
JoelEinbinder
d87480b609 Node6: Remove parentheses around the body of async arrow functions () 2017-10-02 18:25:11 -07:00
JoelEinbinder
cd81944e66 Test node6 on travis ()
This patch starts running all puppeteer tests with node6 on travis-ci.
2017-08-25 19:28:49 -07:00
JoelEinbinder
2c4dfbfd88 Fix node6 support for Object.entries and URL object ()
This patch introduces a polyfill for Object.entries which is missing in Node 6
2017-08-25 15:13:59 -07:00
JoelEinbinder
9212863b92 Node 6 support ()
This patch:
- introduces a transpiler which substitutes async/await logic with
generators.
- starts using the transpiler to generate a node6-compatible version of puppeteer
- introduces a runtime-check to decide which version of code to use

Fixes .
2017-08-24 12:20:05 -07:00