Socket
Socket
Sign inDemoInstall

egg-cookies

Package Overview
Dependencies
17
Maintainers
5
Versions
35
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.4.2 to 2.4.3

6

History.md
2.4.3 / 2022-04-29
==================
**fixes**
* [[`c8c42d3`](http://github.com/eggjs/egg-cookies/commit/c8c42d30b41f7c3f6c2e9231364e4acf47cea221)] - fix: should only update .sig once (#32) (TZ | 天猪 <<atian25@qq.com>>)
2.4.2 / 2020-06-28

@@ -3,0 +9,0 @@ ==================

4

lib/cookies.js

@@ -76,3 +76,3 @@ 'use strict';

// can not match any key, remove ${name}.sig
this.set(sigName, null, { path: '/', signed: false });
this.set(sigName, null, { path: '/', signed: false, overwrite: true });
return;

@@ -82,3 +82,3 @@ }

// not signed by the first key, update sigValue
this.set(sigName, this.keys.sign(raw), { signed: false });
this.set(sigName, this.keys.sign(raw), { signed: false, overwrite: true });
}

@@ -85,0 +85,0 @@ return value;

{
"name": "egg-cookies",
"version": "2.4.2",
"version": "2.4.3",
"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