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

lad

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lad - npm Package Compare versions

Comparing version 1.1.6 to 1.1.7

2

package.json
{
"name": "lad",
"description": "Lad is the best Node.js framework. Made by a former Express TC and Koa team member.",
"version": "1.1.6",
"version": "1.1.7",
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com)",

@@ -6,0 +6,0 @@ "ava": {

@@ -20,3 +20,3 @@ const paginate = require('koa-ctx-paginate');

await ctx.render('admin/users', {
return ctx.render('admin/users', {
users,

@@ -32,3 +32,3 @@ pageCount,

if (!ctx.state.result) throw ctx.translateError('INVALID_USER');
await ctx.render('admin/users/retrieve');
return ctx.render('admin/users/retrieve');
}

@@ -35,0 +35,0 @@

@@ -89,3 +89,3 @@ const Boom = require('@hapi/boom');

await ctx.render('register-or-login');
return ctx.render('register-or-login');
}

@@ -108,3 +108,4 @@

};
await ctx.render('home');
return ctx.render('home');
}

@@ -111,0 +112,0 @@

async function keys(ctx) {
// this is like a migration, it will automatically add token + keys if needed
await ctx.state.user.save();
await ctx.render('otp/setup');
return ctx.render('otp/setup');
}
module.exports = keys;
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