You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@shopify/react-cookie

Package Overview
Dependencies
Maintainers
13
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.4 to 0.0.5

4

dist/hooks.js

@@ -16,3 +16,5 @@ "use strict";

}
var _a = tslib_1.__read(react_1.useState(function () { return (manager ? manager.getCookie(key) : undefined); }), 2), cookie = _a[0], setCookieValue = _a[1];
var _a = tslib_1.__read(react_1.useState(function () {
return manager ? manager.getCookie(key) : undefined;
}), 2), cookie = _a[0], setCookieValue = _a[1];
var setCookie = react_1.useCallback(function (value, options) {

@@ -19,0 +21,0 @@ if (!value) {

{
"name": "@shopify/react-cookie",
"version": "0.0.4",
"version": "0.0.5",
"license": "MIT",

@@ -27,6 +27,6 @@ "description": "Cookies in React for the server and client",

"dependencies": {
"@shopify/react-effect": "^3.2.4",
"@shopify/react-hooks": "^1.2.4",
"@shopify/react-html": "^9.2.4",
"@shopify/react-network": "^3.3.2",
"@shopify/react-effect": "^3.2.5",
"@shopify/react-hooks": "^1.2.5",
"@shopify/react-html": "^9.2.5",
"@shopify/react-network": "^3.3.3",
"cookie": "^0.4.0",

@@ -33,0 +33,0 @@ "tslib": "^1.9.3"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc