nestjs-cluster-throttle 1.0.1 → 1.0.2
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 +11 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nestjs-cluster-throttle",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Enterprise-grade rate limiting module for NestJS with Redis support, multiple strategies, and cluster mode",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -15,10 +15,12 @@
|
|
|
15
15
|
"test": "jest",
|
|
16
16
|
"test:watch": "jest --watch",
|
|
17
17
|
"test:cov": "jest --coverage",
|
|
18
|
+
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
|
|
18
19
|
"test:e2e": "jest --config ./test/jest-e2e.json",
|
|
19
20
|
"lint": "eslint \"{src,test}/**/*.ts\" --fix",
|
|
20
21
|
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
21
|
-
"
|
|
22
|
+
"format:check": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
23
|
+
"prepublishOnly": "npm run lint && npm run format:check && npm run build && npm test",
|
|
22
24
|
"prepare": "npm run build"
|
|
23
25
|
},
|
|
24
26
|
"keywords": [
|
|
@@ -53,7 +55,7 @@
|
|
|
53
55
|
"license": "MIT",
|
|
54
56
|
"repository": {
|
|
55
57
|
"type": "git",
|
|
56
|
-
"url": "
|
|
58
|
+
"url": "https://github.com/rdobrynin/nestjs-cluster-throttle.git"
|
|
57
59
|
},
|
|
58
60
|
"bugs": {
|
|
59
61
|
"url": "https://github.com/rdobrynin/nestjs-cluster-throttle/issues"
|
|
@@ -69,8 +71,12 @@
|
|
|
69
71
|
"reflect-metadata": "^0.1.13",
|
|
70
72
|
"rxjs": "^7.0.0"
|
|
71
73
|
},
|
|
74
|
+
"overrides": {
|
|
75
|
+
"@typescript-eslint/typescript-estree": "^7.0.0"
|
|
76
|
+
},
|
|
72
77
|
"dependencies": {
|
|
73
|
-
"ioredis": "^5.3.2"
|
|
78
|
+
"ioredis": "^5.3.2",
|
|
79
|
+
"supertest": "^7.1.4"
|
|
74
80
|
},
|
|
75
81
|
"devDependencies": {
|
|
76
82
|
"@nestjs/common": "^10.0.0",
|
|
@@ -79,6 +85,7 @@
|
|
|
79
85
|
"@nestjs/testing": "^10.0.0",
|
|
80
86
|
"@types/jest": "^29.5.0",
|
|
81
87
|
"@types/node": "^20.0.0",
|
|
88
|
+
"@types/supertest": "^6.0.3",
|
|
82
89
|
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
83
90
|
"@typescript-eslint/parser": "^6.0.0",
|
|
84
91
|
"eslint": "^8.0.0",
|