Skip to content
This repository has been archived by the owner on Apr 11, 2022. It is now read-only.

Commit

Permalink
[4.0.0] Version 4 introduced 🐱‍💻🥳 (#4)
Browse files Browse the repository at this point in the history
- Codebase completely rewritten to be more modular,
- Palindrome validator introduced.
  • Loading branch information
radoslawkalamon authored Sep 29, 2020
1 parent 2dfa3f0 commit 028b491
Show file tree
Hide file tree
Showing 85 changed files with 2,450 additions and 1,576 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ module.exports = {
},
rules: {
'@typescript-eslint/indent': [2, 2],
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/ban-ts-ignore': 0,
'import/extensions': 0,
'import/prefer-default-export': 0,
'class-methods-use-this': 0,
'max-len': [1, { code: 160 }],
},
globals: {
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Handy Validator v3.0.4
# Handy Validator v4.0.0

Standalone validator module from **writr** - https://github.com/radoslawkalamon/writr

Expand All @@ -11,9 +11,9 @@ Built-in validators:
- Null - [README.md](/src/validators/null/README.md)
- Number - [README.md](/src/validators/number/README.md)
- Object - [README.md](/src/validators/object/README.md)
- Palindrome - [README.md](/src/validators/palindrome/README.md)
- String - [README.md](/src/validators/string/README.md)
- Undefined - [README.md](/src/validators/undefined/README.md)

Plans:
- v3.1.0 - Add more test cases
- v3.2.0 - Palindrome validator
- v4.1.0 - Add more test cases
133 changes: 72 additions & 61 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 11 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "handy-validator",
"version": "3.0.4",
"version": "4.0.0",
"description": "Handy value validator",
"main": "./dist/index.js",
"main": "./dist/HandyValidator.js",
"directories": {
"test": "tests"
},
Expand All @@ -26,15 +26,19 @@
},
"homepage": "https://github.com/radoslawkalamon/handy-validator#readme",
"devDependencies": {
"@types/diacritics": "^1.3.1",
"@types/jest": "^26.0.14",
"@typescript-eslint/eslint-plugin": "^4.2.0",
"@typescript-eslint/parser": "^4.2.0",
"eslint": "^7.9.0",
"@typescript-eslint/eslint-plugin": "^4.3.0",
"@typescript-eslint/parser": "^4.3.0",
"eslint": "^7.10.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-import-resolver-typescript": "^2.3.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-import": "^2.22.1",
"jest": "^26.4.2",
"ts-jest": "^26.4.0",
"ts-jest": "^26.4.1",
"typescript": "^4.0.3"
},
"dependencies": {
"diacritics": "^1.3.0"
}
}
Loading

0 comments on commit 028b491

Please sign in to comment.