From c5c3b295e0def634ae265a3eb2de9f973100e7df Mon Sep 17 00:00:00 2001 From: daxmobile Date: Tue, 25 Mar 2025 02:04:28 +0000 Subject: [PATCH] Update content scope scripts to version 8.5.0 --- .../build/android/autofillPasswordImport.js | 7 +++--- .../build/android/brokerProtection.js | 7 +++--- .../build/android/contentScope.js | 7 +++--- package-lock.json | 24 +++++++++---------- package.json | 2 +- 5 files changed, 25 insertions(+), 22 deletions(-) diff --git a/node_modules/@duckduckgo/content-scope-scripts/build/android/autofillPasswordImport.js b/node_modules/@duckduckgo/content-scope-scripts/build/android/autofillPasswordImport.js index c8eb37e8f133..8082b8f03d5f 100644 --- a/node_modules/@duckduckgo/content-scope-scripts/build/android/autofillPasswordImport.js +++ b/node_modules/@duckduckgo/content-scope-scripts/build/android/autofillPasswordImport.js @@ -409,7 +409,7 @@ function isGloballyDisabled(args) { return args.site.allowlisted || args.site.isBroken; } - var platformSpecificFeatures = ["windowsPermissionUsage", "messageBridge"]; + var platformSpecificFeatures = ["windowsPermissionUsage", "messageBridge", "favicon"]; function isPlatformSpecificFeature(featureName) { return platformSpecificFeatures.includes(featureName); } @@ -480,12 +480,13 @@ "brokerProtection", "performanceMetrics", "breakageReporting", - "autofillPasswordImport" + "autofillPasswordImport", + "favicon" ] ); var platformSupport = { apple: ["webCompat", ...baseFeatures], - "apple-isolated": ["duckPlayer", "brokerProtection", "performanceMetrics", "clickToLoad", "messageBridge"], + "apple-isolated": ["duckPlayer", "brokerProtection", "performanceMetrics", "clickToLoad", "messageBridge", "favicon"], android: [...baseFeatures, "webCompat", "breakageReporting", "duckPlayer", "messageBridge"], "android-broker-protection": ["brokerProtection"], "android-autofill-password-import": ["autofillPasswordImport"], diff --git a/node_modules/@duckduckgo/content-scope-scripts/build/android/brokerProtection.js b/node_modules/@duckduckgo/content-scope-scripts/build/android/brokerProtection.js index 96ee5ed57390..17bfef9449c7 100644 --- a/node_modules/@duckduckgo/content-scope-scripts/build/android/brokerProtection.js +++ b/node_modules/@duckduckgo/content-scope-scripts/build/android/brokerProtection.js @@ -1787,7 +1787,7 @@ function isGloballyDisabled(args) { return args.site.allowlisted || args.site.isBroken; } - var platformSpecificFeatures = ["windowsPermissionUsage", "messageBridge"]; + var platformSpecificFeatures = ["windowsPermissionUsage", "messageBridge", "favicon"]; function isPlatformSpecificFeature(featureName) { return platformSpecificFeatures.includes(featureName); } @@ -1833,12 +1833,13 @@ "brokerProtection", "performanceMetrics", "breakageReporting", - "autofillPasswordImport" + "autofillPasswordImport", + "favicon" ] ); var platformSupport = { apple: ["webCompat", ...baseFeatures], - "apple-isolated": ["duckPlayer", "brokerProtection", "performanceMetrics", "clickToLoad", "messageBridge"], + "apple-isolated": ["duckPlayer", "brokerProtection", "performanceMetrics", "clickToLoad", "messageBridge", "favicon"], android: [...baseFeatures, "webCompat", "breakageReporting", "duckPlayer", "messageBridge"], "android-broker-protection": ["brokerProtection"], "android-autofill-password-import": ["autofillPasswordImport"], diff --git a/node_modules/@duckduckgo/content-scope-scripts/build/android/contentScope.js b/node_modules/@duckduckgo/content-scope-scripts/build/android/contentScope.js index 92983c987340..322ac7fce7f0 100644 --- a/node_modules/@duckduckgo/content-scope-scripts/build/android/contentScope.js +++ b/node_modules/@duckduckgo/content-scope-scripts/build/android/contentScope.js @@ -1268,7 +1268,7 @@ function isGloballyDisabled(args) { return args.site.allowlisted || args.site.isBroken; } - var platformSpecificFeatures = ["windowsPermissionUsage", "messageBridge"]; + var platformSpecificFeatures = ["windowsPermissionUsage", "messageBridge", "favicon"]; function isPlatformSpecificFeature(featureName) { return platformSpecificFeatures.includes(featureName); } @@ -1314,12 +1314,13 @@ "brokerProtection", "performanceMetrics", "breakageReporting", - "autofillPasswordImport" + "autofillPasswordImport", + "favicon" ] ); var platformSupport = { apple: ["webCompat", ...baseFeatures], - "apple-isolated": ["duckPlayer", "brokerProtection", "performanceMetrics", "clickToLoad", "messageBridge"], + "apple-isolated": ["duckPlayer", "brokerProtection", "performanceMetrics", "clickToLoad", "messageBridge", "favicon"], android: [...baseFeatures, "webCompat", "breakageReporting", "duckPlayer", "messageBridge"], "android-broker-protection": ["brokerProtection"], "android-autofill-password-import": ["autofillPasswordImport"], diff --git a/package-lock.json b/package-lock.json index 8c4e89a1e704..9f33d36b56b4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "dependencies": { "@duckduckgo/autoconsent": "^12.15.0", "@duckduckgo/autofill": "github:duckduckgo/duckduckgo-autofill#17.0.0", - "@duckduckgo/content-scope-scripts": "github:duckduckgo/content-scope-scripts#8.4.0", + "@duckduckgo/content-scope-scripts": "github:duckduckgo/content-scope-scripts#8.5.0", "@duckduckgo/privacy-dashboard": "github:duckduckgo/privacy-dashboard#8.4.0", "@duckduckgo/privacy-reference-tests": "github:duckduckgo/privacy-reference-tests#1741215780" }, @@ -63,7 +63,7 @@ "license": "Apache-2.0" }, "node_modules/@duckduckgo/content-scope-scripts": { - "resolved": "git+ssh://git@github.com/duckduckgo/content-scope-scripts.git#eb11d8809f41ba8bc320f5f0c4028122a7ce8cd4", + "resolved": "git+ssh://git@github.com/duckduckgo/content-scope-scripts.git#8fa69d009d3205b969bc76477897e3b82095f9f6", "license": "Apache-2.0", "workspaces": [ "injected", @@ -283,9 +283,9 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "22.13.10", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.13.10.tgz", - "integrity": "sha512-I6LPUvlRH+O6VRUqYOcMudhaIdUVWfsjnZavnsraHvpBwaEyMN29ry+0UVJhImYL16xsscu0aske3yA+uPOWfw==", + "version": "22.13.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.13.13.tgz", + "integrity": "sha512-ClsL5nMwKaBRwPcCvH8E7+nU4GxHVx1axNvMZTFHMEfNI7oahimt26P5zjVCRrjiIWj6YFXfE1v3dEp94wLcGQ==", "dev": true, "license": "MIT", "dependencies": { @@ -670,18 +670,18 @@ } }, "node_modules/tldts-core": { - "version": "6.1.84", - "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-6.1.84.tgz", - "integrity": "sha512-NaQa1W76W2aCGjXybvnMYzGSM4x8fvG2AN/pla7qxcg0ZHbooOPhA8kctmOZUDfZyhDL27OGNbwAeig8P4p1vg==", + "version": "6.1.85", + "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-6.1.85.tgz", + "integrity": "sha512-DTjUVvxckL1fIoPSb3KE7ISNtkWSawZdpfxGxwiIrZoO6EbHVDXXUIlIuWympPaeS+BLGyggozX/HTMsRAdsoA==", "license": "MIT" }, "node_modules/tldts-experimental": { - "version": "6.1.84", - "resolved": "https://registry.npmjs.org/tldts-experimental/-/tldts-experimental-6.1.84.tgz", - "integrity": "sha512-ee8K2ooTDAJhhGT0FrPAtkql/k8MM0/3O3RRAJ4C9pjuO1wwFnfRbSY6fYT7h2mFrdcDzb6Kre591UroI+pTNA==", + "version": "6.1.85", + "resolved": "https://registry.npmjs.org/tldts-experimental/-/tldts-experimental-6.1.85.tgz", + "integrity": "sha512-oM+m5GnOdxgbnfSfix98YvzAIgkKZbdqMD/BTLbnbL349MyaEeNo6z8jVX9/lrL6DvnjgW7RV+sIVojrFvB+hw==", "license": "MIT", "dependencies": { - "tldts-core": "^6.1.84" + "tldts-core": "^6.1.85" } }, "node_modules/undici-types": { diff --git a/package.json b/package.json index b4f01b6fdd1b..5c4fbf2b883c 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "dependencies": { "@duckduckgo/autoconsent": "^12.15.0", "@duckduckgo/autofill": "github:duckduckgo/duckduckgo-autofill#17.0.0", - "@duckduckgo/content-scope-scripts": "github:duckduckgo/content-scope-scripts#8.4.0", + "@duckduckgo/content-scope-scripts": "github:duckduckgo/content-scope-scripts#8.5.0", "@duckduckgo/privacy-dashboard": "github:duckduckgo/privacy-dashboard#8.4.0", "@duckduckgo/privacy-reference-tests": "github:duckduckgo/privacy-reference-tests#1741215780" }