@duckduckgo/autoconsent 10.5.0 → 10.6.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/.github/workflows/ddg-release.yml +84 -26
- package/CHANGELOG.md +24 -0
- package/ci/asana-create-tasks.js +1 -3
- package/ci/create-pr-template.js +1 -1
- package/data/coverage.json +1107 -1027
- package/dist/addon-firefox/background.bundle.js +1 -1
- package/dist/addon-firefox/content.bundle.js +1 -1
- package/dist/addon-firefox/manifest.json +1 -1
- package/dist/addon-firefox/rules.json +1 -1
- package/dist/addon-mv3/background.bundle.js +1 -1
- package/dist/addon-mv3/content.bundle.js +1 -1
- package/dist/addon-mv3/manifest.json +1 -1
- package/dist/addon-mv3/rules.json +1 -1
- package/dist/autoconsent.cjs.js +1 -1
- package/dist/autoconsent.esm.js +1 -1
- package/dist/autoconsent.playwright.js +1 -1
- package/dist/autoconsent.unit.js +2 -2
- package/lib/eval-snippets.ts +1 -1
- package/package.json +1 -1
- package/rules/autoconsent/tarteaucitron.json +1 -1
- package/rules/rules.json +1 -1
package/dist/autoconsent.unit.js
CHANGED
|
@@ -563,7 +563,7 @@
|
|
|
563
563
|
EVAL_TAKEALOT_0: () => document.body.classList.remove("freeze") || (document.body.style = "") || true,
|
|
564
564
|
EVAL_TARTEAUCITRON_0: () => tarteaucitron.userInterface.respondAll(false) || true,
|
|
565
565
|
EVAL_TARTEAUCITRON_1: () => tarteaucitron.userInterface.respondAll(true) || true,
|
|
566
|
-
EVAL_TARTEAUCITRON_2: () => document.cookie.match(/tarteaucitron=[^;]*/)[0].includes("false"),
|
|
566
|
+
EVAL_TARTEAUCITRON_2: () => document.cookie.match(/tarteaucitron=[^;]*/)?.[0].includes("false"),
|
|
567
567
|
EVAL_TAUNTON_TEST: () => document.cookie.includes("taunton_user_consent_submitted=true"),
|
|
568
568
|
EVAL_TEALIUM_0: () => typeof window.utag !== "undefined" && typeof utag.gdpr === "object",
|
|
569
569
|
EVAL_TEALIUM_1: () => utag.gdpr.setConsentValue(false) || true,
|
|
@@ -7909,7 +7909,7 @@
|
|
|
7909
7909
|
],
|
|
7910
7910
|
detectPopup: [
|
|
7911
7911
|
{
|
|
7912
|
-
visible: "#tarteaucitronRoot #
|
|
7912
|
+
visible: "#tarteaucitronRoot #tarteaucitronAlertBig",
|
|
7913
7913
|
check: "any"
|
|
7914
7914
|
}
|
|
7915
7915
|
],
|
package/lib/eval-snippets.ts
CHANGED
|
@@ -105,7 +105,7 @@ export const snippets = {
|
|
|
105
105
|
EVAL_TAKEALOT_0: () => document.body.classList.remove('freeze') || (document.body.style = '') || true,
|
|
106
106
|
EVAL_TARTEAUCITRON_0: () => tarteaucitron.userInterface.respondAll(false) || true,
|
|
107
107
|
EVAL_TARTEAUCITRON_1: () => tarteaucitron.userInterface.respondAll(true) || true,
|
|
108
|
-
EVAL_TARTEAUCITRON_2: () => document.cookie.match(/tarteaucitron=[^;]*/)[0].includes('false'),
|
|
108
|
+
EVAL_TARTEAUCITRON_2: () => document.cookie.match(/tarteaucitron=[^;]*/)?.[0].includes('false'),
|
|
109
109
|
EVAL_TAUNTON_TEST: () => document.cookie.includes('taunton_user_consent_submitted=true'),
|
|
110
110
|
EVAL_TEALIUM_0: () => typeof window.utag !== 'undefined' && typeof utag.gdpr === 'object',
|
|
111
111
|
EVAL_TEALIUM_1: () => utag.gdpr.setConsentValue(false) || true,
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"prehideSelectors": ["#tarteaucitronRoot"],
|
|
4
4
|
"detectCmp": [{ "exists": "#tarteaucitronRoot" }],
|
|
5
5
|
"detectPopup": [{
|
|
6
|
-
"visible": "#tarteaucitronRoot #
|
|
6
|
+
"visible": "#tarteaucitronRoot #tarteaucitronAlertBig",
|
|
7
7
|
"check": "any"
|
|
8
8
|
}],
|
|
9
9
|
"optIn": [
|
package/rules/rules.json
CHANGED