jsonwebtoken
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -13,2 +13,8 @@ var jws = require('jws'); | ||
if (options.header) { | ||
Object.keys(options.header).forEach(function (k) { | ||
header[k] = options.header[k]; | ||
}); | ||
} | ||
payload.iat = Math.floor(Date.now() / 1000); | ||
@@ -15,0 +21,0 @@ |
{ | ||
"name": "jsonwebtoken", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "JSON Web Token implementation (symmetric and asymmetric)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
24203
350
1