@duckduckgo/autoconsent 7.0.0 → 8.0.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 (87) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/build.sh +1 -1
  3. package/data/coverage.json +1014 -937
  4. package/dist/addon-firefox/background.bundle.js +3 -0
  5. package/dist/addon-firefox/content.bundle.js +13 -12
  6. package/dist/addon-firefox/manifest.json +1 -1
  7. package/dist/addon-firefox/rules.json +111 -187
  8. package/dist/addon-mv3/background.bundle.js +3 -0
  9. package/dist/addon-mv3/content.bundle.js +13 -12
  10. package/dist/addon-mv3/manifest.json +1 -1
  11. package/dist/addon-mv3/rules.json +111 -187
  12. package/dist/autoconsent.cjs.js +13 -12
  13. package/dist/autoconsent.esm.js +13 -12
  14. package/dist/autoconsent.playwright.js +1 -1
  15. package/lib/cmps/evidon.ts +1 -1
  16. package/lib/cmps/trustarc-top.ts +1 -1
  17. package/lib/eval-snippets.ts +3 -0
  18. package/lib/rule-executors.ts +4 -4
  19. package/lib/rules.ts +1 -6
  20. package/lib/utils.ts +3 -5
  21. package/lib/web.ts +1 -1
  22. package/package.json +2 -2
  23. package/readme.md +37 -28
  24. package/rules/autoconsent/1password-com.json +1 -1
  25. package/rules/autoconsent/agolde-com.json +1 -1
  26. package/rules/autoconsent/altium-com.json +1 -1
  27. package/rules/autoconsent/aquasana-com.json +1 -1
  28. package/rules/autoconsent/athlinks-com.json +1 -1
  29. package/rules/autoconsent/ausopen.json +1 -1
  30. package/rules/autoconsent/baden-wuerttemberg-de.json +1 -1
  31. package/rules/autoconsent/bbb.json +1 -1
  32. package/rules/autoconsent/burpee-com.json +1 -1
  33. package/rules/autoconsent/cc-banner.json +1 -1
  34. package/rules/autoconsent/clustrmaps-com.json +1 -1
  35. package/rules/autoconsent/complianz-notice.json +1 -1
  36. package/rules/autoconsent/cookie-law-info.json +1 -1
  37. package/rules/autoconsent/cookie-notice.json +1 -1
  38. package/rules/autoconsent/cookieinformation.json +1 -1
  39. package/rules/autoconsent/cookieyes.json +1 -1
  40. package/rules/autoconsent/crossfit-com.json +1 -1
  41. package/rules/autoconsent/dailymotion-us.json +1 -1
  42. package/rules/autoconsent/delta-com.json +1 -1
  43. package/rules/autoconsent/dsgvo.json +1 -1
  44. package/rules/autoconsent/eu-cookie-compliance.json +1 -1
  45. package/rules/autoconsent/eu-cookie-law.json +1 -1
  46. package/rules/autoconsent/geeks-for-geeks.json +1 -1
  47. package/rules/autoconsent/generic-cosmetic.json +1 -1
  48. package/rules/autoconsent/hl-co-uk.json +1 -1
  49. package/rules/autoconsent/indeed-com.json +1 -1
  50. package/rules/autoconsent/itopvpn-com.json +1 -1
  51. package/rules/autoconsent/iwink.json +19 -0
  52. package/rules/autoconsent/jquery-cookiebar.json +1 -1
  53. package/rules/autoconsent/macpaw-com.json +1 -1
  54. package/rules/autoconsent/marksandspencer.json +1 -1
  55. package/rules/autoconsent/midway-usa.json +1 -1
  56. package/rules/autoconsent/moove.json +1 -1
  57. package/rules/autoconsent/nba-com.json +1 -1
  58. package/rules/autoconsent/netflix-de.json +1 -1
  59. package/rules/autoconsent/notice-cookie.json +1 -1
  60. package/rules/autoconsent/nrk-no.json +1 -1
  61. package/rules/autoconsent/osano.json +1 -1
  62. package/rules/autoconsent/pinetools-com.json +1 -1
  63. package/rules/autoconsent/pmc-cmp.json +1 -1
  64. package/rules/autoconsent/pornhub.json +1 -1
  65. package/rules/autoconsent/pornpics.json +1 -1
  66. package/rules/autoconsent/primebox.json +1 -1
  67. package/rules/autoconsent/samsung-com.json +1 -1
  68. package/rules/autoconsent/similarweb-com.json +1 -1
  69. package/rules/autoconsent/takealot-com.json +1 -1
  70. package/rules/autoconsent/tealium.json +19 -6
  71. package/rules/autoconsent/testcmp-cosmetic.json +1 -1
  72. package/rules/autoconsent/tidbits-com.json +1 -1
  73. package/rules/autoconsent/tractor-supply.json +1 -1
  74. package/rules/autoconsent/trader-joes-com.json +1 -1
  75. package/rules/autoconsent/true-car.json +1 -1
  76. package/rules/autoconsent/tumblr-com.json +1 -1
  77. package/rules/autoconsent/twitch.json +1 -1
  78. package/rules/autoconsent/uk-cookie-consent.json +1 -1
  79. package/rules/autoconsent/urbanarmorgear-com.json +1 -1
  80. package/rules/autoconsent/whitepages.json +1 -1
  81. package/rules/autoconsent/wpcc.json +1 -1
  82. package/rules/autoconsent/xhamster-us.json +1 -1
  83. package/rules/autoconsent/xnxx-com.json +1 -1
  84. package/rules/autoconsent/youporn.json +1 -1
  85. package/rules/rules.json +111 -187
  86. package/tests/iwink.spec.ts +8 -0
  87. package/tests/tealium.spec.ts +6 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,40 @@
1
+ # v8.0.0 (Sat Jan 06 2024)
2
+
3
+ #### 💥 Breaking Change
4
+
5
+ - single selector in hide rules [#334](https://github.com/duckduckgo/autoconsent/pull/334) ([@muodov](https://github.com/muodov))
6
+
7
+ #### 🔩 Dependency Updates
8
+
9
+ - Bump the dev-dependencies group with 4 updates [#328](https://github.com/duckduckgo/autoconsent/pull/328) ([@dependabot[bot]](https://github.com/dependabot[bot]))
10
+
11
+ #### Authors: 2
12
+
13
+ - [@dependabot[bot]](https://github.com/dependabot[bot])
14
+ - Maxim Tsoy ([@muodov](https://github.com/muodov))
15
+
16
+ ---
17
+
18
+ # v7.1.0 (Wed Jan 03 2024)
19
+
20
+ #### 🚀 Enhancement
21
+
22
+ - iWink rule [#123](https://github.com/duckduckgo/autoconsent/pull/123) ([@Tomassie91](https://github.com/Tomassie91) [@muodov](https://github.com/muodov))
23
+ - Improve Tealium support [#315](https://github.com/duckduckgo/autoconsent/pull/315) ([@muodov](https://github.com/muodov))
24
+
25
+ #### 🐛 Bug Fix
26
+
27
+ - Monthly Coverage data update [#330](https://github.com/duckduckgo/autoconsent/pull/330) (dax@duckduckgo.com [@sammacbeth](https://github.com/sammacbeth))
28
+
29
+ #### Authors: 4
30
+
31
+ - [@Tomassie91](https://github.com/Tomassie91)
32
+ - Dax the Deployer (dax@duckduckgo.com)
33
+ - Maxim Tsoy ([@muodov](https://github.com/muodov))
34
+ - Sam Macbeth ([@sammacbeth](https://github.com/sammacbeth))
35
+
36
+ ---
37
+
1
38
  # v7.0.0 (Thu Dec 28 2023)
2
39
 
3
40
  #### 💥 Breaking Change
package/build.sh CHANGED
@@ -3,7 +3,7 @@ set -ex
3
3
 
4
4
  ESBUILD="node_modules/.bin/esbuild --bundle"
5
5
 
6
- $ESBUILD --format=iife --target=chrome90 --minify playwright/content.ts --outfile=dist/autoconsent.playwright.js
6
+ $ESBUILD --format=iife --target=es2021 --minify playwright/content.ts --outfile=dist/autoconsent.playwright.js
7
7
  $ESBUILD --format=esm --target=es2021 lib/web.ts --outfile=dist/autoconsent.esm.js
8
8
  $ESBUILD --format=cjs --target=es2021 --platform=node lib/web.ts --outfile=dist/autoconsent.cjs.js
9
9