feat: Add checkPassword util function#28
Merged
klmhyeonwoo merged 2 commits intomainfrom Sep 2, 2025
Merged
Conversation
Member
Author
Coverage Report
File Coverage
|
||||||||||||||||||||||||||||||||||||||
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds a new password validation utility function checkPassword to the validation utilities package. The function provides flexible password validation with configurable options for length constraints and character requirements.
- Adds
checkPasswordfunction with options for min/max length and character type requirements - Includes comprehensive test coverage for various password validation scenarios
- Updates package exports and documentation to include the new utility
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| package/validationUtil/index.ts | Exports the new checkPassword function |
| package/validationUtil/checkPassword/index.ts | Main implementation of the password validation logic |
| package/validationUtil/checkPassword/index.test.ts | Test suite covering valid and invalid password scenarios |
| README.md | Documentation updates with usage examples and API reference |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
prgmr99
approved these changes
Sep 1, 2025
Member
prgmr99
left a comment
There was a problem hiding this comment.
정말 유용하게 사용할 수 있을 것 같아요!!
고생하셨습니다~~👍👍
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
checkPassword유틸함수가 추가되었어요, 제가 평소 불편했던 점들을 반영한 함수예요closes: #15