Skip to content

Commit d1efeb3

Browse files
authored
chore(deps): update @swc-next/parser to v0.7.0 (#647)
1 parent 562128a commit d1efeb3

3 files changed

Lines changed: 66 additions & 74 deletions

File tree

‎packages/rstack/src/fmt/swcNextPlugin.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ const parseWithOptions = (
493493
): ParseResult => {
494494
const result = parseWithSwcNext(text, {
495495
preserveParens: true,
496-
comments: 'flat',
496+
comments: 'all',
497497
// Return diagnostics so they can be converted to Prettier-compatible errors.
498498
errorRecovery: true,
499499
...options,

‎pnpm-lock.yaml‎

Lines changed: 64 additions & 72 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pnpm-workspace.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ catalog:
2929
'@rstest/adapter-rsbuild': '~0.12.6'
3030
'@rstest/adapter-rslib': '~0.12.6'
3131
'@rstest/core': '~0.12.6'
32-
'@swc-next/parser': '0.6.1'
32+
'@swc-next/parser': '0.7.0'
3333
'@testing-library/dom': '^10.4.2'
3434
'@testing-library/jest-dom': '^7.0.1'
3535
'@testing-library/react': '^16.3.3'

0 commit comments

Comments
 (0)