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

@springworks/input-validator

Package Overview
Dependencies
Maintainers
1
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.23.0 to 3005.31.0

1

build/__tests__/main.test.js
"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', () => {

2

build/main.d.ts

@@ -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

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