Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Docs: Maintenance > Bumping the Babel version #6027

Closed
Assignees
JoshuaKGoldberg
Labels
accepting prsGo ahead, send a pull request that resolves this issuedocumentationDocumentation ("docs") that needs adding/updating
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Before You File a Documentation Request Please Confirm You Have Done The Following...

Suggested Changes

Right now the@babel/* versions in ourpackage.json are out of date, behind e.g.@babel/code-frame@7.18.6:

"@babel/code-frame":"^7.16.7",
"@babel/eslint-parser":"^7.18.2",
"@babel/parser":"^7.18.0",
"@babel/types":"^7.18.2",

I'm also seeing infixtures-to-test.ts that there are some ignored fixture files due to previously filed Babel issues that have since been resolved:

*@see https://github.com/babel/babel/issues/14613

*@see https://github.com/babel/babel/issues/14589

When I update the@babel/* packages to latest, remove thoseignores, and runtypescript-estree tests, there are snapshot failures intypescript/expressions/instantiation-expression.src.ts.https://github.com/typescript-eslint/typescript-eslint/actions/runs/3490803456/jobs/5842786077

             91 |     // Received = Babel, Expected = TSESTree           > 92 |     expect(babelAst).toEqual(tsestreeAst);

It'd be helpful to have the system of fixtures and snapshots documented. In particular I'd like to document what to do when these discrepencies show up in a package bump or AST fix.

#5885 is another example of where the docs would be helpful.

Edit: some context here too:#5717 (review),#5926 (comment)

Affected URL(s)

https://typescript-eslint.io/docs/maintenance/package-updates, maybe?

Metadata

Metadata

Labels

accepting prsGo ahead, send a pull request that resolves this issuedocumentationDocumentation ("docs") that needs adding/updating

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp