New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

feathers-authentication

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

feathers-authentication - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

6

lib/utils.js

@@ -42,6 +42,10 @@ 'use strict';

var VALID_KEYS = ['algorithm', 'expiresIn', 'notBefore', 'audience', 'issuer', 'jwtid', 'subject', 'noTimestamp', 'header', 'exp', 'nbf', 'aud', 'sub', 'iss'];
var settings = (0, _lodash2.default)({ jwtid: (0, _v2.default)() }, options.jwt);
var settings = (0, _lodash2.default)({}, options.jwt);
var secret = options.secret;
if (!(payload.jti || settings.jwtid)) {
settings.jwtid = (0, _v2.default)();
}
return new Promise(function (resolve, reject) {

@@ -48,0 +52,0 @@ debug('Creating JWT using options', settings);

2

package.json
{
"name": "feathers-authentication",
"description": "Add Authentication to your FeathersJS app.",
"version": "1.3.0",
"version": "1.3.1",
"homepage": "https://github.com/feathersjs/feathers-authentication",

@@ -6,0 +6,0 @@ "main": "lib/",

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