@duckduckgo/autoconsent 18.6.0 → 18.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/ci/asana-create-release-task.js +5 -1
- package/dist/addon-firefox/background.bundle.js +1 -0
- package/dist/addon-firefox/compact-rules.json +1 -1
- package/dist/addon-firefox/content.bundle.js +1 -0
- package/dist/addon-firefox/manifest.json +1 -1
- package/dist/addon-firefox/rule-index.json +1 -1
- package/dist/addon-firefox/rules.json +1 -1
- package/dist/addon-mv3/background.bundle.js +1 -0
- package/dist/addon-mv3/compact-rules.json +1 -1
- package/dist/addon-mv3/content.bundle.js +1 -0
- package/dist/addon-mv3/manifest.json +1 -1
- package/dist/addon-mv3/rule-index.json +1 -1
- package/dist/addon-mv3/rules.json +1 -1
- package/dist/autoconsent.cjs.js +1 -0
- package/dist/autoconsent.esm.js +1 -0
- package/dist/autoconsent.playwright.js +1 -0
- package/dist/autoconsent.standalone.js +2 -1
- package/dist/types/eval-snippets.d.ts +1 -0
- package/lib/eval-snippets.ts +1 -0
- package/package.json +1 -1
- package/rules/autoconsent/burpee-com.json +5 -1
- package/rules/autoconsent/mediamarkt-de.json +12 -2
- package/rules/autoconsent/posthog.com.json +12 -0
- package/rules/autoconsent/sirdata.json +1 -1
- package/rules/autoconsent/walmart-ca.json +13 -2
- package/rules/autoconsent/wbd-legal-terms.json +4 -5
- package/rules/compact-rules.json +1 -1
- package/rules/rule-index.json +1 -1
- package/rules/rules.json +1 -1
- package/tests/mediamarkt.spec.ts +1 -1
- package/tests/posthog.com.spec.ts +3 -0
- package/tests/trustarc.spec.ts +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,26 @@
|
|
|
1
|
+
# v18.7.0 (Wed Nov 18 2026)
|
|
2
|
+
|
|
3
|
+
#### Rules
|
|
4
|
+
|
|
5
|
+
- Rule update: Rule fix for Site Breakage: can't add items to shopping cart on royalmail.com [#2646](https://github.com/duckduckgo/autoconsent/pull/2646) ([@daxtheduck](https://github.com/daxtheduck))
|
|
6
|
+
- Rule update: ddg_android (euw) CPM magic report: www.walmart.ca [#2598](https://github.com/duckduckgo/autoconsent/pull/2598) ([@daxtheduck](https://github.com/daxtheduck))
|
|
7
|
+
- Sirdata: opt in with Accept all, not the first choice button [#2643](https://github.com/duckduckgo/autoconsent/pull/2643) ([@sammacbeth](https://github.com/sammacbeth) [@daxtheduck](https://github.com/daxtheduck))
|
|
8
|
+
- Rule update: Cookie popup on mediamarkt.nl [#2657](https://github.com/duckduckgo/autoconsent/pull/2657) ([@daxtheduck](https://github.com/daxtheduck) [@sammacbeth](https://github.com/sammacbeth))
|
|
9
|
+
- Rule update: CPM feedback: bleacherreport.com [#2658](https://github.com/duckduckgo/autoconsent/pull/2658) ([@daxtheduck](https://github.com/daxtheduck) [@sammacbeth](https://github.com/sammacbeth))
|
|
10
|
+
- Rule update: Cookie popup on posthog.com [#2659](https://github.com/duckduckgo/autoconsent/pull/2659) ([@daxtheduck](https://github.com/daxtheduck) [@sammacbeth](https://github.com/sammacbeth))
|
|
11
|
+
|
|
12
|
+
#### CI / Release Automation
|
|
13
|
+
|
|
14
|
+
- Release task: read every page of scheduled tasks [#2739](https://github.com/duckduckgo/autoconsent/pull/2739) ([@muodov](https://github.com/muodov))
|
|
15
|
+
|
|
16
|
+
#### Authors: 3
|
|
17
|
+
|
|
18
|
+
- Dax ([@daxtheduck](https://github.com/daxtheduck))
|
|
19
|
+
- Maxim Tsoy ([@muodov](https://github.com/muodov))
|
|
20
|
+
- Sam Macbeth ([@sammacbeth](https://github.com/sammacbeth))
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
1
24
|
# v18.6.0 (Tue Nov 17 2026)
|
|
2
25
|
|
|
3
26
|
#### Rules
|
|
@@ -78,10 +78,14 @@ const waitForJobSuccess = async (job_gid) => {
|
|
|
78
78
|
* @returns {Promise<string>}
|
|
79
79
|
*/
|
|
80
80
|
const processReleaseTasks = async (releaseTaskGid) => {
|
|
81
|
-
|
|
81
|
+
// The response is paginated (50 per page by default), so follow every
|
|
82
|
+
// page. Reading only `.data` left the rest for the next release.
|
|
83
|
+
const firstPage = await asana.tasks.getTasksForSection(scheduledForReleaseSectionGid, {
|
|
82
84
|
opt_fields: 'name,permalink_url,completed',
|
|
83
85
|
completed_since: 'now', // Fetch only incomplete tasks
|
|
86
|
+
limit: 100,
|
|
84
87
|
});
|
|
88
|
+
const tasks = await firstPage.fetch();
|
|
85
89
|
|
|
86
90
|
if (!tasks || tasks.length === 0) {
|
|
87
91
|
return '';
|
|
@@ -175,6 +175,7 @@
|
|
|
175
175
|
document.cookie.split(";").find((s) => s.trim().startsWith("_pandectes_gdpr")).split("=")[1]
|
|
176
176
|
)
|
|
177
177
|
).status === "deny",
|
|
178
|
+
EVAL_POSTHOG_TEST: () => localStorage.getItem("cookie_consent") === "acknowledged",
|
|
178
179
|
EVAL_POVR_GOBACK: () => window.history.back() || true,
|
|
179
180
|
EVAL_PUBTECH_0: () => document.cookie.includes("euconsent-v2") && (document.cookie.match(/.YAAAAAAAAAAA/) || document.cookie.match(/.aAAAAAAAAAAA/) || document.cookie.match(/.YAAACFgAAAAA/)),
|
|
180
181
|
EVAL_SHOPIFY_TEST: () => document.cookie.includes("gdpr_cookie_consent=0") || document.cookie.includes("_tracking_consent=") && JSON.parse(
|