smart-auth-validator 1.3.7 → 1.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +10 -7
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # smart-auth-validator
2
2
  Smart, type-safe, zero-regex validation middleware for Node.js backends. Supports Fastify and Express out-of-the-box. Provides standard rules for email, password, name, phone, and more. Built for backend developers to avoid repetitive validation logic.
3
3
 
4
- # Smart Auth Validator
4
+ Smart Auth Validator
5
5
 
6
6
  [![npm version](https://img.shields.io/npm/v/smart-auth-validator.svg)](https://www.npmjs.com/package/smart-auth-validator)
7
7
  [![License](https://img.shields.io/npm/l/smart-auth-validator.svg)](https://opensource.org/licenses/ISC)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "smart-auth-validator",
3
- "version": "1.3.7",
3
+ "version": "1.3.9",
4
4
  "description": "Zero-regex, type-safe authentication and form validation for Fastify and Express",
5
5
  "author": "Muhammad Burhan Chughtai",
6
6
  "license": "MIT",
@@ -28,16 +28,16 @@
28
28
  "prepublishOnly": "npm run test && npm run build"
29
29
  },
30
30
  "peerDependencies": {
31
- "express": "^4.18.2",
31
+ "express": "^4.18.2 || ^5.0.0",
32
32
  "fastify": "^5.7.3"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@types/express": "^5.0.6",
36
36
  "@types/node": "^25.1.0",
37
- "@typescript-eslint/eslint-plugin": "^8.54.0",
38
- "@typescript-eslint/parser": "^8.54.0",
39
- "eslint": "^9.39.2",
40
- "express": "^4.22.1",
37
+ "@typescript-eslint/eslint-plugin": "^8.56.1",
38
+ "@typescript-eslint/parser": "^8.56.1",
39
+ "eslint": "^10.0.2",
40
+ "express": "^5.0.0",
41
41
  "fastify": "^5.7.4",
42
42
  "tsup": "^8.5.1",
43
43
  "typescript": "^5.9.3",
@@ -45,7 +45,10 @@
45
45
  "vitest": "^4.0.18"
46
46
  },
47
47
  "overrides": {
48
- "ajv": "^8.18.0"
48
+ "ajv": "^8.18.0",
49
+ "fastify": {
50
+ "ajv": "^8.18.0"
51
+ }
49
52
  },
50
53
  "engines": {
51
54
  "node": ">=18"