@shopify/react-network
Advanced tools
Comparing version 3.5.0 to 3.5.1
@@ -8,4 +8,10 @@ # Changelog | ||
<-- ## [Unreleased] --> | ||
<!-- ## [Unreleased] --> | ||
## [3.5.1] - 2020-06-22 | ||
### Fixed | ||
- Fixes bug where empty cookies are still being set | ||
## [3.5.0] - 2020-06-16 | ||
@@ -12,0 +18,0 @@ |
@@ -37,3 +37,4 @@ "use strict"; | ||
var rawCookieValue = ctx.cookies.get(cookie); | ||
if (rawCookieValue && decodeURIComponent(rawCookieValue) === value) { | ||
if (rawCookieValue != null && | ||
decodeURIComponent(rawCookieValue) === value) { | ||
return; | ||
@@ -40,0 +41,0 @@ } |
{ | ||
"name": "@shopify/react-network", | ||
"version": "3.5.0", | ||
"version": "3.5.1", | ||
"license": "MIT", | ||
"description": "A collection of components that allow you to set common HTTP headers from within your React application.", | ||
"description": "A collection of components that allow you to set common HTTP headers from within your React application", | ||
"main": "dist/src/index.js", | ||
@@ -29,4 +29,4 @@ "types": "dist/src/index.d.ts", | ||
"@shopify/react-effect": "^3.2.12", | ||
"@shopify/react-hooks": "^1.10.0", | ||
"@shopify/react-universal-provider": "^1.1.17", | ||
"@shopify/react-hooks": "^1.10.1", | ||
"@shopify/react-universal-provider": "^1.1.18", | ||
"@types/accept-language-parser": "1.5.0", | ||
@@ -40,3 +40,3 @@ "@types/cookie": "^0.3.3", | ||
"devDependencies": { | ||
"@shopify/jest-koa-mocks": "^2.2.2" | ||
"@shopify/jest-koa-mocks": "^2.2.3" | ||
}, | ||
@@ -43,0 +43,0 @@ "peerDependencies": { |
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
58778
878