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 3.1.0 to 3.1.1

2

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

@@ -5,0 +5,0 @@ "main": "cjs/index.js",

@@ -47,3 +47,3 @@ <h3 align="center">

## `useCookies()`
## `useCookies([dependencies])`

@@ -53,3 +53,3 @@ Access and modify cookies using React hooks.

```jsx
const [cookies, setCookie, removeCookie] = useCookies([dependencies]);
const [cookies, setCookie, removeCookie] = useCookies(['cookie-name']);
```

@@ -56,0 +56,0 @@

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