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
9
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.0.0-beta.3 to 5.0.0-beta.5

rollup.config.js

14

dist/ads-personalised-consent.js

@@ -22,4 +22,4 @@ import { fetchLegislation } from '@financial-times/privacy-legislation-client';

static legislationPolicy = {
CCPA: "ccpa",
GDPR: "gdpr"
CCPA: 'ccpa',
GDPR: 'gdpr'
};

@@ -99,5 +99,5 @@ /**

this.consentCookie = {
behavioral: consentCookie.includes("behaviouraladsOnsite:on"),
demographic: consentCookie.includes("demographicadsOnsite:on"),
programmatic: consentCookie.includes("programmaticadsOnsite:on")
behavioral: consentCookie.includes('behaviouraladsOnsite:on'),
demographic: consentCookie.includes('demographicadsOnsite:on'),
programmatic: consentCookie.includes('programmaticadsOnsite:on')
};

@@ -149,3 +149,3 @@ }

}
/**
/**
* getLegislation method returns the legislation policies which the user is subject to

@@ -168,3 +168,3 @@ * @returns {PersonalisedConsentTyping.Legislation}

}
/**
/**
* getGpcValue method returns the globalPrivacyControl value in user's browser

@@ -171,0 +171,0 @@ * @returns {boolean}

@@ -5,5 +5,2 @@ {

"type": "module",
"files": [
"dist/"
],
"main": "dist/ads-personalised-consent.js",

@@ -13,5 +10,2 @@ "dependencies": {

},
"peerDependencies": {
"@financial-times/privacy-legislation-client": ">=1"
},
"scripts": {

@@ -22,3 +16,3 @@ "clean": "rm -rf ./dist",

},
"version": "5.0.0-beta.3"
}
"version": "5.0.0-beta.5"
}
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