Comparing version 13.0.4 to 14.0.0
@@ -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> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27953