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.1.6 to 2.1.7

7

index.d.ts

@@ -6,2 +6,9 @@ import * as React from 'react';

export class Cookies {
constructor(
cookieHeader?: string | object | null,
hooks?: {
onSet: (name: string, value: string, options?: ReactCookieSetOptions) => void;
onRemove: (name: string, options?: ReactCookieRemoveOptions) => void;
},
);
get: (key: string, options?: ReactCookieGetOptions) => Cookie | undefined;

@@ -8,0 +15,0 @@ getAll: (options?: ReactCookieGetAllOptions) => Cookie[];

2

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

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

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