Closed tchetwin closed 5 years ago
@tchetwin this looks great! Do you see any issue with me bumping the major version just incase there are unintended consequences of the acorn major bump?
Thanks again @tchetwin! I'll get this released in a major.
2.0.0 was just released! https://www.npmjs.com/package/@gulp-sourcemaps/identity-map
In order to provide identity sourcemaps for JavaScript with ES2018 syntax it's necessary to update the parser.
This PR bumps the major version of acorn from 5 to 6 to achieve this.
The acorn release notes for major version 6 are here. In particular the breaking changes listed are:
I don't think these pose a problem here.
Also included is a test fixture that fails without the changes and some tweaks to pass the lint checks.