Socket
Socket
Sign inDemoInstall

@ahi40/common

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ahi40/common - npm Package Compare versions

Comparing version 1.0.14 to 1.0.15

4

build/middlewares/require-auth.js

@@ -9,2 +9,6 @@ "use strict";

}
console.log('expires');
console.log(req.currentUser.exp);
console.log(Date.now().valueOf() / 1000);
console.log(req.currentUser.exp < Date.now().valueOf() / 1000);
if (req.currentUser.exp < Date.now().valueOf() / 1000) {

@@ -11,0 +15,0 @@ throw new not_authorized_error_1.NotAuthorizedError();

2

package.json
{
"name": "@ahi40/common",
"version": "1.0.14",
"version": "1.0.15",
"description": "",

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