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 6.2.2 to 6.2.3

51

build/index.js
/*! For license information please see index.js.LICENSE.txt */
module.exports = (() => {
module.exports = (function () {
var e = {
866: (e, t, n) => {
866: function (e, t, n) {
"use strict";
n.r(t),
n.d(t, {
Cookies: () => s(),
OPTIONS: () => h,
SAME_SITE_OPTIONS: () => m,
default: () => j,
getCookieConsentValue: () => g,
Cookies: function () {
return s();
},
OPTIONS: function () {
return h;
},
SAME_SITE_OPTIONS: function () {
return m;
},
default: function () {
return j;
},
getCookieConsentValue: function () {
return g;
},
});

@@ -512,3 +522,3 @@ const o = require("react");

},
808: (e, t, n) => {
808: function (e, t, n) {
var o, r, i;

@@ -598,3 +608,3 @@ void 0 ===

},
703: (e, t, n) => {
703: function (e, t, n) {
"use strict";

@@ -643,6 +653,6 @@ var o = n(414);

},
697: (e, t, n) => {
697: function (e, t, n) {
e.exports = n(703)();
},
414: (e) => {
414: function (e) {
"use strict";

@@ -659,12 +669,21 @@ e.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";

return (
(n.n = (e) => {
var t = e && e.__esModule ? () => e.default : () => e;
(n.n = function (e) {
var t =
e && e.__esModule
? function () {
return e.default;
}
: function () {
return e;
};
return n.d(t, { a: t }), t;
}),
(n.d = (e, t) => {
(n.d = function (e, t) {
for (var o in t)
n.o(t, o) && !n.o(e, o) && Object.defineProperty(e, o, { enumerable: !0, get: t[o] });
}),
(n.o = (e, t) => Object.prototype.hasOwnProperty.call(e, t)),
(n.r = (e) => {
(n.o = function (e, t) {
return Object.prototype.hasOwnProperty.call(e, t);
}),
(n.r = function (e) {
"undefined" != typeof Symbol &&

@@ -671,0 +690,0 @@ Symbol.toStringTag &&

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

## [[6.2.3](https://github.com/Mastermindzh/react-cookie-consent/releases/tag/6.2.3)]
- Added support for IE11, the webpack generated runtime-code should not use arrow functions
## [[6.2.2](https://github.com/Mastermindzh/react-cookie-consent/releases/tag/6.2.2)]

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

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

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

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

@@ -10,2 +10,5 @@ var path = require("path");

libraryTarget: "commonjs2", // THIS IS THE MOST IMPORTANT LINE! :mindblow: I wasted more than 2 days until realize this was the line most important in all this guide.
environment: {
arrowFunction: false, // the generated runtime-code should not use arrow functions
},
},

@@ -12,0 +15,0 @@ module: {

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