koa-generic-session
Advanced tools
Comparing version 2.3.0 to 2.3.1
@@ -462,7 +462,7 @@ 'use strict'; | ||
set: function set(sid, session) { | ||
this.cookies.set(key, sid, session.cookie); | ||
if (!this.headerSent || this.writeable) this.cookies.set(key, sid, session.cookie); | ||
}, | ||
reset: function reset() { | ||
this.cookies.set(key, null, { expires: new Date(0) }); | ||
if (!this.headerSent || this.writeable) this.cookies.set(key, null, { expires: new Date(0) }); | ||
} | ||
@@ -469,0 +469,0 @@ }; |
@@ -5,3 +5,3 @@ { | ||
"repository": "koajs/generic-session", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"license": "MIT", | ||
@@ -8,0 +8,0 @@ "engines": { |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
31536
6
1