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

@guardian/consent-management-platform

Package Overview
Dependencies
Maintainers
6
Versions
206
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@guardian/consent-management-platform - npm Package Compare versions

Comparing version 0.0.0-beta-20240219110734 to 0.0.0-beta-20240219152933

dist/consumer-self-test-commons.d.ts

4

dist/getFramework.d.ts

@@ -1,3 +0,3 @@

import type { CountryCode } from '@guardian/libs';
import type { Framework } from './types';
export declare const getFramework: (countryCode: CountryCode) => Framework;
import type { Country } from './types/countries';
export declare const getFramework: (countryCode: Country) => Framework;

@@ -5,3 +5,3 @@ import type { onConsent as OnConsent } from './onConsent';

export declare const serverSideWarn: () => void;
export declare const serverSideWarnAndReturn: <T>(arg: T) => () => T;
export declare const serverSideWarnAndReturn: <T extends unknown>(arg: T) => () => T;
export declare const cmp: CMP;

@@ -8,0 +8,0 @@ export declare const onConsent: () => ReturnType<typeof OnConsent>;

@@ -1,5 +0,6 @@

import type { CountryCode } from '@guardian/libs';
import { Page } from 'playwright-core';
import type { VendorName } from '../vendors';
import type { AUSConsentState } from './aus';
import type { CCPAConsentState } from './ccpa';
import type { Country } from './countries';
import type { TCFv2ConsentState } from './tcfv2';

@@ -20,3 +21,3 @@ export type Framework = 'tcfv2' | 'ccpa' | 'aus';

pubData?: PubData;
country?: CountryCode;
country?: Country;
}) => void;

@@ -56,1 +57,2 @@ export type OnConsentChange = (fn: Callback, final?: boolean) => void;

export type { VendorName };
export type ClickAcceptAllCookies = (page: Page, text: string) => void;

@@ -1,2 +0,4 @@

type VendorIDType = Record<string, string[]>;
type VendorIDType = {
[key: string]: string[];
};
export declare const TCFV2VendorIDs: VendorIDType;

@@ -3,0 +5,0 @@ export declare const MiscVendorID: VendorIDType;

{
"name": "@guardian/consent-management-platform",
"version": "0.0.0-beta-20240219110734",
"version": "0.0.0-beta-20240219152933",
"description": "Consent management for *.theguardian.com.",

@@ -8,4 +8,4 @@ "homepage": "https://github.com/guardian/consent-management-platform.git",

"license": "Apache-2.0",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",

@@ -80,2 +80,4 @@ "files": [

"npm-run-all": "^4",
"playwright-core": "1.41.2",
"playwright-aws-lambda": "^0.10.0",
"prettier": "^3.2.4",

@@ -88,3 +90,2 @@ "prettier-plugin-svelte": "^3.1.2",

"rollup-plugin-svelte": "^7.1.6",
"@rollup/plugin-json": "^6.1.0",
"serve": "^14.2.1",

@@ -95,7 +96,9 @@ "start-server-and-test": "~2.0.3",

"typescript": "~5.3.3",
"wait-for-expect": "^3"
"wait-for-expect": "^3",
"ts-node-dev": "^2.0.0"
},
"peerDependencies": {
"playwright-core": "1.41.2",
"@guardian/libs": "^15.0.0 || ^16.0.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