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

larvituser

Package Overview
Dependencies
Maintainers
1
Versions
261
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

larvituser - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

config/amqp_travis.json

5

index.js

@@ -277,2 +277,7 @@ 'use strict';

tasks.push(function(cb) {
if ( ! hashedPassword) {
cb();
return;
}
checkPassword(password, hashedPassword, function(err, res) {

@@ -279,0 +284,0 @@ if (err) {

2

package.json
{
"name": "larvituser",
"version": "0.5.1",
"version": "0.5.2",
"author": {

@@ -5,0 +5,0 @@ "name": "Mikael 'Lilleman' Göransson",

@@ -223,2 +223,10 @@ 'use strict';

it('should fail to log in a non existing user by username and password', function(done) {
userLib.fromUserAndPass('does_not_exist', 'foobar', function(err, user) {
if (err) throw err;
assert(user === false, 'user should be false');
done();
});
});
it('should log in user by field', function(done) {

@@ -225,0 +233,0 @@ userLib.fromField('firstname', 'migal', function(err, user) {

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