@duckduckgo/autoconsent 4.1.2 → 4.2.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.
- package/CHANGELOG.md +69 -0
- package/dist/addon-firefox/content.bundle.js +3 -2
- package/dist/addon-firefox/manifest.json +1 -1
- package/dist/addon-firefox/rules.json +826 -36
- package/dist/addon-mv3/content.bundle.js +3 -2
- package/dist/addon-mv3/manifest.json +1 -1
- package/dist/addon-mv3/rules.json +826 -36
- package/dist/autoconsent.cjs.js +1 -1
- package/dist/autoconsent.esm.js +1 -1
- package/dist/autoconsent.playwright.js +1 -1
- package/lib/cmps/trustarc-top.ts +4 -3
- package/package.json +2 -2
- package/rules/autoconsent/bbb.json +12 -0
- package/rules/autoconsent/canva.json +25 -0
- package/rules/autoconsent/civic-cookie-control.json +12 -0
- package/rules/autoconsent/clustrmaps-com.json +12 -0
- package/rules/autoconsent/coinbase.json +3 -2
- package/rules/autoconsent/cookiefirst.json +41 -0
- package/rules/autoconsent/dailymotion-us.json +9 -0
- package/rules/autoconsent/delta-com.json +12 -0
- package/rules/autoconsent/dmgmedia-us.json +20 -0
- package/rules/autoconsent/geeks-for-geeks.json +12 -0
- package/rules/autoconsent/healthline-media.json +18 -0
- package/rules/autoconsent/ketch.json +28 -17
- package/rules/autoconsent/midway-usa.json +12 -0
- package/rules/autoconsent/onlyFans.json +18 -0
- package/rules/autoconsent/paypal-us.json +25 -0
- package/rules/autoconsent/pmc-cmp.json +9 -0
- package/rules/autoconsent/pornpics.json +9 -0
- package/rules/autoconsent/samsung-com.json +12 -0
- package/rules/autoconsent/theverge.json +2 -1
- package/rules/autoconsent/tractor-supply.json +12 -0
- package/rules/autoconsent/true-car.json +12 -0
- package/rules/autoconsent/truyo.json +17 -0
- package/rules/autoconsent/whitepages.json +12 -0
- package/rules/autoconsent/wpcc.json +9 -0
- package/rules/autoconsent/xhamster-us.json +12 -0
- package/rules/autoconsent/youporn.json +9 -0
- package/rules/rules.json +826 -36
- package/tests/bbb.spec.ts +5 -0
- package/tests/canva.spec.ts +5 -0
- package/tests/civic-cookie-control.spec.ts +8 -0
- package/tests/clustrmaps-com.spec.ts +5 -0
- package/tests/cookiefirst.spec.ts +7 -0
- package/tests/dailymotion-us.spec.ts +6 -0
- package/tests/delta.spec.ts +6 -0
- package/tests/dmgmedia-us.spec.ts +7 -0
- package/tests/geeks-for-geeks.spec.ts +6 -0
- package/tests/healthline-media.spec.ts +6 -0
- package/tests/ketch.spec.ts +1 -0
- package/tests/midway-usa.spec.ts +6 -0
- package/tests/onlyFans.spec.ts +5 -0
- package/tests/paypal-us.spec.ts +5 -0
- package/tests/pmc-cmp.spec.ts +7 -0
- package/tests/pornpics.spec.ts +5 -0
- package/tests/samsung.spec.ts +6 -0
- package/tests/tractor-supply.spec.ts +6 -0
- package/tests/true-car.spec.ts +6 -0
- package/tests/truyo.spec.ts +5 -0
- package/tests/whitepages.spec.ts +5 -0
- package/tests/wpcc.spec.ts +10 -0
- package/tests/xhamster-us.spec.ts +11 -0
- package/tests/youporn.spec.ts +5 -0
- package/rules/autoconsent/metoffice-gov-uk.json +0 -8
- package/tests/metoffice-gov-uk.spec.ts +0 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,72 @@
|
|
|
1
|
+
# v4.2.0 (Mon Jun 19 2023)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- Bump @typescript-eslint/eslint-plugin from 5.45.1 to 5.59.2 [#143](https://github.com/duckduckgo/autoconsent/pull/143) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
6
|
+
- Bump web-ext from 7.4.0 to 7.6.2 [#145](https://github.com/duckduckgo/autoconsent/pull/145) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
7
|
+
- Bump @typescript-eslint/parser from 5.51.0 to 5.59.2 [#146](https://github.com/duckduckgo/autoconsent/pull/146) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
8
|
+
- Bump @playwright/test from 1.30.0 to 1.33.0 [#147](https://github.com/duckduckgo/autoconsent/pull/147) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
9
|
+
|
|
10
|
+
#### 🐛 Bug Fix
|
|
11
|
+
|
|
12
|
+
- Round 2: Add to US top sites optOut banners rules and tests [#175](https://github.com/duckduckgo/autoconsent/pull/175) (arasolofotsara@duckduckgo.com [@icodebyamanda](https://github.com/icodebyamanda))
|
|
13
|
+
- added verification to check if user's optout on TrustArc CMP has been set [#159](https://github.com/duckduckgo/autoconsent/pull/159) ([@hyebahi](https://github.com/hyebahi) [@sammacbeth](https://github.com/sammacbeth))
|
|
14
|
+
- Added rule for cookiefirst [#177](https://github.com/duckduckgo/autoconsent/pull/177) ([@kunalvirk](https://github.com/kunalvirk))
|
|
15
|
+
- Bump @typescript-eslint/eslint-plugin from 5.59.5 to 5.59.11 [#182](https://github.com/duckduckgo/autoconsent/pull/182) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
16
|
+
- Bump tslib from 2.5.0 to 2.5.3 [#179](https://github.com/duckduckgo/autoconsent/pull/179) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
17
|
+
- Bump @types/chrome from 0.0.235 to 0.0.237 [#173](https://github.com/duckduckgo/autoconsent/pull/173) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
18
|
+
- Bump @rollup/plugin-typescript from 11.1.0 to 11.1.1 [#161](https://github.com/duckduckgo/autoconsent/pull/161) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
19
|
+
- rewrote CMP Ketch to include US in the rules [#171](https://github.com/duckduckgo/autoconsent/pull/171) (arasolofotsara@duckduckgo.com [@icodebyamanda](https://github.com/icodebyamanda))
|
|
20
|
+
- added 2 US CMP optOut rules and tests [#168](https://github.com/duckduckgo/autoconsent/pull/168) (arasolofotsara@duckduckgo.com [@icodebyamanda](https://github.com/icodebyamanda))
|
|
21
|
+
- Round 2: added 5 notice banner rules and tests top US sites [#167](https://github.com/duckduckgo/autoconsent/pull/167) (arasolofotsara@duckduckgo.com [@icodebyamanda](https://github.com/icodebyamanda))
|
|
22
|
+
- added 4 notice banner rules and tests top sites [#164](https://github.com/duckduckgo/autoconsent/pull/164) (arasolofotsara@duckduckgo.com [@icodebyamanda](https://github.com/icodebyamanda))
|
|
23
|
+
- Add xhamster.com custom US notice banner rule and test [#154](https://github.com/duckduckgo/autoconsent/pull/154) (arasolofotsara@duckduckgo.com [@muodov](https://github.com/muodov) [@icodebyamanda](https://github.com/icodebyamanda))
|
|
24
|
+
- Add youporn custom notice banner's rule and test [#158](https://github.com/duckduckgo/autoconsent/pull/158) (arasolofotsara@duckduckgo.com [@icodebyamanda](https://github.com/icodebyamanda))
|
|
25
|
+
- Add pornpics custom US notice banner rule and test [#156](https://github.com/duckduckgo/autoconsent/pull/156) (arasolofotsara@duckduckgo.com [@icodebyamanda](https://github.com/icodebyamanda))
|
|
26
|
+
- Add whitepages custom US notice banner rule and test [#155](https://github.com/duckduckgo/autoconsent/pull/155) (arasolofotsara@duckduckgo.com [@icodebyamanda](https://github.com/icodebyamanda))
|
|
27
|
+
- Add the cmp wpcc rule and test to notice banners [#157](https://github.com/duckduckgo/autoconsent/pull/157) (arasolofotsara@duckduckgo.com [@icodebyamanda](https://github.com/icodebyamanda))
|
|
28
|
+
- Bump @types/chrome from 0.0.234 to 0.0.235 [#149](https://github.com/duckduckgo/autoconsent/pull/149) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
29
|
+
- Bump @types/chrome from 0.0.206 to 0.0.234 [#144](https://github.com/duckduckgo/autoconsent/pull/144) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
30
|
+
- Tweak the Civic rule [#131](https://github.com/duckduckgo/autoconsent/pull/131) ([@muodov](https://github.com/muodov))
|
|
31
|
+
|
|
32
|
+
#### 🔩 Dependency Updates
|
|
33
|
+
|
|
34
|
+
- Bump auto from 10.42.0 to 10.46.0 [#162](https://github.com/duckduckgo/autoconsent/pull/162) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
35
|
+
- Bump eslint from 8.36.0 to 8.40.0 [#153](https://github.com/duckduckgo/autoconsent/pull/153) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
36
|
+
- Bump @typescript-eslint/eslint-plugin from 5.59.2 to 5.59.5 [#152](https://github.com/duckduckgo/autoconsent/pull/152) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
37
|
+
- Bump @rollup/plugin-typescript from 11.0.0 to 11.1.0 [#151](https://github.com/duckduckgo/autoconsent/pull/151) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
38
|
+
|
|
39
|
+
#### Authors: 7
|
|
40
|
+
|
|
41
|
+
- [@dependabot[bot]](https://github.com/dependabot[bot])
|
|
42
|
+
- [@hyebahi](https://github.com/hyebahi)
|
|
43
|
+
- Amanda RASOLOFOTSARA ([@icodebyamanda](https://github.com/icodebyamanda))
|
|
44
|
+
- euw-arasolofotsara1 (arasolofotsara@duckduckgo.com)
|
|
45
|
+
- Kunal Virk ([@kunalvirk](https://github.com/kunalvirk))
|
|
46
|
+
- Maxim Tsoy ([@muodov](https://github.com/muodov))
|
|
47
|
+
- Sam Macbeth ([@sammacbeth](https://github.com/sammacbeth))
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
# v4.1.3 (Tue Feb 14 2023)
|
|
52
|
+
|
|
53
|
+
#### 🐛 Bug Fix
|
|
54
|
+
|
|
55
|
+
- Reduce triggering of coinbase and theverge rules [#101](https://github.com/duckduckgo/autoconsent/pull/101) ([@sammacbeth](https://github.com/sammacbeth))
|
|
56
|
+
|
|
57
|
+
#### 🔩 Dependency Updates
|
|
58
|
+
|
|
59
|
+
- Bump tslib from 2.4.1 to 2.5.0 [#97](https://github.com/duckduckgo/autoconsent/pull/97) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
60
|
+
- Bump auto from 10.37.6 to 10.42.0 [#98](https://github.com/duckduckgo/autoconsent/pull/98) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
61
|
+
- Bump eslint from 8.31.0 to 8.34.0 [#100](https://github.com/duckduckgo/autoconsent/pull/100) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
62
|
+
|
|
63
|
+
#### Authors: 2
|
|
64
|
+
|
|
65
|
+
- [@dependabot[bot]](https://github.com/dependabot[bot])
|
|
66
|
+
- Sam Macbeth ([@sammacbeth](https://github.com/sammacbeth))
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
1
70
|
# v4.1.2 (Thu Feb 09 2023)
|
|
2
71
|
|
|
3
72
|
#### 🐛 Bug Fix
|
|
@@ -441,8 +441,9 @@
|
|
|
441
441
|
return true;
|
|
442
442
|
}
|
|
443
443
|
async test() {
|
|
444
|
-
//
|
|
445
|
-
|
|
444
|
+
//Test JS variable to check the user's preference
|
|
445
|
+
//PrefCookie = undefined means no consent is set, PrefCookie = '0' means consent is set to required only
|
|
446
|
+
return await doEval("window && window.truste && window.truste.eu.bindMap.prefCookie === '0'");
|
|
446
447
|
}
|
|
447
448
|
}
|
|
448
449
|
|