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

@salsita/koa-joi-middleware

Package Overview
Dependencies
Maintainers
6
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@salsita/koa-joi-middleware - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

5

index.js

@@ -1,2 +0,1 @@

const joi = require("@hapi/joi");
const { JoiError } = require("@salsita/errors");

@@ -11,5 +10,3 @@

try {
await Promise.all(
schemas.map(({ get, schema }) => joi.validate(get(ctx), schema, extOptions))
);
await Promise.all(schemas.map(({ get, schema }) => schema.validate(get(ctx), extOptions)));
} catch (err) {

@@ -16,0 +13,0 @@ throw new JoiError(err);

3

package.json
{
"name": "@salsita/koa-joi-middleware",
"version": "1.0.2",
"version": "1.0.3",
"description": "",

@@ -13,5 +13,4 @@ "main": "index.js",

"dependencies": {
"@hapi/joi": "^17.0.0",
"@salsita/errors": "^1.0.2"
}
}
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