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 2.0.0 to 2.0.1

2

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

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

@@ -6,3 +6,3 @@ 'use strict';

module.exports = function (token) {
if (!token) {
if (typeof token !== 'string') {
throw new Error('Invalid token specified');

@@ -9,0 +9,0 @@ }

{
"name": "jwt-decode",
"version": "2.0.0",
"version": "2.0.1",
"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