Skip to content

Commit

Permalink
Deprecate equal validation in favor of value #192
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian-hiller committed Oct 8, 2023
1 parent 75ae6a4 commit 982045e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions library/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ All notable changes to the library will be documented in this file.
- Add `notBytes`, `notLength`, `notSize` and `notValue` validation function (pull request #194)
- Change regex of `email` validation (pull request #180)
- Fix types at `brand`, `transform` and `unwrap` method (issue #195)
- Deprecate `equal` validation function in favor of `value` (issue #192)

## v0.18.0 (September 30, 2023)

Expand Down
2 changes: 2 additions & 0 deletions library/src/validations/equal/equal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { getOutput, getPipeIssues } from '../../utils/index.ts';
/**
* Creates a validation function that checks the value for equality.
*
* @deprecated Function has been renamed to `value`.
*
* @param requirement The required value.
* @param error The error message.
*
Expand Down

0 comments on commit 982045e

Please sign in to comment.