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

react-cookie

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-cookie - npm Package Compare versions

Comparing version 2.0.8 to 2.0.9

5

lib/CookiesProvider.js

@@ -35,3 +35,3 @@ 'use strict';

if ((0, _utils.isNode)()) {
if (props.cookies) {
_this.cookies = props.cookies;

@@ -62,3 +62,4 @@ } else {

CookiesProvider.propTypes = {
children: _propTypes.node
children: _propTypes.node,
cookies: (0, _propTypes.instanceOf)(_universalCookie2.default)
};

@@ -65,0 +66,0 @@ CookiesProvider.childContextTypes = {

9

package.json
{
"name": "react-cookie",
"version": "2.0.8",
"version": "2.0.9",
"description": "Universal cookies for React",

@@ -29,10 +29,13 @@ "main": "lib/index.js",

"prop-types": "^15.0.0",
"react": "^15.0.0",
"universal-cookie": "^2.0.1"
"universal-cookie": "^2.0.9"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"react": "^15.0.0",
"react-dom": "^15.0.0",
"rimraf": "^2.6.1"
},
"peerDependencies": {
"react": ">= 15"
}
}
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