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

celebrate

Package Overview
Dependencies
Maintainers
1
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 13.0.4 to 14.0.0

2

lib/celebrate.js

@@ -217,2 +217,2 @@ const HTTP = require('http');

exports.Segments = segments;
exports.celebrator = _.curryRight(exports.celebrate, 3);
exports.celebrator = _.curry(_.flip(exports.celebrate), 3);
{
"name": "celebrate",
"version": "13.0.4",
"version": "14.0.0",
"description": "A joi validation middleware for Express.",

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

@@ -240,3 +240,3 @@ [![celebrate](https://github.com/arb/celebrate/raw/master/images/logo.svg?sanitize=1)](https://www.npmjs.org/package/celebrate)

const err = new CelebrateError(undefined, { celebrated: true });
err.details.add(Segments.PARAMS, result.error);
err.details.set(Segments.PARAMS, result.error);
```

@@ -243,0 +243,0 @@ </details>

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