feat(oxfmt): bump bundled Prettier version to 3.9.9 (#27002)

Follow Prettier v3.9.9 changes: https://github.com/prettier/prettier/pull/20140

Required `oxc_markdown_parser` bump.
This commit is contained in:
leaysgur committed 2026-09-24 07:35:13 +00:00
1 parent 0c924f2ebc
commit e0b1f9f9c0
9 files changed
+28 -28

No files matched your search

Generated
+2 -2
View File
@@ -1705,9 +1705,9 @@ dependencies = [
[[package]]
name = "oxc-markdown-parser"
version = "0.0.1"
version = "0.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5e396d52161ecde3ba200f45b682ef14da5a8948378c4504deb31ee1842cfd78"
checksum = "bcffa2a1f78d39e281fd5446ab90e224d0ebf6d761413783b4445e2051049914"
dependencies = [
"oxc_allocator",
]
+1 -1
View File
@@ -240,7 +240,7 @@ num-bigint = "0.5.0" # Big integers
num-traits = "0.2.19" # Numeric traits
oxc-css-parser = "0.0.15" # CSS/SCSS/Less parser (raffia 0.12.3 fork: adds `template_placeholder` typed placeholders for css-in-js + valid-syntax coverage fixes (see crates/oxc_formatter_css/AGENTS.md))
oxc-graphql-parser = "0.0.9" # GraphQL parser (direct AST; apollo-parser 0.8.6 fork aligned with graphql-js 17 syntax)
oxc-markdown-parser = "0.0.1" # CommonMark + GFM parser (span-faithful, style-preserving typed AST)
oxc-markdown-parser = "0.0.2" # CommonMark + GFM parser (span-faithful, style-preserving typed AST)
oxc-toml = "0.14.5" # TOML formatter
oxc-yaml-parser = "0.0.6" # YAML 1.2 parser (comment-preserving typed AST, node naming from `yaml-unist-parser`)
papaya = "0.2.4" # Concurrent hash map
+1 -1
View File
@@ -20,7 +20,7 @@
"generate-config-types": "node scripts/generate-config-types.ts"
},
"dependencies": {
"prettier": "3.9.8",
"prettier": "3.9.9",
"prettier-plugin-svelte": "4.1.1",
"prettier-plugin-tailwindcss": "0.0.0-insiders.19faf8b",
"tinypool": "2.2.0"
+1 -1
View File
@@ -34,7 +34,7 @@ text
A document whose first block is a thematic break gets `***`, never `---`:
the next run (Prettier's and ours) would read `---` ... `---` as front matter and swallow `text` into it,
which is what the input itself would be with a `---` at the end (`front-matter.md`).
Prettier `main` prints `***` since #19839; the pin (3.9.8) still prints `---`.
Prettier `main` prints `***` since #19839; the pin (3.9.9) still prints `---`.
## url-escaping
@@ -6,8 +6,8 @@
- [ ] **CI is green** - <!-- if any check is red or skipped, name it and say why. "Deploy" and
"Tear down PR preview" showing skipped is expected. -->
- [ ] a $x
y$ b
- [ ] a $$x
y$$ b
- [ ] ![alt
text](u) and [t](u "one
@@ -10,8 +10,8 @@ source: crates/oxc_formatter_markdown/tests/fixtures/mod.rs
- [ ] **CI is green** - <!-- if any check is red or skipped, name it and say why. "Deploy" and
"Tear down PR preview" showing skipped is expected. -->
- [ ] a $x
y$ b
- [ ] a $$x
y$$ b
- [ ] ![alt
text](u) and [t](u "one
@@ -35,8 +35,8 @@ source: crates/oxc_formatter_markdown/tests/fixtures/mod.rs
- [ ] **CI is green** - <!-- if any check is red or skipped, name it and say why. "Deploy" and
"Tear down PR preview" showing skipped is expected. -->
- [ ] a $x
y$ b
- [ ] a $$x
y$$ b
- [ ] ![alt
text](u) and [t](u "one
@@ -59,8 +59,8 @@ source: crates/oxc_formatter_markdown/tests/fixtures/mod.rs
- [ ] **CI is green** - <!-- if any check is red or skipped, name it and say why. "Deploy" and
"Tear down PR preview" showing skipped is expected. -->
- [ ] a $x
y$ b
- [ ] a $$x
y$$ b
- [ ] ![alt
text](u) and [t](u "one
@@ -117,7 +117,7 @@ const TOKENS: &[&str] = &[
"$",
"$$",
"$$\n",
"$x$",
"$$x$$",
"$$m\n",
"{%",
"%}",
@@ -2,7 +2,7 @@
source: crates/oxc_formatter_markdown/tests/conformance.rs
expression: report
---
markdown compatibility: 1262/1274 (99.06%), 0 files skipped
markdown compatibility: 1263/1275 (99.06%), 0 files skipped
# Failed
+13 -13
View File
@@ -175,14 +175,14 @@ importers:
apps/oxfmt:
dependencies:
prettier:
specifier: 3.9.8
version: 3.9.8
specifier: 3.9.9
version: 3.9.9
prettier-plugin-svelte:
specifier: 4.1.1
version: 4.1.1(prettier@3.9.8)(svelte@5.57.1(@typescript-eslint/types@8.69.0))
version: 4.1.1(prettier@3.9.9)(svelte@5.57.1(@typescript-eslint/types@8.69.0))
prettier-plugin-tailwindcss:
specifier: 0.0.0-insiders.19faf8b
version: 0.0.0-insiders.19faf8b(prettier-plugin-svelte@4.1.1(prettier@3.9.8)(svelte@5.57.1(@typescript-eslint/types@8.69.0)))(prettier@3.9.8)
version: 0.0.0-insiders.19faf8b(prettier-plugin-svelte@4.1.1(prettier@3.9.9)(svelte@5.57.1(@typescript-eslint/types@8.69.0)))(prettier@3.9.9)
tinypool:
specifier: 2.2.0
version: 2.2.0
@@ -5340,8 +5340,8 @@ packages:
prettier-plugin-svelte:
optional: true
prettier@3.9.8:
resolution: {integrity: sha512-WRFq3Wn3WId7LLROfMLdH7xaFr2jR62wU8nLO6rQUOLOxNZUviyJQs1M0iIhLexSFy+L+w0ch66wtoO2jRjG0A==}
prettier@3.9.9:
resolution: {integrity: sha512-Z/CJHIkdujO/OtN7nXUii0Rf3VT5SRuhjBA82Xvu2XhBUgX3nhP67T0LHceBdQLex7OOFGTox+Q5Yg8Jk2Qivg==}
engines: {node: '>=14'}
hasBin: true
@@ -9906,7 +9906,7 @@ snapshots:
js-yaml: 5.4.1
lodash: 4.18.1
minimist: 1.2.8
prettier: 3.9.8
prettier: 3.9.9
tinyglobby: 0.2.17
json-schema-traverse@0.4.1: {}
@@ -10524,18 +10524,18 @@ snapshots:
prelude-ls@1.2.1: {}
prettier-plugin-svelte@4.1.1(prettier@3.9.8)(svelte@5.57.1(@typescript-eslint/types@8.69.0)):
prettier-plugin-svelte@4.1.1(prettier@3.9.9)(svelte@5.57.1(@typescript-eslint/types@8.69.0)):
dependencies:
prettier: 3.9.8
prettier: 3.9.9
svelte: 5.57.1(@typescript-eslint/types@8.69.0)
prettier-plugin-tailwindcss@0.0.0-insiders.19faf8b(prettier-plugin-svelte@4.1.1(prettier@3.9.8)(svelte@5.57.1(@typescript-eslint/types@8.69.0)))(prettier@3.9.8):
prettier-plugin-tailwindcss@0.0.0-insiders.19faf8b(prettier-plugin-svelte@4.1.1(prettier@3.9.9)(svelte@5.57.1(@typescript-eslint/types@8.69.0)))(prettier@3.9.9):
dependencies:
prettier: 3.9.8
prettier: 3.9.9
optionalDependencies:
prettier-plugin-svelte: 4.1.1(prettier@3.9.8)(svelte@5.57.1(@typescript-eslint/types@8.69.0))
prettier-plugin-svelte: 4.1.1(prettier@3.9.9)(svelte@5.57.1(@typescript-eslint/types@8.69.0))
prettier@3.9.8: {}
prettier@3.9.9: {}
pretty-format@27.5.1:
dependencies: