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

@pan-os/cerberus

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pan-os/cerberus - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

2

package.json
{
"name": "@pan-os/cerberus",
"version": "1.0.8",
"version": "1.0.9",
"description": "security wrapper to protect routes dynamically with heimdall structure",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -33,3 +33,3 @@ /* eslint-disable no-underscore-dangle */

module.exports = (email, password, done) => (User) => User.findOne({ email }, (err, user) => {
module.exports = (User) => (email, password, done) => User.findOne({ email }, (err, user) => {
if (!user) return done(null, false, { error: new InvalidCredentialsError(err) });

@@ -36,0 +36,0 @@

const generateWebToken = require('./token');
const {lookupUser} = require('./auth');
const { lookupUser } = require('./auth');

@@ -4,0 +4,0 @@ module.exports = {

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