Socket
Socket
Sign inDemoInstall

egg-cookies

Package Overview
Dependencies
15
Maintainers
5
Versions
35
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.9.1 to 2.9.2

5

lib/cookies.js

@@ -27,2 +27,7 @@ 'use strict';

this._autoChips = defaultCookieOptions && defaultCookieOptions.autoChips;
if (this._autoChips && ctx.get('sec-fetch-site') !== 'cross-site') {
// only enable autoChips on cross site request
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Site#cross-site
this._autoChips = false;
}
this.ctx = ctx;

@@ -29,0 +34,0 @@ this.secure = this.ctx.secure;

2

package.json
{
"name": "egg-cookies",
"version": "2.9.1",
"version": "2.9.2",
"description": "cookies module for egg",

@@ -5,0 +5,0 @@ "files": [

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc