@duckduckgo/autoconsent 12.7.0 โ†’ 12.9.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/CHANGELOG.md +61 -0
  2. package/data/coverage.json +1348 -1305
  3. package/dist/addon-firefox/background.bundle.js +9 -1
  4. package/dist/addon-firefox/content.bundle.js +21 -3
  5. package/dist/addon-firefox/manifest.json +1 -1
  6. package/dist/addon-firefox/rules.json +390 -84
  7. package/dist/addon-mv3/background.bundle.js +9 -1
  8. package/dist/addon-mv3/content.bundle.js +21 -3
  9. package/dist/addon-mv3/manifest.json +1 -1
  10. package/dist/addon-mv3/popup.bundle.js +1 -1
  11. package/dist/addon-mv3/rules.json +390 -84
  12. package/dist/autoconsent.cjs.js +19 -1
  13. package/dist/autoconsent.esm.js +19 -1
  14. package/dist/autoconsent.extra.cjs.js +21 -3
  15. package/dist/autoconsent.extra.esm.js +21 -3
  16. package/dist/autoconsent.playwright.js +411 -87
  17. package/lib/cmps/sourcepoint-frame.ts +13 -0
  18. package/lib/eval-snippets.ts +14 -0
  19. package/lib/filterlist-engine.ts +2 -2
  20. package/lib/rules.ts +2 -1
  21. package/package.json +6 -3
  22. package/rules/autoconsent/civic-cookie-control.json +23 -12
  23. package/rules/autoconsent/cookie-law-info.json +4 -4
  24. package/rules/autoconsent/dsgvo.json +1 -1
  25. package/rules/autoconsent/fides.json +3 -3
  26. package/rules/autoconsent/gov-uk.json +19 -5
  27. package/rules/autoconsent/gravito.json +44 -0
  28. package/rules/autoconsent/johnlewis.json +1 -1
  29. package/rules/autoconsent/opera.com.json +7 -10
  30. package/rules/autoconsent/postnl.json +34 -0
  31. package/rules/autoconsent/privado.json +48 -0
  32. package/rules/autoconsent/quantcast.json +22 -4
  33. package/rules/autoconsent/shopify.json +31 -0
  34. package/rules/autoconsent/squiz.json +39 -0
  35. package/rules/autoconsent/tccCmpAlert.json +25 -0
  36. package/rules/autoconsent/tealium.json +1 -1
  37. package/rules/autoconsent/termly.json +2 -2
  38. package/rules/autoconsent/true-car.json +1 -1
  39. package/rules/autoconsent/twitter.json +1 -2
  40. package/rules/autoconsent/womenshealthmag-us.json +31 -0
  41. package/rules/filterlist.txt +96 -330
  42. package/rules/rules.json +390 -84
  43. package/scripts/get-text-for-xpath.ts +5 -2
  44. package/scripts/validate-json-rules.js +45 -0
  45. package/tests/civic-cookie-control.spec.ts +7 -3
  46. package/tests/cookielawinfo.spec.ts +3 -1
  47. package/tests/fides.spec.ts +1 -1
  48. package/tests/gravito.spec.ts +3 -0
  49. package/tests/postnl.spec.ts +3 -0
  50. package/tests/privado.spec.ts +3 -0
  51. package/tests/shopify.spec.ts +7 -0
  52. package/tests/squiz.spec.ts +3 -0
  53. package/tests/tccCmpAlert.spec.ts +3 -0
  54. package/tests/termly.spec.ts +11 -1
  55. package/tests/womenshealthmag-us.spec.ts +3 -0
  56. package/rules/autoconsent/wetransfer.json +0 -7
  57. package/tests/wetransfer.spec.ts +0 -5
package/CHANGELOG.md CHANGED
@@ -1,3 +1,64 @@
1
+ # v12.9.0 (Fri Feb 07 2025)
2
+
3
+ #### ๐Ÿš€ Enhancement
4
+
5
+ - Update EasyList Cookie to 7eba802a2208dd322d820a2aad7a256377c3afec [#630](https://github.com/duckduckgo/autoconsent/pull/630) ([@sammacbeth](https://github.com/sammacbeth) [@github-actions[bot]](https://github.com/github-actions[bot]))
6
+
7
+ #### ๐Ÿ› Bug Fix
8
+
9
+ - Fix Tealium rule on barmer.de [#628](https://github.com/duckduckgo/autoconsent/pull/628) ([@noisysocks](https://github.com/noisysocks))
10
+ - Adjust cookie-law-info to hide site-specific #cookie-law-bg element [#625](https://github.com/duckduckgo/autoconsent/pull/625) ([@noisysocks](https://github.com/noisysocks))
11
+ - Remove wetransfer rule, update fide to remove popup on wetransfer.com [#626](https://github.com/duckduckgo/autoconsent/pull/626) ([@noisysocks](https://github.com/noisysocks))
12
+ - Monthly Coverage data update [#622](https://github.com/duckduckgo/autoconsent/pull/622) ([@daxtheduck](https://github.com/daxtheduck) [@sammacbeth](https://github.com/sammacbeth))
13
+
14
+ #### Authors: 4
15
+
16
+ - [@github-actions[bot]](https://github.com/github-actions[bot])
17
+ - Dax ([@daxtheduck](https://github.com/daxtheduck))
18
+ - Robert Anderson ([@noisysocks](https://github.com/noisysocks))
19
+ - Sam Macbeth ([@sammacbeth](https://github.com/sammacbeth))
20
+
21
+ ---
22
+
23
+ # v12.8.0 (Fri Jan 31 2025)
24
+
25
+ #### ๐Ÿš€ Enhancement
26
+
27
+ - Update EasyList Cookie to 71afe4eb4e86bb49fac1a7d5e53a10373081336e [#618](https://github.com/duckduckgo/autoconsent/pull/618) ([@sammacbeth](https://github.com/sammacbeth) [@github-actions[bot]](https://github.com/github-actions[bot]))
28
+ - Improve Termly rule [#619](https://github.com/duckduckgo/autoconsent/pull/619) ([@muodov](https://github.com/muodov))
29
+ - Bump the dev-dependencies group across 1 directory with 5 updates [#621](https://github.com/duckduckgo/autoconsent/pull/621) ([@dependabot[bot]](https://github.com/dependabot[bot]))
30
+ - Add rule for Shopify Customer Privacy CMP [#616](https://github.com/duckduckgo/autoconsent/pull/616) ([@noisysocks](https://github.com/noisysocks))
31
+ - Add rule for Gravito [#610](https://github.com/duckduckgo/autoconsent/pull/610) ([@muodov](https://github.com/muodov))
32
+ - Improve the Civic rule [#614](https://github.com/duckduckgo/autoconsent/pull/614) ([@muodov](https://github.com/muodov))
33
+ - Add rule for postnl.nl [#612](https://github.com/duckduckgo/autoconsent/pull/612) ([@muodov](https://github.com/muodov))
34
+ - Quantcast fixes [#611](https://github.com/duckduckgo/autoconsent/pull/611) ([@muodov](https://github.com/muodov))
35
+ - Add rule for Privado CMP [#602](https://github.com/duckduckgo/autoconsent/pull/602) ([@muodov](https://github.com/muodov))
36
+ - Support CCPA sourcepoint popup on timeout.com [#603](https://github.com/duckduckgo/autoconsent/pull/603) ([@muodov](https://github.com/muodov))
37
+ - Fix opera rule [#604](https://github.com/duckduckgo/autoconsent/pull/604) ([@muodov](https://github.com/muodov))
38
+ - Adapt gov.uk rule for https://www.tax.service.gov.uk/business-account [#605](https://github.com/duckduckgo/autoconsent/pull/605) ([@muodov](https://github.com/muodov))
39
+ - cosmetic rule for womenshealthmag [#601](https://github.com/duckduckgo/autoconsent/pull/601) ([@muodov](https://github.com/muodov))
40
+ - Add rule for Squiz CDP [#599](https://github.com/duckduckgo/autoconsent/pull/599) ([@muodov](https://github.com/muodov))
41
+
42
+ #### ๐Ÿ› Bug Fix
43
+
44
+ - Bump tldts-experimental from 6.1.70 to 6.1.75 [#606](https://github.com/duckduckgo/autoconsent/pull/606) ([@dependabot[bot]](https://github.com/dependabot[bot]))
45
+ - Monthly Coverage data update [#620](https://github.com/duckduckgo/autoconsent/pull/620) ([@daxtheduck](https://github.com/daxtheduck) [@sammacbeth](https://github.com/sammacbeth))
46
+
47
+ #### ๐Ÿงช Tests
48
+
49
+ - Validate JSON rules [#613](https://github.com/duckduckgo/autoconsent/pull/613) ([@muodov](https://github.com/muodov))
50
+
51
+ #### Authors: 6
52
+
53
+ - [@dependabot[bot]](https://github.com/dependabot[bot])
54
+ - [@github-actions[bot]](https://github.com/github-actions[bot])
55
+ - Dax ([@daxtheduck](https://github.com/daxtheduck))
56
+ - Maxim Tsoy ([@muodov](https://github.com/muodov))
57
+ - Robert Anderson ([@noisysocks](https://github.com/noisysocks))
58
+ - Sam Macbeth ([@sammacbeth](https://github.com/sammacbeth))
59
+
60
+ ---
61
+
1
62
  # v12.7.0 (Fri Jan 24 2025)
2
63
 
3
64
  #### ๐Ÿš€ Enhancement