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

@ifaxity/jwt

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ifaxity/jwt - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "@ifaxity/jwt",
"version": "1.0.2",
"version": "1.0.3",
"main": "index.js",

@@ -5,0 +5,0 @@ "author": "Christian Norrman <christian@faxity.se>",

@@ -1,2 +0,2 @@

exports.TokenError = class TokenError extends Error {
class TokenError extends Error {
constructor(message) {

@@ -11,3 +11,3 @@ super(message);

exports.TokenExpiredError = class TokenExpiredError extends TokenError {
class TokenExpiredError extends TokenError {
constructor(message, expiredAt) {

@@ -19,3 +19,3 @@ super(message);

exports.TokenNotBeforeError = class TokenNotBeforeError extends TokenError {
class TokenNotBeforeError extends TokenError {
constructor(message, date) {

@@ -26,1 +26,5 @@ super(message);

}
exports.TokenError = TokenError;
exports.TokenExpiredError = TokenExpiredError;
exports.TokenNotBeforeError = TokenNotBeforeError;
// Module for signing and verifying JWT tokens
const jws = require('jws');
const createModel = require('./lib/model');
const { TokenError } = require('./lib/error');
const { TokenError } = require('./lib/errors');

@@ -6,0 +6,0 @@ const { ALGORITHMS } = jws;

@@ -6,3 +6,3 @@ // Module for signing and verifying JWT tokens

const { TokenError, TokenExpiredError, TokenNotBeforeError } = require('./lib/error');
const { TokenError, TokenExpiredError, TokenNotBeforeError } = require('./lib/errors');
const { ALGORITHMS } = jws;

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

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