escodegen
escodegen copied to clipboard
ECMAScript code generator
Whenever I try to assign null values to expressions the following error is throw: ``` TypeError: Cannot read property 'toString' of undefined at generateRegExp (/Projects/Web/escodegen/node_modules/escodegen/escodegen.js:333:22) at generateExpression (/Projects/Web/escodegen/node_modules/escodegen/escodegen.js:1417:22) at generateStatement...
Code: ``` javascript grunt.initConfig({ // Unit tests. simplemocha: { all: { src: ['test/**/*-test.js'] } } }); ``` Handling: ``` javascript var ast = esprima.parse(code, { comment: true, range: true, tokens:...
Conform to standard license to prevent legal work.
Conform to the standard BSD-2 license to avoid legal work.
Hi! I can't find the release notes for v2.0. Also couldn't find a changelog.md What are the breaking changes?
Hi, guys. I'm working with some esprima/escodegen task and during work I found one issue. I'm adding some changes to my code via these tools and when I re-create my...
I use escodegen to minify Javascript: var sprm = { format: { compact:true, renumber:true, quotes:"double", semicolons:false, parentheses:false }}; var nstr = escodegen.generate(obj, sprm); When there is a division by a...
See #118, https://github.com/estools/esmangle/issues/85
The license is currently set to BSD which is ambiguous. Can you please update to "BSD-2-Clause" (see https://spdx.org/licenses/BSD-2-Clause.html)
In regard to issue #206 ("Attach comment to an empty object"): I have an initial modification of attachComments() and addComments() which supports comments in empty object/block. I've called them inline...