@springworks/input-validator
Advanced tools
Comparing version 3005.340.0 to 3005.367.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.validateSchema = exports.registrationNumber = exports.objectId = exports.joi = void 0; | ||
exports.joi = void 0; | ||
exports.objectId = objectId; | ||
exports.registrationNumber = registrationNumber; | ||
exports.validateSchema = validateSchema; | ||
const error_factory_1 = require("@springworks/error-factory"); | ||
@@ -11,7 +14,5 @@ const joi = require("joi"); | ||
} | ||
exports.objectId = objectId; | ||
function registrationNumber() { | ||
return joi.string().lowercase().replace(/\s+/g, ''); | ||
} | ||
exports.registrationNumber = registrationNumber; | ||
function validateSchema(params, schema, options = { | ||
@@ -31,3 +32,2 @@ // eslint-disable-next-line @typescript-eslint/naming-convention | ||
} | ||
exports.validateSchema = validateSchema; | ||
//# sourceMappingURL=main.js.map |
{ | ||
"name": "@springworks/input-validator", | ||
"version": "3005.340.0", | ||
"version": "3005.367.0", | ||
"description": "Simple module to validate input parameters.", | ||
@@ -12,3 +12,3 @@ "main": "build/main.js", | ||
"dependencies": { | ||
"@springworks/error-factory": "3005.340.0", | ||
"@springworks/error-factory": "3005.367.0", | ||
"joi": "^17.13.3" | ||
@@ -25,3 +25,3 @@ }, | ||
"homepage": "https://github.com/Springworks/m2h-mono/tree/master/packages/input-validator#readme", | ||
"gitHead": "e2b58af8be31c9299eb276248c34f3eaea6859d5" | ||
"gitHead": "c223d0c52b878187b722ea99bdc96ba2d42a1651" | ||
} |
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
5945
+ Added@springworks/error-factory@3005.367.0(transitive)
- Removed@springworks/error-factory@3005.340.0(transitive)