-
Notifications
You must be signed in to change notification settings - Fork 352
Comparing changes
Open a pull request
base repository: benjamn/recast
base: v0.23.0
head repository: benjamn/recast
compare: v0.23.1
- 17 commits
- 10 files changed
- 3 contributors
Commits on Dec 11, 2022
-
Bump flow-parser from 0.156.0 to 0.195.0 (#1245)
Bumps [flow-parser](https://github.com/facebook/flow) from 0.156.0 to 0.195.0. - [Release notes](https://github.com/facebook/flow/releases) - [Changelog](https://github.com/facebook/flow/blob/main/Changelog.md) - [Commits](facebook/flow@v0.156.0...v0.195.0)
Configuration menu - View commit details
-
Copy full SHA for 6b7353a - Browse repository at this point
Copy the full SHA 6b7353aView commit details -
chore(dev-deps): update
@babel/*
Updates babel dependencies to add support for parsing [`TSInstantiationExpression`s](https://devblogs.microsoft.com/typescript/announcing-typescript-4-7-beta/#instantiation-expressions).
Configuration menu - View commit details
-
Copy full SHA for 2cf2432 - Browse repository at this point
Copy the full SHA 2cf2432View commit details -
feat(ts): add support for
TSInstantiationExpression
Refs #1230 See https://devblogs.microsoft.com/typescript/announcing-typescript-4-7-beta/#instantiation-expressions. This won't work yet because `ast-types` does not yet know about `TSInstantiationExpression`. Once it does `recast` will need to be updated to include the newer release of `ast-types`, at which point it will be supported.
Configuration menu - View commit details
-
Copy full SHA for 413d600 - Browse repository at this point
Copy the full SHA 413d600View commit details -
Configuration menu - View commit details
-
Copy full SHA for 640acde - Browse repository at this point
Copy the full SHA 640acdeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 62ffa68 - Browse repository at this point
Copy the full SHA 62ffa68View commit details -
Implement pretty-printer case for TSTypeCastExpression.
I'm basing this implementation on the following old Babel printer case: https://github.com/babel/babel/blob/b84f4f2d69228010f86baf82d107728b860bca9d/packages/babel-generator/src/generators/typescript.js#L376-L379 Since I can't find `TSTypeCastExpression` anywhere in the Babel codebase these days, it might not be used in the wild any longer, but it doesn't hurt to have a printer case for it, just in case it pops up.
Configuration menu - View commit details
-
Copy full SHA for e1bc08d - Browse repository at this point
Copy the full SHA e1bc08dView commit details -
Implement pretty-printer case for TSSatisfiesExpression.
The printer for the `TSSatisfiesExpression` type is almost identical to the one for `TSAsExpression`, according to this implementation by Babel: https://github.com/babel/babel/blob/f5b52208f05157a348fdfaa0222c07a9a83fb101/packages/babel-generator/src/generators/typescript.ts#L525-L541
Configuration menu - View commit details
-
Copy full SHA for e51e1bf - Browse repository at this point
Copy the full SHA e51e1bfView commit details
Commits on Dec 13, 2022
-
Temporarily change package.json version to 0.23.0-pr1232.0.
I will publish this version to npm using the pr-1232 dist-tag to make prerelease testing easier.
Configuration menu - View commit details
-
Copy full SHA for 432338e - Browse repository at this point
Copy the full SHA 432338eView commit details -
Revert "Temporarily change package.json version to 0.23.0-pr1232.0."
This reverts commit 432338e.
Configuration menu - View commit details
-
Copy full SHA for 63cc9ba - Browse repository at this point
Copy the full SHA 63cc9baView commit details -
Implement pretty-printer case for ClassAccessorProperty.
It's very similar to the one from Babel: https://github.com/babel/babel/blob/f5b52208f05157a348fdfaa0222c07a9a83fb101/packages/babel-generator/src/generators/classes.ts#L123-L166. However, `ast-types` doesn't seem to think a `definite` attribute exists on this node type so the type checking fails.
Configuration menu - View commit details
-
Copy full SHA for 7804875 - Browse repository at this point
Copy the full SHA 7804875View commit details
Commits on Dec 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 63d5431 - Browse repository at this point
Copy the full SHA 63d5431View commit details -
Restore line breaks to improve test code readability.
The loss of line breaks is probably something Prettier decided to do at some point.
Configuration menu - View commit details
-
Copy full SHA for d9cfd16 - Browse repository at this point
Copy the full SHA d9cfd16View commit details -
Merge pull request #1232 from benjamn/1230-error-did-not-recognize-ob…
…ject-of-type-tsinstantiationexpression Add pretty-printer support for `TSInstantiationExpression` and other missing AST types, as well as updating ast-types to version 0.16.0.
Configuration menu - View commit details
-
Copy full SHA for 7a0a0b2 - Browse repository at this point
Copy the full SHA 7a0a0b2View commit details -
Bump @types/node from 16.4.0 to 18.11.15 (#1253)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.4.0 to 18.11.15. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
Configuration menu - View commit details
-
Copy full SHA for e586f4e - Browse repository at this point
Copy the full SHA e586f4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e54f31 - Browse repository at this point
Copy the full SHA 8e54f31View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9aa327 - Browse repository at this point
Copy the full SHA e9aa327View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c8b2e6 - Browse repository at this point
Copy the full SHA 6c8b2e6View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.23.0...v0.23.1