New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@duckduckgo/autoconsent

Package Overview
Dependencies
Maintainers
7
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@duckduckgo/autoconsent - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

rules/autoconsent/192.json

12

dist/autoconsent.cjs.js

@@ -879,6 +879,6 @@ 'use strict';

}
return tab.elementExists("#truste-show-consent");
return tab.elementExists("#truste-show-consent,#truste-consent-track");
}
async detectPopup(tab) {
return ((await tab.elementsAreVisible("#truste-consent-content,#trustarc-banner-overlay")) ||
return ((await tab.elementsAreVisible("#truste-consent-content,.truste-consent-content,#trustarc-banner-overlay")) ||
(tab.frame &&

@@ -973,3 +973,3 @@ (await tab.waitForElement("#defaultpreferencemanager", 5000, tab.frame.id))));

super('Cybotcookiebot');
this.prehideSelectors = ["#CybotCookiebotDialog,#dtcookie-container,#cookiebanner"];
this.prehideSelectors = ["#CybotCookiebotDialog,#dtcookie-container,#cookiebanner,#cb-cookieoverlay"];
}

@@ -985,3 +985,3 @@ async detectCmp(tab) {

detectPopup(tab) {
return tab.elementExists('#CybotCookiebotDialog,#dtcookie-container,#cookiebanner');
return tab.elementExists('#CybotCookiebotDialog,#dtcookie-container,#cookiebanner,#cb-cookiebanner');
}

@@ -1025,2 +1025,6 @@ async optOut(tab) {

}
// site with 3rd confirm settings modal
if (await tab.elementExists('#cb-confirmedSettings')) {
await tab.eval('endCookieProcess()');
}
return true;

@@ -1027,0 +1031,0 @@ }

@@ -875,6 +875,6 @@ const enableLogs = false; // change this to enable debug logs

}
return tab.elementExists("#truste-show-consent");
return tab.elementExists("#truste-show-consent,#truste-consent-track");
}
async detectPopup(tab) {
return ((await tab.elementsAreVisible("#truste-consent-content,#trustarc-banner-overlay")) ||
return ((await tab.elementsAreVisible("#truste-consent-content,.truste-consent-content,#trustarc-banner-overlay")) ||
(tab.frame &&

@@ -969,3 +969,3 @@ (await tab.waitForElement("#defaultpreferencemanager", 5000, tab.frame.id))));

super('Cybotcookiebot');
this.prehideSelectors = ["#CybotCookiebotDialog,#dtcookie-container,#cookiebanner"];
this.prehideSelectors = ["#CybotCookiebotDialog,#dtcookie-container,#cookiebanner,#cb-cookieoverlay"];
}

@@ -981,3 +981,3 @@ async detectCmp(tab) {

detectPopup(tab) {
return tab.elementExists('#CybotCookiebotDialog,#dtcookie-container,#cookiebanner');
return tab.elementExists('#CybotCookiebotDialog,#dtcookie-container,#cookiebanner,#cb-cookiebanner');
}

@@ -1021,2 +1021,6 @@ async optOut(tab) {

}
// site with 3rd confirm settings modal
if (await tab.elementExists('#cb-confirmedSettings')) {
await tab.eval('endCookieProcess()');
}
return true;

@@ -1023,0 +1027,0 @@ }

@@ -635,6 +635,6 @@ 'use strict';

}
return tab.elementExists("#truste-show-consent");
return tab.elementExists("#truste-show-consent,#truste-consent-track");
}
async detectPopup(tab) {
return ((await tab.elementsAreVisible("#truste-consent-content,#trustarc-banner-overlay")) ||
return ((await tab.elementsAreVisible("#truste-consent-content,.truste-consent-content,#trustarc-banner-overlay")) ||
(tab.frame &&

@@ -729,3 +729,3 @@ (await tab.waitForElement("#defaultpreferencemanager", 5000, tab.frame.id))));

super('Cybotcookiebot');
this.prehideSelectors = ["#CybotCookiebotDialog,#dtcookie-container,#cookiebanner"];
this.prehideSelectors = ["#CybotCookiebotDialog,#dtcookie-container,#cookiebanner,#cb-cookieoverlay"];
}

@@ -741,3 +741,3 @@ async detectCmp(tab) {

detectPopup(tab) {
return tab.elementExists('#CybotCookiebotDialog,#dtcookie-container,#cookiebanner');
return tab.elementExists('#CybotCookiebotDialog,#dtcookie-container,#cookiebanner,#cb-cookiebanner');
}

@@ -781,2 +781,6 @@ async optOut(tab) {

}
// site with 3rd confirm settings modal
if (await tab.elementExists('#cb-confirmedSettings')) {
await tab.eval('endCookieProcess()');
}
return true;

@@ -783,0 +787,0 @@ }

@@ -5,3 +5,3 @@ import AutoConsentBase from './base';

super('Cybotcookiebot');
this.prehideSelectors = ["#CybotCookiebotDialog,#dtcookie-container,#cookiebanner"];
this.prehideSelectors = ["#CybotCookiebotDialog,#dtcookie-container,#cookiebanner,#cb-cookieoverlay"];
}

@@ -17,3 +17,3 @@ async detectCmp(tab) {

detectPopup(tab) {
return tab.elementExists('#CybotCookiebotDialog,#dtcookie-container,#cookiebanner');
return tab.elementExists('#CybotCookiebotDialog,#dtcookie-container,#cookiebanner,#cb-cookiebanner');
}

@@ -57,2 +57,6 @@ async optOut(tab) {

}
// site with 3rd confirm settings modal
if (await tab.elementExists('#cb-confirmedSettings')) {
await tab.eval('endCookieProcess()');
}
return true;

@@ -59,0 +63,0 @@ }

@@ -6,3 +6,3 @@ import AutoConsentBase from './base';

prehideSelectors = ["#CybotCookiebotDialog,#dtcookie-container,#cookiebanner"]
prehideSelectors = ["#CybotCookiebotDialog,#dtcookie-container,#cookiebanner,#cb-cookieoverlay"]

@@ -22,3 +22,3 @@ constructor() {

detectPopup(tab: TabActor) {
return tab.elementExists('#CybotCookiebotDialog,#dtcookie-container,#cookiebanner');
return tab.elementExists('#CybotCookiebotDialog,#dtcookie-container,#cookiebanner,#cb-cookiebanner');
}

@@ -62,2 +62,8 @@

}
// site with 3rd confirm settings modal
if (await tab.elementExists('#cb-confirmedSettings')) {
await tab.eval('endCookieProcess()')
}
return true;

@@ -64,0 +70,0 @@ }

@@ -18,6 +18,6 @@ import AutoConsentBase, { waitFor } from "./base";

}
return tab.elementExists("#truste-show-consent");
return tab.elementExists("#truste-show-consent,#truste-consent-track");
}
async detectPopup(tab) {
return ((await tab.elementsAreVisible("#truste-consent-content,#trustarc-banner-overlay")) ||
return ((await tab.elementsAreVisible("#truste-consent-content,.truste-consent-content,#trustarc-banner-overlay")) ||
(tab.frame &&

@@ -24,0 +24,0 @@ (await tab.waitForElement("#defaultpreferencemanager", 5000, tab.frame.id))));

@@ -26,3 +26,3 @@ import AutoConsentBase, { waitFor } from "./base";

}
return tab.elementExists("#truste-show-consent");
return tab.elementExists("#truste-show-consent,#truste-consent-track");
}

@@ -32,3 +32,3 @@

return (
(await tab.elementsAreVisible("#truste-consent-content,#trustarc-banner-overlay")) ||
(await tab.elementsAreVisible("#truste-consent-content,.truste-consent-content,#trustarc-banner-overlay")) ||
(tab.frame &&

@@ -35,0 +35,0 @@ (await tab.waitForElement(

{
"name": "@duckduckgo/autoconsent",
"version": "1.0.7",
"version": "1.0.8",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/autoconsent.cjs.js",

@@ -7,4 +7,5 @@ import generateCMPTests from "./runner";

'https://forums.cpanel.net/',
'https://tfl.gov.uk'
], {
skipRegions: ['US']
});
import generateCMPTests from "./runner";
generateCMPTests('paypal.de', [
'https://paypal.de'], {
skipRegions: ["US", "FR", "GB"]
}
);
generateCMPTests('paypal.com', [
'https://paypal.de',
'https://paypal.com'
],{
skipRegions: ["US"],
testSelfTest: false
});

@@ -9,2 +9,3 @@ import generateCMPTests from "./runner";

'https://www.starbucks.com/',
'https://www.samsung.com/uk/smartphones/all-smartphones/'
], {

@@ -11,0 +12,0 @@ testOptOut: true,

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc