Skip to content

Commit

Permalink
Merge branch 'develop' into fix/constraintToString
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienboulle committed Apr 15, 2024
2 parents 2dd311d + c43da04 commit 232cbaa
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 33 deletions.
56 changes: 28 additions & 28 deletions package-lock.json

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

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@
},
"dependencies": {
"@types/validator": "^13.11.8",
"libphonenumber-js": "^1.10.58",
"libphonenumber-js": "^1.10.60",
"validator": "^13.9.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.26",
"@types/node": "^20.12.7",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.57.0",
Expand All @@ -54,12 +54,12 @@
"jest": "^29.7.0",
"lint-staged": "^15.2.2",
"prettier": "^2.8.8",
"reflect-metadata": "0.2.1",
"reflect-metadata": "0.2.2",
"rimraf": "5.0.5",
"rollup": "^2.79.1",
"rollup-plugin-terser": "^7.0.2",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"typescript": "^5.4.2"
"typescript": "^5.4.5"
}
}
2 changes: 1 addition & 1 deletion src/decorator/date/MaxDate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export function maxDate(date: unknown, maxDate: Date | (() => Date)): boolean {
}

/**
* Checks if the value is a date that's after the specified date.
* Checks if the value is a date that's before the specified date.
*/
export function MaxDate(date: Date | (() => Date), validationOptions?: ValidationOptions): PropertyDecorator {
return ValidateBy(
Expand Down

0 comments on commit 232cbaa

Please sign in to comment.