@springworks/input-validator
Advanced tools
Comparing version 3005.23.0 to 3005.31.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/* eslint-disable @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access */ | ||
const main_1 = require("../main"); | ||
@@ -4,0 +5,0 @@ describe('validateSchema', () => { |
@@ -6,3 +6,3 @@ /// <reference types="hapi__joi" /> | ||
export declare function registrationNumber(): joi.StringSchema; | ||
export declare function validateSchema(params: any, schema: joi.AnySchema, options?: joi.ValidationOptions): any; | ||
export declare function validateSchema<T = any>(params: unknown, schema: joi.AnySchema, options?: joi.ValidationOptions): T; | ||
//# sourceMappingURL=main.d.ts.map |
@@ -17,3 +17,5 @@ "use strict"; | ||
function validateSchema(params, schema, options = { | ||
// eslint-disable-next-line @typescript-eslint/naming-convention | ||
abortEarly: false, | ||
// eslint-disable-next-line @typescript-eslint/naming-convention | ||
stripUnknown: false, | ||
@@ -20,0 +22,0 @@ convert: true, |
@@ -6,2 +6,13 @@ # Change Log | ||
# [3005.31.0](https://github.com/Springworks/m2h-mono/compare/v3005.30.0...v3005.31.0) (2021-02-26) | ||
### Features | ||
* **input-validator:** specify return type ([bfb797d](https://github.com/Springworks/m2h-mono/commit/bfb797d7bcd6215bf226378afb7453db0c9c3c51)) | ||
# [3005.23.0](https://github.com/Springworks/m2h-mono/compare/v3005.22.3...v3005.23.0) (2021-02-11) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@springworks/input-validator", | ||
"version": "3005.23.0", | ||
"version": "3005.31.0", | ||
"description": "Simple module to validate input parameters.", | ||
@@ -28,3 +28,3 @@ "main": "build/main.js", | ||
"homepage": "https://github.com/Springworks/m2h-mono/tree/master/packages/input-validator#readme", | ||
"gitHead": "d8e5861c3867e57acf47528cb7373924780cf536" | ||
"gitHead": "217e38a3c4ed5761bfaae8c258b8ee5c696d4cc1" | ||
} |
Sorry, the diff of this file is not supported yet
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
26807
184