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

react-cookie-consent

Package Overview
Dependencies
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-cookie-consent - npm Package Compare versions

Comparing version 7.1.0 to 7.1.1

4

build/index.d.ts

@@ -45,4 +45,4 @@ import * as React from "react";

acceptOnScrollPercentage?: number;
customContentAttributes: object;
customContainerAttributes: object;
customContentAttributes?: object;
customContainerAttributes?: object;
}

@@ -49,0 +49,0 @@

@@ -8,2 +8,6 @@ # Changelog

## [[7.1.1]](https://github.com/Mastermindzh/react-cookie-consent/releases/tag/7.1.0)
- `customContentAttributes` and `customContainerAttributes` are now optional in the typing file as they should be
## [[7.1.0](https://github.com/Mastermindzh/react-cookie-consent/releases/tag/7.1.0)]

@@ -10,0 +14,0 @@

@@ -7,3 +7,3 @@ {

},
"version": "7.1.0",
"version": "7.1.1",
"description": "A small, simple and customizable cookie consent bar for use in React applications.",

@@ -10,0 +10,0 @@ "main": "build/index.js",

@@ -182,7 +182,5 @@ # :cookie: react-cookie-consent :cookie:

| acceptOnScrollPercentage | number | 25 | Percentage of the page height the user has to scroll to trigger the accept function if acceptOnScroll is enabled |
| customContentAttributes | object | `{}` | Allows you to set custom (data) attributes on the content div |
| customContainerAttributes | object | `{}` | Allows you to set custom (data) attributes on the container div |
| customContentAttributes
| object | {} | Allows you to set custom (data) attributes on the content div |
| customContainerAttributes | object | {} | Allows you to set custom (data) attributes on the container div |
## Debugging it

@@ -189,0 +187,0 @@

@@ -45,4 +45,4 @@ import * as React from "react";

acceptOnScrollPercentage?: number;
customContentAttributes: object;
customContainerAttributes: object;
customContentAttributes?: object;
customContainerAttributes?: object;
}

@@ -49,0 +49,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