@cliqz/autoconsent
Advanced tools
Comparing version 0.7.3 to 0.7.4
@@ -119,3 +119,3 @@ 'use strict'; | ||
const detections = await Promise.all(rules.map(rule => evaluateRule(rule, tab))); | ||
return detections.some(r => !!r); | ||
return detections.every(r => !!r); | ||
} | ||
@@ -122,0 +122,0 @@ async _runRulesSequentially(tab, rules) { |
@@ -115,3 +115,3 @@ /* eslint-disable no-restricted-syntax,no-await-in-loop,no-underscore-dangle */ | ||
const detections = await Promise.all(rules.map(rule => evaluateRule(rule, tab))); | ||
return detections.some(r => !!r); | ||
return detections.every(r => !!r); | ||
} | ||
@@ -118,0 +118,0 @@ async _runRulesSequentially(tab, rules) { |
@@ -119,3 +119,3 @@ 'use strict'; | ||
const detections = await Promise.all(rules.map(rule => evaluateRule(rule, tab))); | ||
return detections.some(r => !!r); | ||
return detections.every(r => !!r); | ||
} | ||
@@ -122,0 +122,0 @@ async _runRulesSequentially(tab, rules) { |
@@ -115,3 +115,3 @@ /* eslint-disable no-restricted-syntax,no-await-in-loop,no-underscore-dangle */ | ||
const detections = await Promise.all(rules.map(rule => evaluateRule(rule, tab))); | ||
return detections.some(r => !!r); | ||
return detections.every(r => !!r); | ||
} | ||
@@ -118,0 +118,0 @@ async _runRulesSequentially(tab, rules) { |
@@ -135,3 +135,3 @@ /* eslint-disable no-restricted-syntax,no-await-in-loop,no-underscore-dangle */ | ||
const detections = await Promise.all(rules.map(rule => evaluateRule(rule, tab))); | ||
return detections.some(r => !!r); | ||
return detections.every(r => !!r); | ||
} | ||
@@ -138,0 +138,0 @@ |
{ | ||
"name": "@cliqz/autoconsent", | ||
"version": "0.7.3", | ||
"version": "0.7.4", | ||
"description": "", | ||
@@ -11,2 +11,3 @@ "main": "dist/autoconsent.cjs.js", | ||
"scripts": { | ||
"clean": "rm -r dist lib/**/*.js lib/*.js", | ||
"build": "tsc", | ||
@@ -13,0 +14,0 @@ "bundle": "rollup -c", |
{ | ||
"name": "Onetrust", | ||
"detectCmp": [{ "exists": "#onetrust-banner-sdk" }], | ||
"detectPopup": [{ "visible": "#onetrust-banner-sdk" }], | ||
"detectCmp": [{ "exists": "#onetrust-banner-sdk,.optanon-alert-box-wrapper " }], | ||
"detectPopup": [{ "visible": "#onetrust-banner-sdk,.optanon-alert-box-wrapper " }], | ||
"optOut": [ | ||
@@ -6,0 +6,0 @@ { "hide": ["#onetrust-banner-sdk", "#onetrust-consent-sdk"] }, |
@@ -30,3 +30,3 @@ #!/usr/bin/env node | ||
"tealium.com", "cookiebot", "consentmanager.net", "SFR", "Webedia", "cookiecontrolcivic", | ||
"Autodesk", "cookieinformation", "com_quantcast" | ||
"Autodesk", "cookieinformation", "quantcast" | ||
]; | ||
@@ -33,0 +33,0 @@ const buildConsentOMatic = (async () => { |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
464646
13143