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 0.1.8 to 0.2.0

dist/react-cookie.js

9

package.json
{
"name": "react-cookie",
"version": "0.1.8",
"version": "0.2.0",
"description": "Load and save cookies within your React application",
"main": "dist/react-cookie.min.js",
"files": [
"index.js"
"dist/react-cookie.js",
"dist/react-cookie.min.js"
],

@@ -24,3 +25,4 @@ "repository": {

"scripts": {
"build": "mkdir dist & browserify index.js > dist/react-cookie.js & uglifyjs dist/react-cookie.js -o dist/react-cookie.min.js"
"build": "mkdir dist & browserify index.js > dist/react-cookie.js & uglifyjs dist/react-cookie.js -o dist/react-cookie.min.js",
"test": "node_modules/.bin/minijasminenode2 test.js"
},

@@ -32,4 +34,5 @@ "dependencies": {

"browserify": "^9.0.3",
"minijasminenode2": "^1.0.0",
"uglify-js": "^2.4.17"
}
}
# react-cookie
Load, save and remove cookies within your React application
If you are within a non-browser environment, it will do nothing and not crash.
If you are within a non-browser environment, you can use `reactCookie.setRawCookie(req.headers.cookie)`

@@ -81,5 +81,6 @@ ## Download

### `reactCookie.load(name)`
### `reactCookie.load(name, [doNotParse])`
### `reactCookie.save(name, val, [opt])`
### `reactCookie.remove(name)`
### `reactCookie.setRawCookie(cookies)`

@@ -86,0 +87,0 @@ ## opt

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