Update content scope scripts to version 15.2.0#8869
Merged
nalcalag merged 1 commit intoJun 15, 2026
Conversation
08e3b91 to
3e07848
Compare
3e07848 to
4b9d038
Compare
nalcalag
approved these changes
Jun 15, 2026
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.
This PR updates the content scope scripts dependency to the latest available version and copies the necessary files.
Tests will only run if something has changed in the
node_modules/@duckduckgo/content-scope-scriptsfolder.If only the package version has changed, there is no need to run the tests.
If tests have failed, see https://app.asana.com/0/1202561462274611/1203986899650836/f for further information on what to do next.
content-scope-scriptsfolder updateOnly
content-scope-scriptspackage updateNote
Medium Risk
Changes affect in-page privacy features (conditional config, ad hiding, Duck Player, Duck AI data clearing) across many sites; incorrect matching could alter blocking or clearing behavior until privacy tests pass.
Overview
Bumps
@duckduckgo/content-scope-scriptsfrom 15.1.0 to 15.2.0 and refreshes the vendored Android build bundles undernode_modules.The 15.2.0 injected scripts tighten config and feature matching:
processAttrtreats a numeric default of NaN as unset;matchConditionalFeatureSettingonly derives conditions whendomainis present and includes rules with no condition instead of dropping them. Element hiding only applies rules that have aselector, validatesitem.rulesas an array, and skips override comparisons for selector-less rules.Duck Player gains stricter DOM/event typing (
Node/Elementchecks beforecontains/matches), wraps messaging subscription payloads, and avoids thumbnail work when watch params are missing. Duck AI data clearing validates clear-data params, normalizes caught values toError, and fires async clears without unhandled promises. The duck player page bundle parsesytcfg/ embedded player response more defensively.package-lock.jsonalso records transitive bumps (e.g.@ghostery/adblocker2.17.3→2.18.0) from the resolved dependency tree.Reviewed by Cursor Bugbot for commit 4b9d038. Bugbot is set up for automated code reviews on this repo. Configure here.