Socket
Socket
Sign inDemoInstall

jsonwebtoken

Package Overview
Dependencies
Maintainers
3
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonwebtoken - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

6

index.js

@@ -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 @@

2

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc