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

connect-authentication

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connect-authentication - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

index.d.ts

2

index.js

@@ -118,3 +118,2 @@ "use strict";

throw new Error('TTL is required');
console.log(isTokenRevoked);
var getPayloadWithTimestamp = function (req) { return __awaiter(void 0, void 0, void 0, function () {

@@ -126,3 +125,2 @@ var authentication, token, obj, parsed, createdAt, payload, _a;

case 0:
console.log(isTokenRevoked);
authentication = req.get('Authentication');

@@ -129,0 +127,0 @@ if (!((_b = authentication === null || authentication === void 0 ? void 0 : authentication.startsWith) === null || _b === void 0 ? void 0 : _b.call(authentication, 'Bearer '))) return [3 /*break*/, 5];

{
"name": "connect-authentication",
"version": "0.0.3",
"version": "0.0.4",
"description": "Simple express credential/authentication middleware",

@@ -18,3 +18,3 @@ "main": "index.js",

"index.js",
"index.d.js"
"index.d.ts"
],

@@ -21,0 +21,0 @@ "keywords": [

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