Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@financial-times/ads-personalised-consent

Package Overview
Dependencies
Maintainers
10
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@financial-times/ads-personalised-consent - npm Package Compare versions

Comparing version 5.2.8 to 5.3.0-beta.1

10

dist/ads-personalised-consent.js

@@ -34,2 +34,3 @@ import { fetchLegislation } from '@financial-times/privacy-legislation-client';

programmatic: false,
permutive: false,
all: false

@@ -108,2 +109,3 @@ };

programmatic: false,
permutive: false,
all: false

@@ -117,2 +119,3 @@ };

programmatic: consentCookie.includes("programmaticadsOnsite:on"),
permutive: consentCookie.includes("permutiveadsOnsite:on"),
all: consentCookie.includes("behaviouraladsOnsite:on") && consentCookie.includes("demographicadsOnsite:on") && consentCookie.includes("programmaticadsOnsite:on")

@@ -165,2 +168,3 @@ };

programmatic: false,
permutive: false,
all: false

@@ -173,5 +177,6 @@ };

demographic,
programmatic
programmatic,
permutive
} = this.consentCookie;
const all = behavioral && demographic && programmatic;
const all = behavioral && demographic && programmatic && permutive;
return {

@@ -181,2 +186,3 @@ behavioral,

programmatic,
permutive,
all

@@ -183,0 +189,0 @@ };

2

package.json

@@ -22,3 +22,3 @@ {

},
"version": "5.2.8"
"version": "5.3.0-beta.1"
}

@@ -15,2 +15,3 @@ export type Legislation = Set<string> | undefined;

programmatic: boolean;
permutive: boolean;
all: boolean;

@@ -17,0 +18,0 @@ };

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