@duckduckgo/autoconsent 16.45.0 → 16.47.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.
Files changed (57) hide show
  1. package/.github/dependabot.yml +6 -0
  2. package/.github/labeler.yml +1 -1
  3. package/.github/workflows/release-labels.yml +19 -11
  4. package/CHANGELOG.md +51 -0
  5. package/dist/addon-firefox/compact-rules.json +1 -1
  6. package/dist/addon-firefox/content.bundle.js +5 -3
  7. package/dist/addon-firefox/manifest.json +1 -1
  8. package/dist/addon-firefox/rule-index.json +1 -1
  9. package/dist/addon-firefox/rules.json +1 -1
  10. package/dist/addon-mv3/compact-rules.json +1 -1
  11. package/dist/addon-mv3/content.bundle.js +5 -3
  12. package/dist/addon-mv3/manifest.json +1 -1
  13. package/dist/addon-mv3/rule-index.json +1 -1
  14. package/dist/addon-mv3/rules.json +1 -1
  15. package/dist/autoconsent.cjs.js +5 -3
  16. package/dist/autoconsent.esm.js +5 -3
  17. package/dist/autoconsent.playwright.js +5 -3
  18. package/dist/autoconsent.standalone.js +6 -4
  19. package/lib/encoding.ts +1 -8
  20. package/lib/heuristic-patterns.ts +1 -1
  21. package/lib/messages.ts +1 -6
  22. package/lib/web.ts +5 -4
  23. package/package.json +6 -6
  24. package/playwright/runner.ts +13 -0
  25. package/rules/autoconsent/controlgame.json +12 -0
  26. package/rules/autoconsent/cookieyes.json +3 -1
  27. package/rules/autoconsent/cookiez.json +9 -0
  28. package/rules/autoconsent/cuvva.com.json +55 -0
  29. package/rules/autoconsent/dalecarnegie.json +44 -0
  30. package/rules/autoconsent/fanatics.json +9 -0
  31. package/rules/autoconsent/jpmorgan-chase.json +10 -0
  32. package/rules/autoconsent/lego.json +26 -0
  33. package/rules/autoconsent/privacy-area.json +56 -0
  34. package/rules/autoconsent/securiti-gpc-flyout.json +22 -0
  35. package/rules/autoconsent/speciesplus.json +10 -0
  36. package/rules/autoconsent/squarespace-cookie-banner.json +24 -1
  37. package/rules/autoconsent/ziptozipmoving.json +44 -0
  38. package/rules/compact-rules.json +1 -1
  39. package/rules/rule-index.json +1 -1
  40. package/rules/rules.json +1 -1
  41. package/tests/controlgame.spec.ts +3 -0
  42. package/tests/cookieyes.spec.ts +2 -0
  43. package/tests/cookiez.spec.ts +12 -0
  44. package/tests/cuvva.com.spec.ts +4 -0
  45. package/tests/dalecarnegie.spec.ts +3 -0
  46. package/tests/fanatics.spec.ts +9 -0
  47. package/tests/jpmorgan-chase.spec.ts +8 -0
  48. package/tests/lego.spec.ts +8 -0
  49. package/tests/privacy-area.spec.ts +9 -0
  50. package/tests/securiti-gpc-flyout.spec.ts +21 -0
  51. package/tests/speciesplus.spec.ts +3 -0
  52. package/tests/squarespace-cookie-banner.spec.ts +8 -1
  53. package/tests/ziptozipmoving.spec.ts +5 -0
  54. package/tests-wtr/heuristics/heuristics-utils.test.ts +6 -0
  55. package/tests-wtr/lifecycle/find-cmp.ts +13 -0
  56. package/tsconfig.build.json +1 -0
  57. package/tsconfig.json +2 -1
@@ -4,6 +4,12 @@ updates:
4
4
  directory: '/' # Location of package manifests
5
5
  schedule:
6
6
  interval: 'weekly'
7
+ cooldown:
8
+ default-days: 7
9
+ ignore:
10
+ # typescript-eslint and ts-node do not support TypeScript 7 yet.
11
+ - dependency-name: 'typescript'
12
+ versions: ['>=7']
7
13
  labels:
8
14
  - 'category: dependencies'
9
15
  groups:
@@ -36,7 +36,7 @@
36
36
  - 'web-test-runner.config.mjs'
37
37
 
38
38
  # Not a release-note category: exactly one 'category:' label is required per PR.
39
- 'code-update-needed':
39
+ 'needs-code-update':
40
40
  - changed-files:
41
41
  - any-glob-to-any-file:
42
42
  - 'lib/**/*.ts'
@@ -16,28 +16,36 @@ permissions:
16
16
  issues: write
17
17
  pull-requests: write
18
18
 
19
- concurrency:
20
- group: release-labels-${{ github.event.pull_request.number }}
21
- cancel-in-progress: true
22
-
23
19
  jobs:
24
- release-labels:
20
+ # No concurrency group here: a 'labeled' event right after 'opened' must not cancel this job.
21
+ path-labels:
22
+ if: >-
23
+ ${{
24
+ github.event.action == 'opened' ||
25
+ github.event.action == 'reopened' ||
26
+ github.event.action == 'ready_for_review'
27
+ }}
25
28
  runs-on: ubuntu-latest
26
29
  steps:
27
30
  - uses: actions/checkout@v4
28
31
 
29
32
  - name: Apply path-based labels
30
- if: >-
31
- ${{
32
- github.event.action == 'opened' ||
33
- github.event.action == 'reopened' ||
34
- github.event.action == 'ready_for_review'
35
- }}
36
33
  uses: actions/labeler@v6
37
34
  with:
38
35
  repo-token: ${{ secrets.GITHUB_TOKEN }}
39
36
  sync-labels: false
40
37
 
38
+ release-labels:
39
+ needs: path-labels
40
+ # Run when path-labels is skipped or fails, so the label check still happens.
41
+ if: ${{ !cancelled() }}
42
+ runs-on: ubuntu-latest
43
+ concurrency:
44
+ group: release-labels-${{ github.event.pull_request.number }}
45
+ cancel-in-progress: true
46
+ steps:
47
+ - uses: actions/checkout@v4
48
+
41
49
  - name: Use Node.js
42
50
  uses: actions/setup-node@v4
43
51
  with:
package/CHANGELOG.md CHANGED
@@ -1,3 +1,54 @@
1
+ # v16.47.0 (Wed Oct 07 2026)
2
+
3
+ #### Rules
4
+
5
+ - Rule update: controlgame [#1616](https://github.com/duckduckgo/autoconsent/pull/1616) ([@daxtheduck](https://github.com/daxtheduck))
6
+ - Rule update: dalecarnegie [#1617](https://github.com/duckduckgo/autoconsent/pull/1617) ([@daxtheduck](https://github.com/daxtheduck))
7
+ - Rule update: jpmorgan-chase [#1615](https://github.com/duckduckgo/autoconsent/pull/1615) ([@daxtheduck](https://github.com/daxtheduck))
8
+
9
+ #### Bug Fixes
10
+
11
+ - Don't wait for a DOM mutation after an attempt that skipped the heuristic [#1611](https://github.com/duckduckgo/autoconsent/pull/1611) ([@muodov](https://github.com/muodov))
12
+
13
+ #### Dependencies
14
+
15
+ - Upgrade TypeScript to 6 and add a 7-day Dependabot cooldown [#1607](https://github.com/duckduckgo/autoconsent/pull/1607) ([@muodov](https://github.com/muodov))
16
+
17
+ #### CI / Release Automation
18
+
19
+ - Use needs-code-update label and stop label events from cancelling the labeler [#1609](https://github.com/duckduckgo/autoconsent/pull/1609) ([@claude](https://github.com/claude) [@muodov](https://github.com/muodov))
20
+
21
+ #### Authors: 3
22
+
23
+ - Claude ([@claude](https://github.com/claude))
24
+ - Dax ([@daxtheduck](https://github.com/daxtheduck))
25
+ - Maxim Tsoy ([@muodov](https://github.com/muodov))
26
+
27
+ ---
28
+
29
+ # v16.46.0 (Tue Oct 06 2026)
30
+
31
+ #### Rules
32
+
33
+ - Handle GPC flyout from Securiti [#1612](https://github.com/duckduckgo/autoconsent/pull/1612) ([@muodov](https://github.com/muodov))
34
+ - Add rule for the LEGO.com consent modal [#1613](https://github.com/duckduckgo/autoconsent/pull/1613) ([@muodov](https://github.com/muodov))
35
+ - Rule update: Cookie popup on fanatics sites [#1594](https://github.com/duckduckgo/autoconsent/pull/1594) ([@daxtheduck](https://github.com/daxtheduck))
36
+ - Rule update: https://openrouter.ai/ [#1608](https://github.com/duckduckgo/autoconsent/pull/1608) ([@daxtheduck](https://github.com/daxtheduck))
37
+ - Rule update: cookiez [#1597](https://github.com/duckduckgo/autoconsent/pull/1597) ([@daxtheduck](https://github.com/daxtheduck) [@muodov](https://github.com/muodov))
38
+ - Rule update: cookieyes [#1598](https://github.com/duckduckgo/autoconsent/pull/1598) ([@daxtheduck](https://github.com/daxtheduck))
39
+ - Rule update: squarespace-cookie-banner [#1599](https://github.com/duckduckgo/autoconsent/pull/1599) ([@daxtheduck](https://github.com/daxtheduck))
40
+ - Rule update: speciesplus.net [#1600](https://github.com/duckduckgo/autoconsent/pull/1600) ([@daxtheduck](https://github.com/daxtheduck))
41
+ - Rule update: privacy-area [#1601](https://github.com/duckduckgo/autoconsent/pull/1601) ([@daxtheduck](https://github.com/daxtheduck))
42
+ - Rule update: ziptozipmoving [#1602](https://github.com/duckduckgo/autoconsent/pull/1602) ([@daxtheduck](https://github.com/daxtheduck))
43
+ - Rule update: cuvva.com [#1603](https://github.com/duckduckgo/autoconsent/pull/1603) ([@daxtheduck](https://github.com/daxtheduck))
44
+
45
+ #### Authors: 2
46
+
47
+ - Dax ([@daxtheduck](https://github.com/daxtheduck))
48
+ - Maxim Tsoy ([@muodov](https://github.com/muodov))
49
+
50
+ ---
51
+
1
52
  # v16.45.0 (Sun Oct 04 2026)
2
53
 
3
54
  #### Dependencies