@lytjs/middleware-rate-limit 6.6.0 → 6.7.0
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/package.json +60 -60
package/package.json
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@lytjs/middleware-rate-limit",
|
|
3
|
-
"version": "6.
|
|
4
|
-
"description": "LytJS 速率限制中间件",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/index.cjs",
|
|
7
|
-
"module": "./dist/index.mjs",
|
|
8
|
-
"types": "./dist/index.d.ts",
|
|
9
|
-
"exports": {
|
|
10
|
-
".": {
|
|
11
|
-
"types": "./dist/index.d.ts",
|
|
12
|
-
"import": "./dist/index.mjs",
|
|
13
|
-
"require": "./dist/index.cjs"
|
|
14
|
-
},
|
|
15
|
-
"./package.json": "./package.json"
|
|
16
|
-
},
|
|
17
|
-
"files": [
|
|
18
|
-
"dist",
|
|
19
|
-
"README.md",
|
|
20
|
-
"LICENSE"
|
|
21
|
-
],
|
|
22
|
-
"sideEffects": false,
|
|
23
|
-
"scripts": {
|
|
24
|
-
"dev": "tsup --watch",
|
|
25
|
-
"build": "tsup",
|
|
26
|
-
"test": "vitest run",
|
|
27
|
-
"test:watch": "vitest",
|
|
28
|
-
"test:coverage": "vitest run --coverage",
|
|
29
|
-
"type-check": "tsc --noEmit",
|
|
30
|
-
"lint": "eslint \"src/**/*.ts\" \"tests/**/*.ts\"",
|
|
31
|
-
"clean": "rm -rf dist node_modules .turbo"
|
|
32
|
-
},
|
|
33
|
-
"dependencies": {
|
|
34
|
-
"@lytjs/common-is": "
|
|
35
|
-
"@lytjs/common-rate-limit": "
|
|
36
|
-
},
|
|
37
|
-
"devDependencies": {
|
|
38
|
-
"tsup": "^8.3.6",
|
|
39
|
-
"typescript": "^5.7.3",
|
|
40
|
-
"vitest": "^3.0.0"
|
|
41
|
-
},
|
|
42
|
-
"peerDependencies": {},
|
|
43
|
-
"publishConfig": {
|
|
44
|
-
"access": "public",
|
|
45
|
-
"registry": "https://registry.npmjs.org/"
|
|
46
|
-
},
|
|
47
|
-
"repository": {
|
|
48
|
-
"type": "git",
|
|
49
|
-
"url": "https://gitee.com/lytjs/lytjs.git",
|
|
50
|
-
"directory": "packages/ecosystem/packages/web-framework/packages/middleware-rate-limit"
|
|
51
|
-
},
|
|
52
|
-
"keywords": [
|
|
53
|
-
"lytjs",
|
|
54
|
-
"middleware",
|
|
55
|
-
"rate-limit",
|
|
56
|
-
"throttle"
|
|
57
|
-
],
|
|
58
|
-
"author": "LytJS Team",
|
|
59
|
-
"license": "MIT"
|
|
60
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@lytjs/middleware-rate-limit",
|
|
3
|
+
"version": "6.7.0",
|
|
4
|
+
"description": "LytJS 速率限制中间件",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.mjs",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.mjs",
|
|
13
|
+
"require": "./dist/index.cjs"
|
|
14
|
+
},
|
|
15
|
+
"./package.json": "./package.json"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist",
|
|
19
|
+
"README.md",
|
|
20
|
+
"LICENSE"
|
|
21
|
+
],
|
|
22
|
+
"sideEffects": false,
|
|
23
|
+
"scripts": {
|
|
24
|
+
"dev": "tsup --watch",
|
|
25
|
+
"build": "tsup",
|
|
26
|
+
"test": "vitest run",
|
|
27
|
+
"test:watch": "vitest",
|
|
28
|
+
"test:coverage": "vitest run --coverage",
|
|
29
|
+
"type-check": "tsc --noEmit",
|
|
30
|
+
"lint": "eslint \"src/**/*.ts\" \"tests/**/*.ts\"",
|
|
31
|
+
"clean": "rm -rf dist node_modules .turbo"
|
|
32
|
+
},
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"@lytjs/common-is": "^6.7.0",
|
|
35
|
+
"@lytjs/common-rate-limit": "^6.7.0"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"tsup": "^8.3.6",
|
|
39
|
+
"typescript": "^5.7.3",
|
|
40
|
+
"vitest": "^3.0.0"
|
|
41
|
+
},
|
|
42
|
+
"peerDependencies": {},
|
|
43
|
+
"publishConfig": {
|
|
44
|
+
"access": "public",
|
|
45
|
+
"registry": "https://registry.npmjs.org/"
|
|
46
|
+
},
|
|
47
|
+
"repository": {
|
|
48
|
+
"type": "git",
|
|
49
|
+
"url": "https://gitee.com/lytjs/lytjs.git",
|
|
50
|
+
"directory": "packages/ecosystem/packages/web-framework/packages/middleware-rate-limit"
|
|
51
|
+
},
|
|
52
|
+
"keywords": [
|
|
53
|
+
"lytjs",
|
|
54
|
+
"middleware",
|
|
55
|
+
"rate-limit",
|
|
56
|
+
"throttle"
|
|
57
|
+
],
|
|
58
|
+
"author": "LytJS Team",
|
|
59
|
+
"license": "MIT"
|
|
60
|
+
}
|