@duckduckgo/autoconsent 14.1.0 → 14.2.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 +16 -0
- package/dist/addon-firefox/background.bundle.js +6 -1
- package/dist/addon-firefox/content.bundle.js +8 -3
- package/dist/addon-firefox/manifest.json +1 -1
- package/dist/addon-firefox/rules.json +1 -1
- package/dist/addon-mv3/background.bundle.js +6 -1
- package/dist/addon-mv3/content.bundle.js +8 -3
- package/dist/addon-mv3/manifest.json +1 -1
- package/dist/addon-mv3/rules.json +1 -1
- package/dist/autoconsent.cjs.js +6 -1
- package/dist/autoconsent.esm.js +6 -1
- package/dist/autoconsent.extra.cjs.js +8 -3
- package/dist/autoconsent.extra.esm.js +8 -3
- package/dist/autoconsent.playwright.js +9 -4
- package/lib/eval-snippets.ts +6 -1
- package/lib/filterlist-engine.ts +2 -2
- package/package.json +1 -1
- package/rules/autoconsent/cookie-law-info.json +16 -5
- package/rules/autoconsent/eu-cookie-compliance.json +13 -12
- package/rules/compact-rules.json +1 -1
- package/rules/filterlist.txt +51 -46
- package/rules/rules.json +1 -1
- package/tests/{cookielawinfo.spec.ts → cookie-law-info.spec.ts} +4 -1
- package/tests/eu-cookie-compliance-banner.spec.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
# v14.2.0 (Wed Jun 18 2025)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- Update EasyList Cookie to 83f2073ea4b9c66c3c6b1b9034f2164034b1a515 [#782](https://github.com/duckduckgo/autoconsent/pull/782) ([@sammacbeth](https://github.com/sammacbeth) [@github-actions[bot]](https://github.com/github-actions[bot]))
|
|
6
|
+
- Remove 'hide' step from eu-cookie-compliance-banner [#784](https://github.com/duckduckgo/autoconsent/pull/784) ([@noisysocks](https://github.com/noisysocks))
|
|
7
|
+
- Update cookie-law-info rule to hide .cli-popup-overlay [#785](https://github.com/duckduckgo/autoconsent/pull/785) ([@noisysocks](https://github.com/noisysocks))
|
|
8
|
+
|
|
9
|
+
#### Authors: 3
|
|
10
|
+
|
|
11
|
+
- [@github-actions[bot]](https://github.com/github-actions[bot])
|
|
12
|
+
- Robert Anderson ([@noisysocks](https://github.com/noisysocks))
|
|
13
|
+
- Sam Macbeth ([@sammacbeth](https://github.com/sammacbeth))
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
1
17
|
# v14.1.0 (Fri Jun 06 2025)
|
|
2
18
|
|
|
3
19
|
#### 🚀 Enhancement
|
|
@@ -65,7 +65,12 @@
|
|
|
65
65
|
).consents.statistics,
|
|
66
66
|
EVAL_CC_BANNER2_0: () => !!document.cookie.match(/sncc=[^;]+D%3Dtrue/),
|
|
67
67
|
EVAL_COINBASE_0: () => JSON.parse(decodeURIComponent(document.cookie.match(/cm_(eu|default)_preferences=([0-9a-zA-Z\\{\\}\\[\\]%:]*);?/)[2])).consent.length <= 1,
|
|
68
|
-
EVAL_COOKIE_LAW_INFO_0: () =>
|
|
68
|
+
EVAL_COOKIE_LAW_INFO_0: () => {
|
|
69
|
+
if (CLI.disableAllCookies) CLI.disableAllCookies();
|
|
70
|
+
if (CLI.reject_close) CLI.reject_close();
|
|
71
|
+
document.body.classList.remove("cli-barmodal-open");
|
|
72
|
+
return true;
|
|
73
|
+
},
|
|
69
74
|
EVAL_COOKIE_LAW_INFO_DETECT: () => !!window.CLI,
|
|
70
75
|
EVAL_COOKIE_MANAGER_POPUP_0: () => JSON.parse(
|
|
71
76
|
document.cookie.split(";").find((c) => c.trim().startsWith("CookieLevel")).split("=")[1]
|