ast-types
ast-types copied to clipboard
Esprima-compatible implementation of the Mozilla JS Parser API
Bumps [@babel/parser](https://github.com/babel/babel/tree/HEAD/packages/babel-parser) from 7.16.4 to 7.18.10. Release notes Sourced from @babel/parser'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...
After merging #678, `builders.stringLiteral` generates a `node.extra` object with `extra.raw` having double quotes due to `JSON.stringify`: `recast.print` has [this](https://github.com/benjamn/recast/blob/master/lib/printer.ts#L935) code that doesn't reformat any quotes if `extra.raw` is present: ```ts...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.10 to 18.6.3. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [espree](https://github.com/eslint/espree) from 9.1.0 to 9.3.3. Release notes Sourced from espree's releases. v9.3.3 Bug Fixes b1eac6d fix: don't recognize directives in ES3, allow parenthesized rest target (#554) (Milos Djermanovic) Chores...
Bumps [flow-parser](https://github.com/facebook/flow) from 0.166.0 to 0.183.1. Release notes Sourced from flow-parser's releases. v0.183.1 Fix a regression in 0.183.0 on Windows where inconsistent handling of slashes within paths led to mismatches...
Fixes #768.
The link https://developer.mozilla.org/en-US/docs/SpiderMonkey/Parser_API is dead. It is used in the first paragraph of the README.
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.5.2 to 4.7.4. Release notes Sourced from typescript's releases. TypeScript 4.7.4 For release notes, check out the release announcement. For the complete list of fixed issues, check...
`ts-emit-clean` has a peer dependency on `typescript@^3.0.0` that conflicts with our devDependency on `[email protected]`. This breaks `npm install`. ```console $ git clone https://github.com/benjamn/ast-types.git $ cd ast-types $ npm install npm...
I'm working on a codemod to transform type imports into the new Typescript 4.5 syntax: https://github.com/facebook/jscodeshift/issues/481 I wanted to use `ImportSpecifierBuilder` to construct an import specifier that is a type...