@duckduckgo/autoconsent 14.0.1 → 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/.github/actions/setup-release-scripts/action.yml +1 -1
- package/.github/workflows/checks.yml +4 -4
- package/.github/workflows/release.yml +2 -2
- package/.github/workflows/update-filterlist.yml +2 -2
- package/CHANGELOG.md +43 -0
- package/api.md +1 -0
- package/dist/addon-firefox/background.bundle.js +11 -2
- package/dist/addon-firefox/content.bundle.js +510 -347
- package/dist/addon-firefox/manifest.json +1 -1
- package/dist/addon-firefox/rules.json +1 -1
- package/dist/addon-mv3/background.bundle.js +11 -2
- package/dist/addon-mv3/content.bundle.js +510 -347
- package/dist/addon-mv3/manifest.json +1 -1
- package/dist/addon-mv3/popup.bundle.js +19 -1
- package/dist/addon-mv3/popup.html +14 -0
- package/dist/addon-mv3/rules.json +1 -1
- package/dist/autoconsent.cjs.js +353 -219
- package/dist/autoconsent.esm.js +354 -219
- package/dist/autoconsent.extra.cjs.js +519 -347
- package/dist/autoconsent.extra.esm.js +520 -347
- package/dist/autoconsent.playwright.js +520 -348
- package/lib/cmps/admiral.ts +6 -6
- package/lib/cmps/base.ts +43 -8
- package/lib/cmps/consentmanager.ts +8 -7
- package/lib/cmps/cookiebot.ts +4 -4
- package/lib/cmps/evidon.ts +2 -2
- package/lib/cmps/klaro.ts +8 -8
- package/lib/cmps/onetrust.ts +6 -6
- package/lib/cmps/sourcepoint-frame.ts +12 -12
- package/lib/cmps/tiktok.ts +3 -3
- package/lib/cmps/trustarc-frame.ts +11 -11
- package/lib/cmps/trustarc-top.ts +2 -6
- package/lib/dom-actions.ts +6 -6
- package/lib/eval-snippets.ts +6 -1
- package/lib/filterlist-engine.ts +2 -2
- package/lib/messages.ts +6 -0
- package/lib/types.ts +3 -2
- package/lib/utils.ts +49 -0
- package/lib/web.ts +50 -37
- package/package.json +2 -2
- package/playwright/runner.ts +1 -1
- package/readme.md +1 -1
- package/rules/autoconsent/cookie-law-info.json +16 -5
- package/rules/autoconsent/cookiehub.json +61 -0
- package/rules/autoconsent/eu-cookie-compliance.json +13 -12
- package/rules/compact-rules.json +1 -1
- package/rules/filterlist.txt +221 -202
- package/rules/rules.json +1 -1
- package/tests/{cookielawinfo.spec.ts → cookie-law-info.spec.ts} +4 -1
- package/tests/cookiehub.spec.ts +8 -0
- package/tests/eu-cookie-compliance-banner.spec.ts +1 -1
- package/tests-wtr/dom-actions/dom-actions.click.ts +14 -14
- package/tests-wtr/utils/highlight.test.ts +166 -0
|
@@ -8,10 +8,10 @@ jobs:
|
|
|
8
8
|
steps:
|
|
9
9
|
- uses: actions/checkout@v3
|
|
10
10
|
|
|
11
|
-
- name: Use Node.js
|
|
11
|
+
- name: Use Node.js
|
|
12
12
|
uses: actions/setup-node@v3
|
|
13
13
|
with:
|
|
14
|
-
node-version:
|
|
14
|
+
node-version: lts/*
|
|
15
15
|
cache: 'npm'
|
|
16
16
|
|
|
17
17
|
- run: npm ci
|
|
@@ -22,10 +22,10 @@ jobs:
|
|
|
22
22
|
runs-on: ubuntu-latest
|
|
23
23
|
steps:
|
|
24
24
|
- uses: actions/checkout@v3
|
|
25
|
-
- name: Use Node.js
|
|
25
|
+
- name: Use Node.js
|
|
26
26
|
uses: actions/setup-node@v3
|
|
27
27
|
with:
|
|
28
|
-
node-version:
|
|
28
|
+
node-version: lts/*
|
|
29
29
|
cache: 'npm'
|
|
30
30
|
- run: npm ci
|
|
31
31
|
- run: npm run test:lib
|
|
@@ -17,10 +17,10 @@ jobs:
|
|
|
17
17
|
- name: Prepare repository
|
|
18
18
|
run: git fetch --unshallow --tags
|
|
19
19
|
|
|
20
|
-
- name: Use Node.js
|
|
20
|
+
- name: Use Node.js
|
|
21
21
|
uses: actions/setup-node@v3
|
|
22
22
|
with:
|
|
23
|
-
node-version:
|
|
23
|
+
node-version: lts/*
|
|
24
24
|
|
|
25
25
|
- name: Install dependencies
|
|
26
26
|
run: npm ci
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,46 @@
|
|
|
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
|
+
|
|
17
|
+
# v14.1.0 (Fri Jun 06 2025)
|
|
18
|
+
|
|
19
|
+
#### 🚀 Enhancement
|
|
20
|
+
|
|
21
|
+
- Update EasyList Cookie to 9fba285e18d0dc14f2ee64142b56e76a59b58649 [#777](https://github.com/duckduckgo/autoconsent/pull/777) ([@sammacbeth](https://github.com/sammacbeth) [@github-actions[bot]](https://github.com/github-actions[bot]))
|
|
22
|
+
- Visual test mode [#756](https://github.com/duckduckgo/autoconsent/pull/756) ([@muodov](https://github.com/muodov))
|
|
23
|
+
- Bump @ghostery/adblocker-content from 2.5.2 to 2.6.1 [#754](https://github.com/duckduckgo/autoconsent/pull/754) ([@dependabot[bot]](https://github.com/dependabot[bot]) [@muodov](https://github.com/muodov))
|
|
24
|
+
- Bump @ghostery/adblocker from 2.5.2 to 2.6.1 [#753](https://github.com/duckduckgo/autoconsent/pull/753) ([@dependabot[bot]](https://github.com/dependabot[bot]) [@muodov](https://github.com/muodov))
|
|
25
|
+
- Bump the dev-dependencies group across 1 directory with 7 updates [#763](https://github.com/duckduckgo/autoconsent/pull/763) ([@dependabot[bot]](https://github.com/dependabot[bot]) [@muodov](https://github.com/muodov))
|
|
26
|
+
- Add cookiehub CMP [#778](https://github.com/duckduckgo/autoconsent/pull/778) ([@noisysocks](https://github.com/noisysocks))
|
|
27
|
+
- Update EasyList Cookie to 0b4c698c6cf070415d7dcda1b8eabe9d6cb5fa99 [#752](https://github.com/duckduckgo/autoconsent/pull/752) ([@sammacbeth](https://github.com/sammacbeth) [@github-actions[bot]](https://github.com/github-actions[bot]))
|
|
28
|
+
|
|
29
|
+
#### 🐛 Bug Fix
|
|
30
|
+
|
|
31
|
+
- Bump tldts-experimental from 7.0.7 to 7.0.8 [#762](https://github.com/duckduckgo/autoconsent/pull/762) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
32
|
+
- Bump node in CI to LTS. [#761](https://github.com/duckduckgo/autoconsent/pull/761) ([@sammacbeth](https://github.com/sammacbeth))
|
|
33
|
+
|
|
34
|
+
#### Authors: 5
|
|
35
|
+
|
|
36
|
+
- [@dependabot[bot]](https://github.com/dependabot[bot])
|
|
37
|
+
- [@github-actions[bot]](https://github.com/github-actions[bot])
|
|
38
|
+
- Maxim Tsoy ([@muodov](https://github.com/muodov))
|
|
39
|
+
- Robert Anderson ([@noisysocks](https://github.com/noisysocks))
|
|
40
|
+
- Sam Macbeth ([@sammacbeth](https://github.com/sammacbeth))
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
1
44
|
# v14.0.1 (Mon Jun 02 2025)
|
|
2
45
|
|
|
3
46
|
#### 🐛 Bug Fix
|