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.0.7 to 3.0.8

7

cjs/types.d.ts

@@ -1,5 +0,10 @@

import Cookies from 'universal-cookie';
/// <reference types="react" />
import Cookies, { Cookie } from 'universal-cookie';
export declare type ReactCookieProps = {
cookies?: Cookies;
allCookies?: {
[name: string]: Cookie;
};
children?: any;
ref?: React.RefObject<{}>;
};

13

cjs/withCookies.d.ts

@@ -1,12 +0,3 @@

import Cookies, { Cookie } from 'universal-cookie';
import * as React from 'react';
declare type WrapperProps = {
cookies: Cookies;
allCookies: {
[name: string]: Cookie;
};
children?: any;
ref?: React.RefObject<{}>;
};
export default function withCookies<T>(WrapperComponent: React.ComponentType<T & WrapperProps>): React.ComponentType<T>;
export {};
import { ReactCookieProps } from './types';
export default function withCookies<T>(WrapperComponent: React.ComponentType<T & ReactCookieProps>): React.ComponentType<T>;

@@ -1,5 +0,10 @@

import Cookies from 'universal-cookie';
/// <reference types="react" />
import Cookies, { Cookie } from 'universal-cookie';
export declare type ReactCookieProps = {
cookies?: Cookies;
allCookies?: {
[name: string]: Cookie;
};
children?: any;
ref?: React.RefObject<{}>;
};

@@ -1,12 +0,3 @@

import Cookies, { Cookie } from 'universal-cookie';
import * as React from 'react';
declare type WrapperProps = {
cookies: Cookies;
allCookies: {
[name: string]: Cookie;
};
children?: any;
ref?: React.RefObject<{}>;
};
export default function withCookies<T>(WrapperComponent: React.ComponentType<T & WrapperProps>): React.ComponentType<T>;
export {};
import { ReactCookieProps } from './types';
export default function withCookies<T>(WrapperComponent: React.ComponentType<T & ReactCookieProps>): React.ComponentType<T>;

@@ -1,5 +0,10 @@

import Cookies from 'universal-cookie';
/// <reference types="react" />
import Cookies, { Cookie } from 'universal-cookie';
export declare type ReactCookieProps = {
cookies?: Cookies;
allCookies?: {
[name: string]: Cookie;
};
children?: any;
ref?: React.RefObject<{}>;
};

@@ -1,12 +0,3 @@

import Cookies, { Cookie } from 'universal-cookie';
import * as React from 'react';
declare type WrapperProps = {
cookies: Cookies;
allCookies: {
[name: string]: Cookie;
};
children?: any;
ref?: React.RefObject<{}>;
};
export default function withCookies<T>(WrapperComponent: React.ComponentType<T & WrapperProps>): React.ComponentType<T>;
export {};
import { ReactCookieProps } from './types';
export default function withCookies<T>(WrapperComponent: React.ComponentType<T & ReactCookieProps>): React.ComponentType<T>;
{
"name": "react-cookie",
"version": "3.0.7",
"version": "3.0.8",
"description": "Universal cookies for React",

@@ -52,3 +52,3 @@ "main": "cjs/index.js",

},
"gitHead": "2b6dbedee459d318bf7b4616d024a0deee4a2c2f"
"gitHead": "9ef292c706eaeb3baf6f6e60189f2105c8d6f0b0"
}
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