@depup/express-validator 7.3.1-depup.1
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.
- package/LICENSE +21 -0
- package/README.md +32 -0
- package/changes.json +14 -0
- package/lib/base.d.ts +187 -0
- package/lib/base.js +8 -0
- package/lib/chain/context-handler-impl.d.ts +13 -0
- package/lib/chain/context-handler-impl.js +52 -0
- package/lib/chain/context-handler.d.ts +110 -0
- package/lib/chain/context-handler.js +2 -0
- package/lib/chain/context-runner-impl.d.ts +18 -0
- package/lib/chain/context-runner-impl.js +72 -0
- package/lib/chain/context-runner.d.ts +22 -0
- package/lib/chain/context-runner.js +2 -0
- package/lib/chain/index.d.ts +9 -0
- package/lib/chain/index.js +25 -0
- package/lib/chain/sanitizers-impl.d.ts +29 -0
- package/lib/chain/sanitizers-impl.js +80 -0
- package/lib/chain/sanitizers.d.ts +42 -0
- package/lib/chain/sanitizers.js +2 -0
- package/lib/chain/validation-chain.d.ts +18 -0
- package/lib/chain/validation-chain.js +2 -0
- package/lib/chain/validators-impl.d.ts +121 -0
- package/lib/chain/validators-impl.js +353 -0
- package/lib/chain/validators.d.ts +181 -0
- package/lib/chain/validators.js +2 -0
- package/lib/context-builder.d.ts +20 -0
- package/lib/context-builder.js +52 -0
- package/lib/context-items/bail.d.ts +5 -0
- package/lib/context-items/bail.js +13 -0
- package/lib/context-items/chain-condition.d.ts +9 -0
- package/lib/context-items/chain-condition.js +16 -0
- package/lib/context-items/context-item.d.ts +5 -0
- package/lib/context-items/context-item.js +2 -0
- package/lib/context-items/custom-condition.d.ts +8 -0
- package/lib/context-items/custom-condition.js +24 -0
- package/lib/context-items/custom-validation.d.ts +10 -0
- package/lib/context-items/custom-validation.js +34 -0
- package/lib/context-items/index.d.ts +5 -0
- package/lib/context-items/index.js +21 -0
- package/lib/context-items/sanitization.d.ts +12 -0
- package/lib/context-items/sanitization.js +34 -0
- package/lib/context-items/standard-validation.d.ts +13 -0
- package/lib/context-items/standard-validation.js +25 -0
- package/lib/context.d.ts +61 -0
- package/lib/context.js +117 -0
- package/lib/express-validator.d.ts +153 -0
- package/lib/express-validator.js +125 -0
- package/lib/field-selection.d.ts +22 -0
- package/lib/field-selection.js +221 -0
- package/lib/index.d.ts +9 -0
- package/lib/index.js +25 -0
- package/lib/matched-data.d.ts +26 -0
- package/lib/matched-data.js +45 -0
- package/lib/middlewares/check.d.ts +3 -0
- package/lib/middlewares/check.js +23 -0
- package/lib/middlewares/exact.d.ts +29 -0
- package/lib/middlewares/exact.js +68 -0
- package/lib/middlewares/one-of.d.ts +28 -0
- package/lib/middlewares/one-of.js +91 -0
- package/lib/middlewares/schema.d.ts +108 -0
- package/lib/middlewares/schema.js +112 -0
- package/lib/middlewares/validation-chain-builders.d.ts +43 -0
- package/lib/middlewares/validation-chain-builders.js +49 -0
- package/lib/options.d.ts +377 -0
- package/lib/options.js +2 -0
- package/lib/utils.d.ts +12 -0
- package/lib/utils.js +56 -0
- package/lib/validation-result.d.ts +67 -0
- package/lib/validation-result.js +80 -0
- package/package.json +97 -0
package/package.json
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@depup/express-validator",
|
|
3
|
+
"description": "Express middleware for the validator module. (with updated dependencies)",
|
|
4
|
+
"author": "Christoph Tavan <dev@tavan.de>",
|
|
5
|
+
"contributors": [
|
|
6
|
+
"Rusty Bailey <rustylbailey@gmail.com>",
|
|
7
|
+
"Gustavo Henke <guhenke@gmail.com>",
|
|
8
|
+
"Federico Ciardi <fed.ciardi@gmail.com>"
|
|
9
|
+
],
|
|
10
|
+
"version": "7.3.1-depup.1",
|
|
11
|
+
"homepage": "https://express-validator.github.io",
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "git://github.com/express-validator/express-validator.git"
|
|
16
|
+
},
|
|
17
|
+
"main": "./lib/index.js",
|
|
18
|
+
"types": "./lib/index.d.ts",
|
|
19
|
+
"files": [
|
|
20
|
+
"lib",
|
|
21
|
+
"!*.spec.{d.ts,js}",
|
|
22
|
+
"!src",
|
|
23
|
+
"!website",
|
|
24
|
+
"!docs",
|
|
25
|
+
"changes.json",
|
|
26
|
+
"README.md"
|
|
27
|
+
],
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build": "tsc",
|
|
30
|
+
"clean": "git clean -Xf lib",
|
|
31
|
+
"docs:build": "npm --prefix ./website run build",
|
|
32
|
+
"docs:publish": "USE_SSH=true DEPLOYMENT_BRANCH=master npm --prefix ./website run publish-gh-pages",
|
|
33
|
+
"docs:regenerate-api": "npm --prefix ./website run regenerate-api",
|
|
34
|
+
"docs:serve": "npm --prefix ./website run serve",
|
|
35
|
+
"docs:start": "npm --prefix ./website start",
|
|
36
|
+
"docs:version": "npm --prefix ./website run version",
|
|
37
|
+
"postpublish": "npm run docs:publish",
|
|
38
|
+
"test": "jest",
|
|
39
|
+
"lint": "eslint --ignore-path .gitignore 'src/**/*.ts' && prettier -c ."
|
|
40
|
+
},
|
|
41
|
+
"engines": {
|
|
42
|
+
"node": ">= 8.0.0"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"lodash": "^4.18.0",
|
|
46
|
+
"validator": "^13.15.26"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"@docusaurus/core": "^3.1.0",
|
|
50
|
+
"@docusaurus/plugin-client-redirects": "^3.1.0",
|
|
51
|
+
"@docusaurus/preset-classic": "^3.1.0",
|
|
52
|
+
"@types/jest": "^26.0.20",
|
|
53
|
+
"@types/lodash": "^4.14.168",
|
|
54
|
+
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
55
|
+
"@typescript-eslint/parser": "^7.18.0",
|
|
56
|
+
"eslint": "^8.30.0",
|
|
57
|
+
"eslint-config-prettier": "^8.5.0",
|
|
58
|
+
"eslint-plugin-import": "^2.26.0",
|
|
59
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
60
|
+
"jest": "^29.7.0",
|
|
61
|
+
"prettier": "^2.8.1",
|
|
62
|
+
"ts-jest": "^29.1.5",
|
|
63
|
+
"typescript": "^5.7.2"
|
|
64
|
+
},
|
|
65
|
+
"keywords": [
|
|
66
|
+
"express-validator",
|
|
67
|
+
"depup",
|
|
68
|
+
"updated-dependencies",
|
|
69
|
+
"security",
|
|
70
|
+
"latest",
|
|
71
|
+
"patched",
|
|
72
|
+
"express",
|
|
73
|
+
"validator",
|
|
74
|
+
"validation",
|
|
75
|
+
"validate",
|
|
76
|
+
"sanitize",
|
|
77
|
+
"sanitization",
|
|
78
|
+
"xss"
|
|
79
|
+
],
|
|
80
|
+
"depup": {
|
|
81
|
+
"changes": {
|
|
82
|
+
"lodash": {
|
|
83
|
+
"from": "^4.17.21",
|
|
84
|
+
"to": "^4.18.0"
|
|
85
|
+
},
|
|
86
|
+
"validator": {
|
|
87
|
+
"from": "~13.15.23",
|
|
88
|
+
"to": "^13.15.26"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"depsUpdated": 2,
|
|
92
|
+
"originalPackage": "express-validator",
|
|
93
|
+
"originalVersion": "7.3.1",
|
|
94
|
+
"processedAt": "2026-03-31T20:24:24.137Z",
|
|
95
|
+
"smokeTest": "passed"
|
|
96
|
+
}
|
|
97
|
+
}
|