Update content scope scripts to version 13.29.0#7919
Open
Update content scope scripts to version 13.29.0#7919
Conversation
266c0bd to
03a4c18
Compare
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
Updates the injected messaging bridge behavior to tolerate async
notifyimplementations and suppress unhandled promise rejections, which could affect webkit/app communication if regressions slip in. Otherwise changes are largely defensive/error-handling tweaks plus dependency bumps.Overview
Updates
@duckduckgo/content-scope-scriptsto13.29.0(and refreshes lockfile resolutions, e.g.@duckduckgo/autoconsentand@types/node).The bundled Android scripts adjust messaging to support async/Promise-like
notifypaths:WebkitMessagingTransport.notifybecomesasync,Messaging.notifydetects/handles promise rejections via centralized logging, and multiple call sites now explicitly discard returned promises withvoidto avoid unhandled rejections. Minor typing/docs tweaks are included (e.g.,wkSendJSDoc,observeElementRemovalcallback signature).Written by Cursor Bugbot for commit 03a4c18. This will update automatically on new commits. Configure here.