feat: perfect router lib add validator

This commit is contained in:
2024-06-29 23:09:32 +08:00
parent c92f42933e
commit f3c0707666
7 changed files with 274 additions and 184 deletions

20
package-lock.json generated
View File

@@ -9,7 +9,7 @@
"version": "0.0.2",
"license": "ISC",
"dependencies": {
"@abearxiong/router": "^0.0.1-alpha.8",
"@abearxiong/router": "^0.0.1-alpha.12",
"@abearxiong/use-config": "^0.0.1",
"@babel/core": "^7.24.7",
"@babel/preset-env": "^7.24.7",
@@ -50,12 +50,14 @@
}
},
"node_modules/@abearxiong/router": {
"version": "0.0.1-alpha.8",
"resolved": "https://npm.pkg.github.com/download/@abearxiong/router/0.0.1-alpha.8/772276fc4290291f845b0bb7198acc1c439f72e3",
"integrity": "sha512-uX9YkeS+TDKKH8y1fShTKgxcXWeawaoLLi/kdX04M84o3sg1vZSic4wxEMuznAjESX/iYIc94vXyE6cevoWVLQ==",
"version": "0.0.1-alpha.12",
"resolved": "https://npm.pkg.github.com/download/@abearxiong/router/0.0.1-alpha.12/ca2bf4832b4f032965b4c579b7bbde04a05f893a",
"integrity": "sha512-Hqe8HdxUTCjl31ExVpb1Ro4KuvqsjcbZwcISyzImDe5xN4yMBh3zZCZOTrbSB9OsxukX5rqQ4kvufLWbbfp46g==",
"license": "ISC",
"dependencies": {
"nanoid": "^5.0.6"
"lodash": "^4.17.21",
"nanoid": "^5.0.6",
"zod": "^3.23.8"
}
},
"node_modules/@abearxiong/use-config": {
@@ -8141,6 +8143,14 @@
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/zod": {
"version": "3.23.8",
"resolved": "https://registry.npmmirror.com/zod/-/zod-3.23.8.tgz",
"integrity": "sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==",
"funding": {
"url": "https://github.com/sponsors/colinhacks"
}
}
}
}