@duckduckgo/autoconsent 16.43.1 → 16.44.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 (42) hide show
  1. package/.agents/lib/regional-testing/harness.mjs +536 -0
  2. package/.agents/skills/oxylabs-testing/SKILL.md +99 -0
  3. package/.agents/skills/oxylabs-testing/scripts/oxylabs.mjs +300 -0
  4. package/.agents/skills/oxylabs-testing/scripts/oxylabs.test.mjs +37 -0
  5. package/.agents/skills/proxy-testing/SKILL.md +5 -2
  6. package/.agents/skills/proxy-testing/scripts/regional-proxy.mjs +22 -471
  7. package/.claude/skills/oxylabs-testing/SKILL.md +6 -0
  8. package/.claude/skills/proxy-testing/SKILL.md +1 -1
  9. package/.claude/user-settings.json.TEMPLATE +2 -0
  10. package/AGENTS.md +10 -2
  11. package/CHANGELOG.md +47 -0
  12. package/data/coverage.json +2005 -1512
  13. package/dist/addon-firefox/background.bundle.js +9 -3
  14. package/dist/addon-firefox/compact-rules.json +1 -1
  15. package/dist/addon-firefox/manifest.json +1 -1
  16. package/dist/addon-firefox/popup.bundle.js +9 -3
  17. package/dist/addon-firefox/rule-index.json +1 -1
  18. package/dist/addon-firefox/rules.json +1 -1
  19. package/dist/addon-mv3/background.bundle.js +9 -3
  20. package/dist/addon-mv3/compact-rules.json +1 -1
  21. package/dist/addon-mv3/manifest.json +1 -1
  22. package/dist/addon-mv3/popup.bundle.js +9 -3
  23. package/dist/addon-mv3/rule-index.json +1 -1
  24. package/dist/addon-mv3/rules.json +1 -1
  25. package/dist/autoconsent.standalone.js +1 -1
  26. package/docs/rule-syntax.md +4 -4
  27. package/package.json +2 -2
  28. package/readme.md +1 -1
  29. package/rules/autoconsent/bandcamp.json +42 -3
  30. package/rules/autoconsent/chatgpt.json +2 -2
  31. package/rules/autoconsent/elsevier.json +69 -0
  32. package/rules/autoconsent/fides.json +10 -2
  33. package/rules/autoconsent/lacoccinelle.json +97 -0
  34. package/rules/autoconsent/woo-commerce-com.json +28 -11
  35. package/rules/compact-rules.json +1 -1
  36. package/rules/rule-index.json +1 -1
  37. package/rules/rules.json +1 -1
  38. package/tests/bandcamp.spec.ts +7 -1
  39. package/tests/elsevier.spec.ts +3 -0
  40. package/tests/fides.spec.ts +7 -1
  41. package/tests/lacoccinelle.spec.ts +3 -0
  42. package/tests/woo-commerce-com.spec.ts +4 -1
@@ -1,3 +1,9 @@
1
1
  import generateCMPTests from '../playwright/runner';
2
2
 
3
- generateCMPTests('bandcamp.com', ['https://bandcamp.com/']);
3
+ generateCMPTests('bandcamp.com', [
4
+ 'https://bandcamp.com/',
5
+ // dialog lives in the menu-bar shadow root
6
+ 'https://daily.bandcamp.com/',
7
+ // dialog lives in the page-footer shadow root
8
+ 'https://radiohead.bandcamp.com/album/hail-to-the-thief-live-recordings-2003-2009',
9
+ ]);
@@ -0,0 +1,3 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('elsevier', ['https://www.elsevier.com/products/sciencedirect', 'https://www.elsevier.support/']);
@@ -1,3 +1,9 @@
1
1
  import generateCMPTests from '../playwright/runner';
2
2
 
3
- generateCMPTests('fides', ['https://www.nytimes.com/', 'https://nextjs.org/', 'https://wetransfer.com/', 'https://arstechnica.com/']);
3
+ generateCMPTests('fides', [
4
+ 'https://www.nytimes.com/',
5
+ 'https://www.nytimes.com/games/connections',
6
+ 'https://nextjs.org/',
7
+ 'https://wetransfer.com/',
8
+ 'https://arstechnica.com/',
9
+ ]);
@@ -0,0 +1,3 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('lacoccinelle', ['https://www.lacoccinelle.net/']);
@@ -1,3 +1,6 @@
1
1
  import generateCMPTests from '../playwright/runner';
2
2
 
3
- generateCMPTests('woo-commerce-com', ['https://woocommerce.com/'], {});
3
+ // The banner is not shown in AU and CA.
4
+ generateCMPTests('woo-commerce-com', ['https://woocommerce.com/'], {
5
+ skipRegions: ['AU', 'CA'],
6
+ });