feat: 添加middleware

This commit is contained in:
2024-08-28 22:51:07 +08:00
parent 70a363db86
commit 321a4b41e7
6 changed files with 823 additions and 755 deletions

View File

@@ -29,12 +29,12 @@
"author": "",
"license": "ISC",
"dependencies": {
"@abearxiong/router": "^0.0.1-alpha.12",
"@abearxiong/router": "^0.0.1-alpha.13",
"@abearxiong/use-config": "^0.0.1",
"@babel/core": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.4",
"@babel/preset-typescript": "^7.24.7",
"dayjs": "^1.11.11",
"dayjs": "^1.11.13",
"dts-bundle": "^0.7.3",
"json5": "^2.2.3",
"jsonwebtoken": "^9.0.2",
@@ -51,8 +51,8 @@
"@types/jest": "^29.5.12",
"@types/jsonwebtoken": "^9.0.6",
"@types/lodash-es": "^4.17.12",
"@types/node": "^20.14.9",
"@types/superagent": "^8.1.7",
"@types/node": "^22.5.1",
"@types/superagent": "^8.1.9",
"@types/supertest": "^6.0.2",
"@types/webpack-env": "^1.18.5",
"concurrently": "^8.2.2",
@@ -62,13 +62,13 @@
"jest": "^29.7.0",
"nodemon": "^3.1.4",
"supertest": "^7.0.0",
"ts-jest": "^29.1.5",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"typescript": "^5.5.2",
"webpack": "^5.92.1",
"typescript": "^5.5.4",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4",
"webpack-node-externals": "^3.0.0"
},
"packageManager": "yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
"packageManager": "yarn@1.22.22"
}