express-gateway-plugin-tookie
Advanced tools
Comparing version 1.1.0 to 1.2.0
const jsonParser = require('express').json(); | ||
const plugin = { | ||
version: '1.1.0', | ||
version: '1.2.0', | ||
policies: ['tookie'], | ||
@@ -18,2 +18,3 @@ init: function (pluginContext) { | ||
secure: true, | ||
sameSite: actionParams.sameSite || 'none', | ||
maxAge: (req.body.expires) * 1000 | ||
@@ -20,0 +21,0 @@ }).send(); |
{ | ||
"name": "express-gateway-plugin-tookie", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "manifest.js", |
@@ -26,2 +26,4 @@ # express-gateway-plugin-tookie | ||
- tookie: | ||
- action: | ||
sameSite: none | ||
``` |
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
28
29
3738
8
1