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

koa-basic-auth

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa-basic-auth - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

4

index.js

@@ -30,3 +30,3 @@

if (user.name == opts.name && user.pass == opts.pass) {
if (user && user.name == opts.name && user.pass == opts.pass) {
yield next;

@@ -37,2 +37,2 @@ } else {

};
};
};

@@ -5,3 +5,6 @@ {

"repository": "koajs/basic-auth",
"version": "1.1.0",
"version": "1.1.1",
"scripts": {
"test": "make test"
},
"keywords": [

@@ -19,3 +22,2 @@ "koa",

"koa": "koajs/koa",
"should": "~1.2.2",
"mocha": "~1.12.0",

@@ -22,0 +24,0 @@ "supertest": "~0.7.1"

# koa-basic-auth
# koa-basic-auth [![Build Status](https://travis-ci.org/koajs/basic-auth.png)](https://travis-ci.org/koajs/basic-auth)

@@ -67,2 +67,2 @@ Add simple "blanket" basic auth with username / password. If you require

MIT
MIT
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