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 5.1.0 to 5.1.1

2

package.json

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

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

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

@@ -323,8 +323,8 @@ import React, { Component } from "react";

const OverlayWrapper = !overlay
? (props) => <React.Fragment {...props} />
: (props) => <div {...props} />;
const Wrapper = !overlay
? (props) => <div {...props} />
: (props) => <div {...props} style={myOverlayStyle} className={overlayClasses} />;
return (
<OverlayWrapper style={myOverlayStyle} className={overlayClasses}>
<Wrapper>
<div className={`${containerClasses}`} style={myStyle}>

@@ -340,3 +340,3 @@ <div style={myContentStyle} className={contentClasses}>

</div>
</OverlayWrapper>
</Wrapper>
);

@@ -343,0 +343,0 @@ }

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