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

@springworks/input-validator

Package Overview
Dependencies
Maintainers
0
Versions
449
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@springworks/input-validator - npm Package Compare versions

Comparing version 3005.340.0 to 3005.367.0

8

build/main.js
"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

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