Socket
Socket
Sign inDemoInstall

react-cookie-kit

Package Overview
Dependencies
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-cookie-kit - npm Package Compare versions

Comparing version 1.0.20 to 1.0.21

22

dist/CookieKitPopup.js

@@ -411,4 +411,7 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }

id: "xbCheckbox_".concat(cookieDefn.id),
type: "checkbox",
checked: consentSettings[cookieDefn.type],
type: "checkbox" // Application cookies are always checked.
,
checked: cookieDefn.type === "application" || consentSettings[cookieDefn.type] // Application cookies are always disabled.
,
disabled: cookieDefn.type === "application",
onChange: function onChange(e) {

@@ -419,3 +422,5 @@ return _this2.handleCookieCheck(e, cookieDefn.type);

htmlFor: "xbCheckbox_".concat(cookieDefn.id),
className: "".concat(BLOCK, "__checkbox")
className: "".concat(BLOCK, "__checkbox") // Application cookies are always disabled.
,
disabled: cookieDefn.type === "application"
})), React.createElement("div", {

@@ -597,4 +602,7 @@ className: "".concat(BLOCK, "__consent-label"),

id: "xbCheckbox_".concat(cookieDefn.id),
type: "checkbox",
checked: consentSettings[cookieDefn.type],
type: "checkbox" // Application cookies are always checked.
,
checked: cookieDefn.type === "application" || consentSettings[cookieDefn.type] // Application cookies are always disabled.
,
disabled: cookieDefn.type === "application",
onChange: function onChange(e) {

@@ -605,3 +613,5 @@ return _this2.handleCookieCheck(e, cookieDefn.type);

htmlFor: "xbCheckbox_".concat(cookieDefn.id),
className: "".concat(BLOCK, "__checkbox")
className: "".concat(BLOCK, "__checkbox") // Application cookies are always disabled.
,
disabled: cookieDefn.type === "application"
})), React.createElement("div", {

@@ -608,0 +618,0 @@ className: "".concat(BLOCK, "__consent-label"),

{
"name": "react-cookie-kit",
"version": "1.0.20",
"version": "1.0.21",
"description": "GDPR / CCPA Easy Cookie, Script, Do-Not-Sell, and Fingerprint Consent Management for Websites.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -399,3 +399,6 @@ import React from "react";

type="checkbox"
checked={consentSettings[cookieDefn.type]}
// Application cookies are always checked.
checked={cookieDefn.type === "application" || consentSettings[cookieDefn.type]}
// Application cookies are always disabled.
disabled={cookieDefn.type === "application"}
onChange={e => this.handleCookieCheck(e, cookieDefn.type)}

@@ -406,2 +409,4 @@ />

className={`${BLOCK}__checkbox`}
// Application cookies are always disabled.
disabled={cookieDefn.type === "application"}
/>

@@ -673,3 +678,6 @@ </div>

type="checkbox"
checked={consentSettings[cookieDefn.type]}
// Application cookies are always checked.
checked={cookieDefn.type === "application" || consentSettings[cookieDefn.type]}
// Application cookies are always disabled.
disabled={cookieDefn.type === "application"}
onChange={e => this.handleCookieCheck(e, cookieDefn.type)}

@@ -680,2 +688,4 @@ />

className={`${BLOCK}__checkbox`}
// Application cookies are always disabled.
disabled={cookieDefn.type === "application"}
/>

@@ -682,0 +692,0 @@ </div>

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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