@shopify/react-cookie
Advanced tools
Comparing version 0.0.33 to 0.0.34
@@ -16,5 +16,3 @@ "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 () { var _a; return (_a = manager) === null || _a === void 0 ? void 0 : _a.getCookie(key); }), 2), cookie = _a[0], setCookieValue = _a[1]; | ||
var setCookie = react_1.useCallback(function (value, options) { | ||
@@ -21,0 +19,0 @@ if (!value) { |
{ | ||
"name": "@shopify/react-cookie", | ||
"version": "0.0.33", | ||
"version": "0.0.34", | ||
"license": "MIT", | ||
@@ -28,3 +28,3 @@ "description": "Cookies in React for the server and client", | ||
"@shopify/react-hooks": "^1.11.1", | ||
"@shopify/react-network": "^3.5.4", | ||
"@shopify/react-network": "^3.5.5", | ||
"cookie": "^0.4.0", | ||
@@ -31,0 +31,0 @@ "tslib": "^1.9.3" |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17009
215
+ Added@types/node@22.7.2(transitive)
- Removed@types/node@22.7.4(transitive)