@finnair/v-validation
Advanced tools
Comparing version 1.1.0 to 2.0.0
@@ -6,2 +6,10 @@ # Change Log | ||
# [2.0.0](https://github.com/finnair/v-validation/compare/v1.1.0...v2.0.0) (2022-09-08) | ||
**Note:** Version bump only for package @finnair/v-validation | ||
# [1.1.0](https://github.com/finnair/v-validation/compare/v1.0.1...v1.1.0) (2022-08-29) | ||
@@ -8,0 +16,0 @@ |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
@@ -5,3 +5,3 @@ import { SchemaValidator, SchemaModel } from './schema'; | ||
declare const V: { | ||
fn: (fn: ValidatorFn, type?: string | undefined) => ValidatorFnWrapper; | ||
fn: (fn: ValidatorFn, type?: string) => ValidatorFnWrapper; | ||
map: (fn: MappingFn, error?: any) => ValueMapper; | ||
@@ -25,5 +25,5 @@ ignore: () => IgnoreValidator; | ||
emptyTo: (defaultValue: any) => ValueMapper; | ||
uuid: (version?: number | undefined) => AssertTrueValidator; | ||
pattern: (pattern: string | RegExp, flags?: string | undefined) => PatternValidator; | ||
toPattern: (pattern: string | RegExp, flags?: string | undefined) => PatternNormalizer; | ||
uuid: (version?: number) => AssertTrueValidator; | ||
pattern: (pattern: string | RegExp, flags?: string) => PatternValidator; | ||
toPattern: (pattern: string | RegExp, flags?: string) => PatternNormalizer; | ||
boolean: () => BooleanValidator; | ||
@@ -55,3 +55,3 @@ toBoolean: (truePattern?: RegExp, falsePattern?: RegExp) => BooleanNormalizer; | ||
enum: (enumType: object, name: string) => EnumValidator; | ||
assertTrue: (fn: AssertTrue, type?: string, path?: Path | undefined) => AssertTrueValidator; | ||
assertTrue: (fn: AssertTrue, type?: string, path?: Path) => AssertTrueValidator; | ||
hasValue: (expectedValue: any) => HasValueValidator; | ||
@@ -58,0 +58,0 @@ json: (...validators: Validator[]) => JsonValidator; |
{ | ||
"name": "@finnair/v-validation", | ||
"version": "1.1.0", | ||
"version": "2.0.0", | ||
"private": false, | ||
@@ -27,3 +27,3 @@ "description": "V-validation core package", | ||
"dependencies": { | ||
"@finnair/path": "^1.1.0", | ||
"@finnair/path": "^2.0.0", | ||
"@types/deep-equal": "1.0.1", | ||
@@ -34,3 +34,3 @@ "@types/uuid-validate": "0.0.1", | ||
}, | ||
"gitHead": "860263e814c178790766b48e22d8a8995e33ae40" | ||
"gitHead": "432759665b664859d5ed80e4b573432abdb23afc" | ||
} |
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
135097
2218
+ Added@finnair/path@2.0.0(transitive)
- Removed@finnair/path@1.1.0(transitive)
Updated@finnair/path@^2.0.0