esnext / es6-module-transpiler

Tomorrow’s JavaScript module syntax today
http://esnext.github.io/es6-module-transpiler/
Other
1.21k stars 85 forks source link

Avoid risky JSON.stringify in utils.IIFE. #185

Closed benjamn closed 9 years ago

benjamn commented 9 years ago

This helps with issues like https://github.com/benjamn/recast/issues/135, because Lines objects are not (currently) JSON.stringify-serializable.

I also took the liberty of changing the name from IFFE to IIFE, since it creates an Immediately-Invoked Function Expression ;)

Unrelated: http://www.beatport.com/release/iffy/1386702

ericf commented 9 years ago

@eventualbuddha if you have time could we get a patch release out with this change? The transpiler is currently broken for fresh npm installs because of the recast patch version change that's pulled in.

Edit: recast@0.9.11 has been released which makes this less urgent (thanks @benjamn!)

eventualbuddha commented 9 years ago

Thanks, also oops on the typo ;). Will have a release out soon.

eventualbuddha commented 9 years ago

Released in v0.9.6.