@duckduckgo/autoconsent 4.2.0 → 4.3.1

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 (60) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/addon-firefox/content.bundle.js +3 -0
  3. package/dist/addon-firefox/manifest.json +1 -1
  4. package/dist/addon-firefox/rules.json +668 -6
  5. package/dist/addon-mv3/content.bundle.js +3 -0
  6. package/dist/addon-mv3/manifest.json +1 -1
  7. package/dist/addon-mv3/rules.json +668 -6
  8. package/dist/autoconsent.cjs.js +1 -1
  9. package/dist/autoconsent.esm.js +1 -1
  10. package/dist/autoconsent.playwright.js +1 -1
  11. package/lib/cmps/onetrust.ts +5 -0
  12. package/package.json +1 -1
  13. package/rules/autoconsent/1password-com.json +11 -0
  14. package/rules/autoconsent/agolde-com.json +13 -0
  15. package/rules/autoconsent/altium-com.json +9 -0
  16. package/rules/autoconsent/aquasana-com.json +9 -0
  17. package/rules/autoconsent/athlinks-com.json +12 -0
  18. package/rules/autoconsent/automattic-cmp-optout.json +19 -0
  19. package/rules/autoconsent/burpee-com.json +13 -0
  20. package/rules/autoconsent/complianz-optin.json +2 -2
  21. package/rules/autoconsent/crossfit-com.json +10 -0
  22. package/rules/autoconsent/itopvpn-com.json +13 -0
  23. package/rules/autoconsent/justwatch-com.json +15 -0
  24. package/rules/autoconsent/macpaw-com.json +13 -0
  25. package/rules/autoconsent/nba-com.json +9 -0
  26. package/rules/autoconsent/nrk-no.json +9 -0
  27. package/rules/autoconsent/pinetools-com.json +13 -0
  28. package/rules/autoconsent/similarweb-com.json +13 -0
  29. package/rules/autoconsent/takealot-com.json +13 -0
  30. package/rules/autoconsent/tidbits-com.json +9 -0
  31. package/rules/autoconsent/trader-joes-com.json +9 -0
  32. package/rules/autoconsent/tumblr-com.json +10 -0
  33. package/rules/autoconsent/urbanarmorgear-com.json +9 -0
  34. package/rules/autoconsent/woo-commerce-com.json +20 -0
  35. package/rules/autoconsent/xhamster-eu.json +15 -0
  36. package/rules/rules.json +668 -6
  37. package/tests/1password-com.spec.ts +5 -0
  38. package/tests/agolde-com.spec.ts +5 -0
  39. package/tests/altium-com.spec.ts +5 -0
  40. package/tests/aquasana-com.spec.ts +5 -0
  41. package/tests/athlinks-com.spec.ts +5 -0
  42. package/tests/automattic-cmp-optout.spec.ts +9 -0
  43. package/tests/burpee-com.spec.ts +5 -0
  44. package/tests/complianz-optin.spec.ts +4 -4
  45. package/tests/crossfit-com.spec.ts +5 -0
  46. package/tests/flex-orange-pl.spec.ts +5 -0
  47. package/tests/itopvpn-com.spec.ts +5 -0
  48. package/tests/justwatch-com.spec.ts +5 -0
  49. package/tests/macpaw-com.spec.ts +5 -0
  50. package/tests/nba-com.spec.ts +6 -0
  51. package/tests/nrk-no.spec.ts +5 -0
  52. package/tests/pinetools-com.spec.ts +5 -0
  53. package/tests/similarweb-com.spec.ts +5 -0
  54. package/tests/takealot-com.spec.ts +5 -0
  55. package/tests/tidbits-com.spec.ts +5 -0
  56. package/tests/trader-joes-com.spec.ts +5 -0
  57. package/tests/tumblr-com.spec.ts +5 -0
  58. package/tests/urbanarmorgear-com.spec.ts +5 -0
  59. package/tests/woo-commerce-com.spec.ts +5 -0
  60. package/tests/xhamster-eu.spec.ts +9 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,38 @@
1
+ # v4.3.1 (Tue Jun 20 2023)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Bump @typescript-eslint/eslint-plugin from 5.59.11 to 5.60.0 [#186](https://github.com/duckduckgo/autoconsent/pull/186) ([@dependabot[bot]](https://github.com/dependabot[bot]))
6
+ - Bump @types/chai from 4.3.4 to 4.3.5 [#183](https://github.com/duckduckgo/autoconsent/pull/183) ([@dependabot[bot]](https://github.com/dependabot[bot]))
7
+ - added nba.com notice rule and test and modified oneTrust rule class [#172](https://github.com/duckduckgo/autoconsent/pull/172) (arasolofotsara@duckduckgo.com [@icodebyamanda](https://github.com/icodebyamanda))
8
+
9
+ #### 🔩 Dependency Updates
10
+
11
+ - Bump @typescript-eslint/parser from 5.59.2 to 5.60.0 [#185](https://github.com/duckduckgo/autoconsent/pull/185) ([@dependabot[bot]](https://github.com/dependabot[bot]))
12
+ - Bump eslint from 8.40.0 to 8.43.0 [#184](https://github.com/duckduckgo/autoconsent/pull/184) ([@dependabot[bot]](https://github.com/dependabot[bot]))
13
+
14
+ #### Authors: 3
15
+
16
+ - [@dependabot[bot]](https://github.com/dependabot[bot])
17
+ - Amanda RASOLOFOTSARA ([@icodebyamanda](https://github.com/icodebyamanda))
18
+ - euw-arasolofotsara1 (arasolofotsara@duckduckgo.com)
19
+
20
+ ---
21
+
22
+ # v4.3.0 (Tue Jun 20 2023)
23
+
24
+ #### 🚀 Enhancement
25
+
26
+ - add batch of rules and tests for banners reported by users [#181](https://github.com/duckduckgo/autoconsent/pull/181) (arasolofotsara@duckduckgo.com [@sammacbeth](https://github.com/sammacbeth) [@icodebyamanda](https://github.com/icodebyamanda))
27
+
28
+ #### Authors: 3
29
+
30
+ - Amanda RASOLOFOTSARA ([@icodebyamanda](https://github.com/icodebyamanda))
31
+ - euw-arasolofotsara1 (arasolofotsara@duckduckgo.com)
32
+ - Sam Macbeth ([@sammacbeth](https://github.com/sammacbeth))
33
+
34
+ ---
35
+
1
36
  # v4.2.0 (Mon Jun 19 2023)
2
37
 
3
38
  #### 🚀 Enhancement
@@ -821,6 +821,9 @@
821
821
  constructor() {
822
822
  super("Onetrust");
823
823
  this.prehideSelectors = ["#onetrust-banner-sdk,#onetrust-consent-sdk,.onetrust-pc-dark-filter,.js-consent-banner"];
824
+ this.runContext = {
825
+ urlPattern: '^(?!.*https://www\\.nba\\.com/)'
826
+ };
824
827
  }
825
828
  get hasSelfTest() {
826
829
  return true;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "manifest_version": 2,
3
3
  "name": "Autoconsent",
4
- "version": "2023.2.14",
4
+ "version": "2023.6.20",
5
5
  "background": {
6
6
  "scripts": [
7
7
  "background.bundle.js"