@duckduckgo/autoconsent 14.0.0 → 14.1.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/privacy-config-pr.yml +2 -10
- package/.github/workflows/release.yml +2 -2
- package/.github/workflows/update-filterlist.yml +2 -2
- package/CHANGELOG.md +41 -0
- package/api.md +1 -0
- package/dist/addon-firefox/background.bundle.js +5 -1
- package/dist/addon-firefox/content.bundle.js +504 -346
- package/dist/addon-firefox/manifest.json +1 -1
- package/dist/addon-firefox/rules.json +1 -1
- package/dist/addon-mv3/background.bundle.js +5 -1
- package/dist/addon-mv3/content.bundle.js +504 -346
- 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 +347 -218
- package/dist/autoconsent.esm.js +348 -218
- package/dist/autoconsent.extra.cjs.js +513 -346
- package/dist/autoconsent.extra.esm.js +514 -346
- package/dist/autoconsent.playwright.js +514 -347
- 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/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/cookiehub.json +61 -0
- package/rules/autoconsent/termsfeed.json +24 -1
- package/rules/compact-rules.json +1 -1
- package/rules/filterlist.txt +191 -177
- package/rules/rules.json +1 -1
- package/scripts/bundle-config-rules.mjs +1 -4
- package/tests/cookiehub.spec.ts +8 -0
- package/tests/termsfeed.spec.ts +5 -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
|
|
@@ -24,20 +24,15 @@ jobs:
|
|
|
24
24
|
with:
|
|
25
25
|
path: autoconsent/
|
|
26
26
|
- uses: ./autoconsent/.github/actions/setup-release-scripts
|
|
27
|
-
|
|
28
27
|
- name: Checkout config
|
|
29
28
|
uses: actions/checkout@v3
|
|
30
29
|
with:
|
|
31
30
|
repository: duckduckgo/privacy-configuration
|
|
32
31
|
path: privacy-configuration/
|
|
33
|
-
token: ${{ secrets.
|
|
34
|
-
- uses: actions/setup-node@v3
|
|
35
|
-
with:
|
|
36
|
-
node-version: current
|
|
32
|
+
token: ${{ secrets.PRIVACY_CONFIG_PAT }}
|
|
37
33
|
- name: Build and compact rules
|
|
38
34
|
run: |
|
|
39
35
|
cd autoconsent
|
|
40
|
-
npm ci
|
|
41
36
|
npm run build-rules
|
|
42
37
|
npm run bundle-config-rules ../privacy-configuration
|
|
43
38
|
- name: Prepare and update privacy-config
|
|
@@ -45,19 +40,16 @@ jobs:
|
|
|
45
40
|
cd privacy-configuration
|
|
46
41
|
npm ci
|
|
47
42
|
npm run lint-fix
|
|
48
|
-
npm install @duckduckgo/autoconsent@${{ env.TAG }}
|
|
49
43
|
- name: Create config PR
|
|
50
44
|
uses: peter-evans/create-pull-request@v7
|
|
51
45
|
id: create-pr
|
|
52
46
|
with:
|
|
53
47
|
path: privacy-configuration/
|
|
54
48
|
add-paths: |
|
|
55
|
-
package.json
|
|
56
|
-
package-lock.json
|
|
57
49
|
overrides/*
|
|
58
50
|
features/autoconsent.json
|
|
59
51
|
commit-message: Update autoconsent to ${{ env.TAG }}
|
|
60
52
|
branch: update-autoconsent
|
|
61
53
|
title: Update autoconsent to ${{ env.TAG }}
|
|
62
54
|
body: ''
|
|
63
|
-
token: ${{ secrets.
|
|
55
|
+
token: ${{ secrets.PRIVACY_CONFIG_PAT }}
|
|
@@ -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,44 @@
|
|
|
1
|
+
# v14.1.0 (Fri Jun 06 2025)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- 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]))
|
|
6
|
+
- Visual test mode [#756](https://github.com/duckduckgo/autoconsent/pull/756) ([@muodov](https://github.com/muodov))
|
|
7
|
+
- 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))
|
|
8
|
+
- 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))
|
|
9
|
+
- 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))
|
|
10
|
+
- Add cookiehub CMP [#778](https://github.com/duckduckgo/autoconsent/pull/778) ([@noisysocks](https://github.com/noisysocks))
|
|
11
|
+
- 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]))
|
|
12
|
+
|
|
13
|
+
#### 🐛 Bug Fix
|
|
14
|
+
|
|
15
|
+
- 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]))
|
|
16
|
+
- Bump node in CI to LTS. [#761](https://github.com/duckduckgo/autoconsent/pull/761) ([@sammacbeth](https://github.com/sammacbeth))
|
|
17
|
+
|
|
18
|
+
#### Authors: 5
|
|
19
|
+
|
|
20
|
+
- [@dependabot[bot]](https://github.com/dependabot[bot])
|
|
21
|
+
- [@github-actions[bot]](https://github.com/github-actions[bot])
|
|
22
|
+
- Maxim Tsoy ([@muodov](https://github.com/muodov))
|
|
23
|
+
- Robert Anderson ([@noisysocks](https://github.com/noisysocks))
|
|
24
|
+
- Sam Macbeth ([@sammacbeth](https://github.com/sammacbeth))
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
# v14.0.1 (Mon Jun 02 2025)
|
|
29
|
+
|
|
30
|
+
#### 🐛 Bug Fix
|
|
31
|
+
|
|
32
|
+
- Add support for non-'reject-all' version of the termsfeed popup. [#750](https://github.com/duckduckgo/autoconsent/pull/750) ([@sammacbeth](https://github.com/sammacbeth) [@muodov](https://github.com/muodov))
|
|
33
|
+
- CI: Fix release PR to privacy config repo [#751](https://github.com/duckduckgo/autoconsent/pull/751) ([@sammacbeth](https://github.com/sammacbeth))
|
|
34
|
+
|
|
35
|
+
#### Authors: 2
|
|
36
|
+
|
|
37
|
+
- Maxim Tsoy ([@muodov](https://github.com/muodov))
|
|
38
|
+
- Sam Macbeth ([@sammacbeth](https://github.com/sammacbeth))
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
1
42
|
# v13.0.0 (Tue May 20 2025)
|
|
2
43
|
|
|
3
44
|
#### 💥 Breaking Change
|