Disable experimentalRawTransfer for oxc parser (#17663)

This commit is contained in:
fisker Cheung authored and GitHub committed 2025-06-24 10:16:38 +08:00
1 parent e9045d0fcc
commit 4292cbf2ef
2 files changed
+1 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@prettier/plugin-oxc", "name": "@prettier/plugin-oxc",
"version": "0.0.3", "version": "0.0.4",
"description": "Prettier Oxc plugin.", "description": "Prettier Oxc plugin.",
"type": "module", "type": "module",
"exports": { "exports": {
-1
View File
@@ -44,7 +44,6 @@ async function parseWithOptions(filepath, text, options) {
const result = await oxcParser.parseAsync(filepath, text, { const result = await oxcParser.parseAsync(filepath, text, {
preserveParens: true, preserveParens: true,
showSemanticErrors: false, showSemanticErrors: false,
experimentalRawTransfer: oxcParser.rawTransferSupported(),
...options, ...options,
}); });