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

celebrate

Package Overview
Dependencies
Maintainers
2
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

celebrate - npm Package Compare versions

Comparing version 4.0.2 to 4.0.3

16

lib/index.d.ts

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

import * as express from 'express';
import { ErrorRequestHandler, RequestHandler } from 'express';

@@ -10,7 +10,7 @@ /**

declare function Celebrate (schema: {
params: object,
headers: object,
query: object,
body: object,
}, config?: object): express.RequestHandler;
params?: object,
headers?: object,
query?: object,
body?: object,
}, config?: object): RequestHandler;

@@ -21,5 +21,5 @@ declare namespace Celebrate {

*/
function errors(): express.ErrorRequestHandler;
function errors(): ErrorRequestHandler;
}
export = Celebrate;
export = Celebrate;
{
"name": "celebrate",
"version": "4.0.2",
"version": "4.0.3",
"description": "A joi validation middleware for Express.",

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

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