Socket
Socket
Sign inDemoInstall

@shopify/react-network

Package Overview
Dependencies
Maintainers
13
Versions
162
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/react-network - npm Package Compare versions

Comparing version 3.4.1 to 3.5.0

8

CHANGELOG.md

@@ -8,4 +8,10 @@ # Changelog

<!-- ## [Unreleased] -->
<-- ## [Unreleased] -->
## [3.5.0] - 2020-06-16
### Fixed
- Do not set `set-cookie` headers for incoming request cookies
## [3.4.0] - 2020-06-10

@@ -12,0 +18,0 @@

@@ -34,2 +34,8 @@ "use strict";

var value = options.value, cookieOptions = tslib_1.__rest(options, ["value"]);
// only set cookies that have been changed
// decode URI as the manager's cookie value is also decoded
var rawCookieValue = ctx.cookies.get(cookie);
if (rawCookieValue && decodeURIComponent(rawCookieValue) === value) {
return;
}
// missing 'none` in `sameSite`

@@ -36,0 +42,0 @@ // https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/cookies/index.d.ts#L91

2

package.json
{
"name": "@shopify/react-network",
"version": "3.4.1",
"version": "3.5.0",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "A collection of components that allow you to set common HTTP headers from within your React application.",

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