astring icon indicating copy to clipboard operation
astring copied to clipboard

🌳 Tiny and fast JavaScript code generator from an ESTree-compliant AST.

Results 78 astring issues
Sort by recently updated
recently updated
newest added

I'm trying to parse and generate code using acorn and astring and I get the following issue: I parse this code using acorn: ``` // comment before const line =...

enhancement

### Discussed in https://github.com/davidbonnet/astring/discussions/587 Originally posted by **stefanprobst** November 14, 2021 hi @davidbonnet, what do you think about allowing to (optionally) skip unknown node types? for example the typescript nodes...

enhancement

# Motivation Hi. I have plans to migrate my project from `escodegen` to `astring`. Currently, my project heavily uses `compact` option from `escodegen`. It would be amazing to add this...

feature

# Motivation I'm using `astring` as part of an atom plugin to help with code generation. It would be great to be able to control whether semicolons are emitted, so...

feature

# Motivation As a developer, I'd like to use `astring` as a part of a code transformation toolchain and pick the type of quotes that are going to be rendered....

feature

Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.14.3 to 7.18.10. Release notes Sourced from @​babel/cli's releases. v7.18.10 (2022-08-01) :rocket: New Feature babel-helper-string-parser, babel-types #14757 feat: Automatically generate cooked for templateElement (@​liuxingbaoyu) :bug: Bug Fix...

dependencies

Bumps [uglify-js](https://github.com/mishoo/UglifyJS) from 3.13.8 to 3.17.0. Release notes Sourced from uglify-js's releases. v3.17.0 Features merge common tail of if statements (996836b67e1800af188d7ca4e79813967ebc8bc2) eliminate superfluous Object() wrappers (db6fd6db3e8eaa0b2ebbddb5e1cbcea81f0631ab) improve elimination of return...

dependencies

Bumps [sucrase](https://github.com/alangpierce/sucrase) from 3.18.1 to 3.25.0. Changelog Sourced from sucrase's changelog. 3.25.0 (2022-08-01) Add two new options to more closely match the module: nodenext option from TypeScript 4.7: When using...

dependencies

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.14.3 to 7.18.13. Release notes Sourced from @​babel/core's releases. v7.18.13 (2022-08-22) Thanks @​djpohly for your first PR! :bug: Bug Fix babel-generator #14869 fix: jsx with retainLines (@​liuxingbaoyu)...

dependencies

Bumps [@babel/generator](https://github.com/babel/babel/tree/HEAD/packages/babel-generator) from 7.14.3 to 7.18.13. Release notes Sourced from @​babel/generator's releases. v7.18.13 (2022-08-22) Thanks @​djpohly for your first PR! :bug: Bug Fix babel-generator #14869 fix: jsx with retainLines (@​liuxingbaoyu)...

dependencies