@nestjs/throttler 5.1.2 → 6.0.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/LICENSE +1 -1
- package/README.md +5 -5
- package/dist/hash.js +1 -2
- package/dist/hash.js.map +1 -1
- package/dist/throttler-module-options.interface.d.ts +3 -1
- package/dist/throttler-storage-options.interface.d.ts +3 -1
- package/dist/throttler-storage-options.interface.js.map +1 -1
- package/dist/throttler-storage-record.interface.d.ts +2 -0
- package/dist/throttler-storage-record.interface.js.map +1 -1
- package/dist/throttler-storage.interface.d.ts +1 -1
- package/dist/throttler-storage.interface.js.map +1 -1
- package/dist/throttler.constants.d.ts +1 -0
- package/dist/throttler.constants.js +2 -1
- package/dist/throttler.constants.js.map +1 -1
- package/dist/throttler.decorator.d.ts +1 -0
- package/dist/throttler.decorator.js +1 -0
- package/dist/throttler.decorator.js.map +1 -1
- package/dist/throttler.guard.d.ts +4 -4
- package/dist/throttler.guard.interface.d.ts +11 -0
- package/dist/throttler.guard.js +24 -7
- package/dist/throttler.guard.js.map +1 -1
- package/dist/throttler.providers.js +2 -2
- package/dist/throttler.providers.js.map +1 -1
- package/dist/throttler.service.d.ts +6 -2
- package/dist/throttler.service.js +55 -15
- package/dist/throttler.service.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +35 -35
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nestjs/throttler",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"description": "A Rate-Limiting module for NestJS to work on Express, Fastify, Websockets, Socket.IO, and GraphQL, all rolled up into a simple package.",
|
|
5
5
|
"author": "Jay McDoniel <me@jaymcdoniel.dev>",
|
|
6
6
|
"contributors": [],
|
|
@@ -25,55 +25,55 @@
|
|
|
25
25
|
"dist"
|
|
26
26
|
],
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@apollo/server": "4.10.
|
|
29
|
-
"@changesets/cli": "2.27.
|
|
30
|
-
"@commitlint/cli": "
|
|
31
|
-
"@commitlint/config-angular": "
|
|
32
|
-
"@nestjs/cli": "10.
|
|
33
|
-
"@nestjs/common": "10.3.
|
|
34
|
-
"@nestjs/core": "10.3.
|
|
35
|
-
"@nestjs/graphql": "12.
|
|
36
|
-
"@nestjs/platform-express": "10.3.
|
|
37
|
-
"@nestjs/platform-fastify": "10.3.
|
|
38
|
-
"@nestjs/platform-socket.io": "10.3.
|
|
39
|
-
"@nestjs/platform-ws": "10.3.
|
|
40
|
-
"@nestjs/schematics": "10.1.
|
|
41
|
-
"@nestjs/testing": "10.3.
|
|
42
|
-
"@nestjs/websockets": "10.3.
|
|
28
|
+
"@apollo/server": "4.10.4",
|
|
29
|
+
"@changesets/cli": "2.27.7",
|
|
30
|
+
"@commitlint/cli": "19.3.0",
|
|
31
|
+
"@commitlint/config-angular": "19.3.0",
|
|
32
|
+
"@nestjs/cli": "10.4.2",
|
|
33
|
+
"@nestjs/common": "10.3.10",
|
|
34
|
+
"@nestjs/core": "10.3.10",
|
|
35
|
+
"@nestjs/graphql": "12.2.0",
|
|
36
|
+
"@nestjs/platform-express": "10.3.10",
|
|
37
|
+
"@nestjs/platform-fastify": "10.3.10",
|
|
38
|
+
"@nestjs/platform-socket.io": "10.3.10",
|
|
39
|
+
"@nestjs/platform-ws": "10.3.10",
|
|
40
|
+
"@nestjs/schematics": "10.1.2",
|
|
41
|
+
"@nestjs/testing": "10.3.10",
|
|
42
|
+
"@nestjs/websockets": "10.3.10",
|
|
43
43
|
"@semantic-release/git": "10.0.1",
|
|
44
44
|
"@types/express": "4.17.21",
|
|
45
|
-
"@types/express-serve-static-core": "4.
|
|
45
|
+
"@types/express-serve-static-core": "4.19.5",
|
|
46
46
|
"@types/jest": "29.5.12",
|
|
47
|
-
"@types/node": "20.
|
|
47
|
+
"@types/node": "20.14.10",
|
|
48
48
|
"@types/supertest": "6.0.2",
|
|
49
|
-
"@typescript-eslint/eslint-plugin": "
|
|
50
|
-
"@typescript-eslint/parser": "
|
|
49
|
+
"@typescript-eslint/eslint-plugin": "7.16.0",
|
|
50
|
+
"@typescript-eslint/parser": "7.16.0",
|
|
51
51
|
"apollo-server-fastify": "3.13.0",
|
|
52
|
-
"conventional-changelog-cli": "
|
|
52
|
+
"conventional-changelog-cli": "5.0.0",
|
|
53
53
|
"cz-conventional-changelog": "3.3.0",
|
|
54
|
-
"eslint": "8.
|
|
54
|
+
"eslint": "8.57.0",
|
|
55
55
|
"eslint-config-prettier": "9.1.0",
|
|
56
56
|
"eslint-plugin-import": "2.29.1",
|
|
57
|
-
"graphql": "16.
|
|
58
|
-
"graphql-tools": "9.0.
|
|
59
|
-
"husky": "9.0.
|
|
57
|
+
"graphql": "16.9.0",
|
|
58
|
+
"graphql-tools": "9.0.1",
|
|
59
|
+
"husky": "9.0.11",
|
|
60
60
|
"jest": "29.7.0",
|
|
61
|
-
"lint-staged": "15.2.
|
|
62
|
-
"nodemon": "3.
|
|
61
|
+
"lint-staged": "15.2.7",
|
|
62
|
+
"nodemon": "3.1.4",
|
|
63
63
|
"pactum": "^3.4.1",
|
|
64
64
|
"pinst": "3.0.0",
|
|
65
|
-
"prettier": "3.2
|
|
66
|
-
"reflect-metadata": "0.2.
|
|
67
|
-
"rimraf": "
|
|
65
|
+
"prettier": "3.3.2",
|
|
66
|
+
"reflect-metadata": "0.2.2",
|
|
67
|
+
"rimraf": "6.0.1",
|
|
68
68
|
"rxjs": "7.8.1",
|
|
69
|
-
"socket.io": "4.7.
|
|
70
|
-
"supertest": "
|
|
71
|
-
"ts-jest": "29.
|
|
69
|
+
"socket.io": "4.7.5",
|
|
70
|
+
"supertest": "7.0.0",
|
|
71
|
+
"ts-jest": "29.2.2",
|
|
72
72
|
"ts-loader": "9.5.1",
|
|
73
73
|
"ts-node": "10.9.2",
|
|
74
74
|
"tsconfig-paths": "4.2.0",
|
|
75
|
-
"typescript": "5.
|
|
76
|
-
"ws": "8.
|
|
75
|
+
"typescript": "5.5.3",
|
|
76
|
+
"ws": "8.18.0"
|
|
77
77
|
},
|
|
78
78
|
"peerDependencies": {
|
|
79
79
|
"@nestjs/common": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0",
|