power-assert-js / espower-source

Power Assert instrumentor from code to code, with SourceMap.
MIT License
11 stars 7 forks source link

fix: ecmaVersion 7 => 2017 to support async await #13

Closed dead-horse closed 7 years ago

dead-horse commented 7 years ago

https://github.com/MatAtBread/acorn-es7-plugin/blob/master/test/test-es5.js#L12

dead-horse commented 7 years ago

ecmaVersion: 7 will throw in acron 4.x

twada commented 7 years ago

@dead-horse Thank you!

Would you use annual version 2017 instead of 8 for ecmaVersion?

Failing tests are due to the changes in embedded recorder. It's not your fault. My bad 😞

dead-horse commented 7 years ago

@twada fixed, thanks for your quick response and fantastic work!

twada commented 7 years ago

@dead-horse Thanks again. I'll merge this, fix failing tests, then release ASAP.

twada commented 7 years ago

Just released as version 2.0.1. Thanks @dead-horse !