Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jwt-decode

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jwt-decode - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

bower.json
{
"name": "jwt-decode",
"description": "Decode JWT payload in the browser",
"version": "1.1.0",
"version": "1.1.1",
"keywords": ["jwt", "jsonwebtoken", "token", "decode"],

@@ -6,0 +6,0 @@ "homepage": "https://github.com/auth0/jwt-decode",

module.exports = function (str) {
return window.JSON ? window.JSON.parse(str) : eval('(' + str + ')');
};
var parsed;
if (typeof JSON === 'object') {
parsed = JSON.parse(str);
} else {
parsed = eval('(' + str + ')');
}
return parsed;
};
{
"name": "jwt-decode",
"version": "1.1.1",
"version": "1.1.2",
"description": "Decode JWT tokens, mostly useful for browser applications.",

@@ -5,0 +5,0 @@ "main": "lib/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