react-cookie
Advanced tools
Comparing version 2.0.8 to 2.0.9
@@ -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 = { |
{ | ||
"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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13115
122
4
+ Addedreact@18.3.1(transitive)
- Removedreact@^15.0.0
- Removedasap@2.0.6(transitive)
- Removedcore-js@1.2.7(transitive)
- Removedcreate-react-class@15.7.0(transitive)
- Removedencoding@0.1.13(transitive)
- Removedfbjs@0.8.18(transitive)
- Removediconv-lite@0.6.3(transitive)
- Removedis-stream@1.1.0(transitive)
- Removedisomorphic-fetch@2.2.1(transitive)
- Removednode-fetch@1.7.3(transitive)
- Removedpromise@7.3.1(transitive)
- Removedreact@15.7.0(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsetimmediate@1.0.5(transitive)
- Removedua-parser-js@0.7.39(transitive)
- Removedwhatwg-fetch@3.6.20(transitive)
Updateduniversal-cookie@^2.0.9