Socket
Socket
Sign inDemoInstall

@shopify/react-cookie

Package Overview
Dependencies
Maintainers
27
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/react-cookie - npm Package Compare versions

Comparing version 2.0.12 to 2.0.13

2

build/ts/BrowserCookieManager.d.ts

@@ -1,2 +0,2 @@

import { CookieValue, Cookie } from './types';
import type { CookieValue, Cookie } from './types';
export { CookieContext } from './context';

@@ -3,0 +3,0 @@ export declare class BrowserCookieManager {

import React from 'react';
import { CookieManager } from './types';
import type { CookieManager } from './types';
export declare const CookieContext: React.Context<CookieManager | null>;
//# sourceMappingURL=context.d.ts.map

@@ -1,2 +0,2 @@

import { CookieSerializeOptions } from 'cookie';
import type { CookieSerializeOptions } from 'cookie';
export declare function useCookie(key: string): [

@@ -3,0 +3,0 @@ string | undefined,

@@ -1,2 +0,2 @@

import { CookieSerializeOptions } from 'cookie';
import type { CookieSerializeOptions } from 'cookie';
export type { CookieSerializeOptions };

@@ -3,0 +3,0 @@ export type CookieValue = {

import { BrowserCookieManager } from './BrowserCookieManager';
import { Cookie } from './types';
import type { Cookie } from './types';
export declare function clearCookies(): BrowserCookieManager;

@@ -4,0 +4,0 @@ export declare function createCookies(initialCookies?: Cookie): BrowserCookieManager;

{
"name": "@shopify/react-cookie",
"version": "2.0.12",
"version": "2.0.13",
"license": "MIT",

@@ -28,3 +28,3 @@ "description": "Cookies in React for the server and client",

"@shopify/react-hooks": "^3.0.3",
"@shopify/react-network": "^5.0.12",
"@shopify/react-network": "^5.0.13",
"cookie": "^0.4.0"

@@ -31,0 +31,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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