Skip to content

Update dependency prettier to v3.8.4#257

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/prettier-3.x-lockfile
Jun 24, 2026
Merged

Update dependency prettier to v3.8.4#257
renovate[bot] merged 1 commit into
mainfrom
renovate/prettier-3.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
prettier (source) 3.8.13.8.4 age confidence

Release Notes

prettier/prettier (prettier)

v3.8.4

Compare Source

diff

Markdown: Fix blank lines between list items and nested sub-lists being removed in Markdown/MDX (#​17746 by @​byplayer)

Prettier was removing blank lines between list items and their nested sub-lists, converting loose lists into tight lists and changing their semantic meaning.

<!-- Input -->
- a

  - b

- c

  - d

<!-- Prettier 3.8.3 -->
- a
  - b
- c
  - d

<!-- Prettier 3.8.4 -->
- a

  - b

- c

  - d

v3.8.3

Compare Source

diff

SCSS: Prevent trailing comma in if() function (#​18471 by @​kovsu)
// Input
$value: if(sass(false): 1; else: -1);

// Prettier 3.8.2
$value: if(
  sass(false): 1; else: -1,
);

// Prettier 3.8.3
$value: if(sass(false): 1; else: -1);

v3.8.2

Compare Source

diff

Angular: Support Angular v21.2 (#​18722, #​19034 by @​fisker)

Exhaustive typechecking with @default never;

<!-- Input -->
@&#8203;switch (foo) {
  @&#8203;case (1) {}
  @&#8203;default never;
}

<!-- Prettier 3.8.1 -->
SyntaxError: Incomplete block "default never". If you meant to write the @&#8203; character, you should use the "&#&#8203;64;" HTML entity instead. (3:3)

<!-- Prettier 3.8.2 -->
@&#8203;switch (foo) {
  @&#8203;case (1) {}
  @&#8203;default never;
}

arrow function and instanceof expressions.

<!-- Input -->
@&#8203;let fn = (a) =>        a?    1:2;

{{ fn ( a         instanceof b)}}

<!-- Prettier 3.8.1 -->
@&#8203;let fn = (a) =>        a?    1:2;

{{ fn ( a         instanceof b)}}

<!-- Prettier 3.8.2 -->
@&#8203;let fn = (a) => (a ? 1 : 2);

{{ fn(a instanceof b) }}

Configuration

📅 Schedule: (in timezone America/New_York)

  • Branch creation
    • "before 8am every weekday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/prettier-3.x-lockfile branch 2 times, most recently from 7936036 to cb6e64e Compare June 24, 2026 20:09
@renovate renovate Bot enabled auto-merge June 24, 2026 20:09
Renovate's original lockfile-only update bumped prettier to 3.8.4 in the
lockfiles but left package.json pinned at ^3.2.5, so `yarn install
--frozen-lockfile` (and `npm ci`) failed because the lockfile entry
(prettier@^3.8.4) no longer matched the declared constraint, breaking
the build.

Fix it the correct way: bump the package.json devDependency to ^3.8.4
and regenerate both yarn.lock and package-lock.json so they are
consistent with the manifest.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ryandens ryandens force-pushed the renovate/prettier-3.x-lockfile branch from cb6e64e to 18fc432 Compare June 24, 2026 20:12
@renovate renovate Bot added this pull request to the merge queue Jun 24, 2026
Merged via the queue into main with commit fd54e64 Jun 24, 2026
3 checks passed
@renovate renovate Bot deleted the renovate/prettier-3.x-lockfile branch June 24, 2026 20:14
ryandens added a commit that referenced this pull request Jun 24, 2026
The default rangeStrategy ("auto") leaves package.json ranges untouched
when a new version is still within range, updating only the lockfiles.
That rewrote lockfile entries (e.g. prettier@^3.8.4, react@^19.2.7) to
specs that no longer matched the package.json constraints (^3.2.5,
^19.0.0), so `yarn install --frozen-lockfile` failed and broke the
build on every such Renovate PR (#251, #257).

Setting rangeStrategy to "bump" makes Renovate bump the package.json
range to the new version and regenerate the lockfiles together, keeping
the manifest and lockfiles consistent.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant