build(deps-dev): bump prettier to 3.9.5 with formatting fixes - #2911
Draft
cursor[bot] wants to merge 1 commit into
Draft
build(deps-dev): bump prettier to 3.9.5 with formatting fixes#2911cursor[bot] wants to merge 1 commit into
cursor[bot] wants to merge 1 commit into
Conversation
Companion fix for #2901. Prettier 3.9.0 changes JS/TS formatting output; apply required reformats so lint and snapshots CI pass.
Contributor
Build Branch
Static preview entry points
QR codes (mobile preview)
Integration commandsnpm (Android / Extension): Swift Package Manager (Apple): .package(url: "https://github.com/duckduckgo/content-scope-scripts.git", branch: "pr-releases/cursor/dependency-update-risk-review-f921")git submodule (Windows): git -C submodules/content-scope-scripts fetch origin pr-releases/cursor/dependency-update-risk-review-f921
git -C submodules/content-scope-scripts checkout origin/pr-releases/cursor/dependency-update-risk-review-f921Pin to exact commitnpm (Android / Extension): Swift Package Manager (Apple): .package(url: "https://github.com/duckduckgo/content-scope-scripts.git", revision: "beac4c231a4f5699ea5774e6b576860af329a00a")git submodule (Windows): git -C submodules/content-scope-scripts fetch origin pr-releases/cursor/dependency-update-risk-review-f921
git -C submodules/content-scope-scripts checkout beac4c231a4f5699ea5774e6b576860af329a00a |
Contributor
[Beta] Generated file diffTime updated: Mon, 27 Jul 2026 11:19:10 GMT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Asana Task/Github Issue: Companion fix for #2901 (Dependabot prettier bump). Supersedes #2859.
Description
Bumps
prettierfrom3.8.4to3.9.5and applies the formatting changes required by Prettier 3.9.0's JavaScript/TypeScript output updates.Without the formatting commit,
npm run lintand the snapshotstest-clean-treejob fail because these files are reformatted by 3.9.x but not updated:messaging/lib/shared-types.ts(conditional-typeextendsparentheses)special-pages/pages/new-tab/app/activity/NormalizeDataProvider.js(ternary semicolon inprettier-ignoreblock)special-pages/pages/new-tab/app/components/BackgroundProvider.js(ternary semicolon inprettier-ignoreblock)special-pages/pages/new-tab/types/new-tab.ts(regenerated union type layout)Testing Steps
npx prettier . --checkpassesnpm run test-clean-treepassesnpx prettier@3.8.4 . --checkpasses onmain;npx prettier@3.9.5 . --checkfails before formatting fixes and passes afterChecklist