escodegen icon indicating copy to clipboard operation
escodegen copied to clipboard

ECMAScript code generator

Results 108 escodegen issues
Sort by recently updated
recently updated
newest added

I'm working on a project where it generates AST based on an external data source (specification -> js ast -> js code). I get errors like this: ``` TypeError: Cannot...

I am trying to transform a javascript file which is (roughly) the result of the concatenation of many source files, with an associated source map that have all the sources...

I got to this project while discussing ways to do advanced code formatting for JS ([source](https://twitter.com/#!/millermedeiros/status/178501265813291008)) It would be great if it had the same level of control as [FDT...

enhancement

It seems that Node 0.10 is being tested against in CI yet package.json says the minimum version is 0.12

[The wiki page](https://github.com/estools/escodegen/wiki/Source-Map-Usage) describing source map support states: > The outputted source map (regardless of the the sourceMapWithCode option) is a `SourceMapGenerator` from the Mozilla source-map library. However, the output...

[This commit](https://github.com/estools/escodegen/commit/5b152cf4353cc8b4752aabe6e39d5d98bcd65f71) sets the engine field to `>=0.12` but it looks like the CI runs still include 0.10. Is 0.10 no longer supported? Or was the commit only meant to...

when tried to install escodegen with bower `bower install escodegen`, it is failing because `Package optionator not found` ``` C:\test>bower install escodegen --save bower escodegen#* cached git://github.com/Constellation/escodegen.git#1.6.1 bower escodegen#* validate...

Do you support options to preserve defensive semi-colons and pass JSHint? Before - passes JSHint: ``` javascript ;(function() { ... ``` After - fails JSHint: ``` javascript ; (function() {......

The latest published version 1.7.0 seems to break the current esmangle: ``` git clone [email protected]:estools/esmangle.git cd esmangle npm install npm view escodegen version # shows that 1.7.0 was installed npm...

It seems this project uses `ExportDeclaration` for both `export` and `export default`. As far as I can tell most projects (including espree, estree, and estraverse) are now using `ExportDefaultDeclaration` for...