Socket
Socket
Sign inDemoInstall

@vivaprivacy/cookie-consent

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vivaprivacy/cookie-consent - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"version": "1.0.1",
"version": "1.0.2",
"name": "@vivaprivacy/cookie-consent",

@@ -4,0 +4,0 @@ "description": "Best GDPR banner",

@@ -9,5 +9,17 @@ # Cookie notice with a lot of customization features

```sh
<script src="https://cdn.jsdelivr.net/npm/@vivaprivacy/cookie-consent@1.0.0/build/cookie-consent.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@vivaprivacy/cookie-consent@1.0.2/build/cookie-consent.min.js"></script>
```
#### Classic
```
const CC = window.CookieConsent
```
##### Initialization:
```
const cc = new CC({
//...options
})
```
| Prop | Type | Description |Values|

@@ -14,0 +26,0 @@ | ------ | ------ | ------ |------|

@@ -24,3 +24,3 @@ import Cookies from "js-cookie";

interface Window {
CookieBanner: typeof CookieBanner;
CookieConsent: typeof CookieBanner;
}

@@ -429,2 +429,2 @@ }

window.CookieBanner = CookieBanner;
window.CookieConsent = CookieBanner;

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