@nestjs/throttler
Advanced tools
Comparing version 5.1.1 to 5.1.2
@@ -18,3 +18,3 @@ "use strict"; | ||
const core_1 = require("@nestjs/core"); | ||
const md5 = require("md5"); | ||
const hash_1 = require("./hash"); | ||
const throttler_storage_interface_1 = require("./throttler-storage.interface"); | ||
@@ -132,3 +132,3 @@ const throttler_constants_1 = require("./throttler.constants"); | ||
const prefix = `${context.getClass().name}-${context.getHandler().name}-${name}`; | ||
return md5(`${prefix}-${suffix}`); | ||
return (0, hash_1.md5)(`${prefix}-${suffix}`); | ||
} | ||
@@ -135,0 +135,0 @@ async throwThrottlingException(context, throttlerLimitDetail) { |
{ | ||
"name": "@nestjs/throttler", | ||
"version": "5.1.1", | ||
"version": "5.1.2", | ||
"description": "A Rate-Limiting module for NestJS to work on Express, Fastify, Websockets, Socket.IO, and GraphQL, all rolled up into a simple package.", | ||
@@ -27,30 +27,26 @@ "author": "Jay McDoniel <me@jaymcdoniel.dev>", | ||
], | ||
"dependencies": { | ||
"md5": "^2.2.1" | ||
}, | ||
"devDependencies": { | ||
"@apollo/server": "4.9.5", | ||
"@apollo/server": "4.10.0", | ||
"@changesets/cli": "2.27.1", | ||
"@commitlint/cli": "18.4.3", | ||
"@commitlint/config-angular": "18.4.3", | ||
"@nestjs/cli": "10.2.1", | ||
"@nestjs/common": "10.3.0", | ||
"@nestjs/core": "10.3.0", | ||
"@nestjs/graphql": "12.0.11", | ||
"@nestjs/platform-express": "10.3.0", | ||
"@nestjs/platform-fastify": "10.3.0", | ||
"@nestjs/platform-socket.io": "10.3.0", | ||
"@nestjs/platform-ws": "10.3.0", | ||
"@nestjs/schematics": "10.0.3", | ||
"@nestjs/testing": "10.3.0", | ||
"@nestjs/websockets": "10.3.0", | ||
"@commitlint/cli": "18.6.0", | ||
"@commitlint/config-angular": "18.6.0", | ||
"@nestjs/cli": "10.3.2", | ||
"@nestjs/common": "10.3.2", | ||
"@nestjs/core": "10.3.2", | ||
"@nestjs/graphql": "12.1.1", | ||
"@nestjs/platform-express": "10.3.2", | ||
"@nestjs/platform-fastify": "10.3.2", | ||
"@nestjs/platform-socket.io": "10.3.2", | ||
"@nestjs/platform-ws": "10.3.2", | ||
"@nestjs/schematics": "10.1.1", | ||
"@nestjs/testing": "10.3.2", | ||
"@nestjs/websockets": "10.3.2", | ||
"@semantic-release/git": "10.0.1", | ||
"@types/express": "4.17.21", | ||
"@types/express-serve-static-core": "4.17.41", | ||
"@types/jest": "29.5.11", | ||
"@types/md5": "2.3.5", | ||
"@types/node": "20.10.5", | ||
"@types/supertest": "2.0.16", | ||
"@typescript-eslint/eslint-plugin": "6.14.0", | ||
"@typescript-eslint/parser": "6.14.0", | ||
"@types/express-serve-static-core": "4.17.43", | ||
"@types/jest": "29.5.12", | ||
"@types/node": "20.11.17", | ||
"@types/supertest": "6.0.2", | ||
"@typescript-eslint/eslint-plugin": "6.21.0", | ||
"@typescript-eslint/parser": "6.21.0", | ||
"apollo-server-fastify": "3.13.0", | ||
@@ -64,15 +60,15 @@ "conventional-changelog-cli": "4.1.0", | ||
"graphql-tools": "9.0.0", | ||
"husky": "8.0.3", | ||
"husky": "9.0.10", | ||
"jest": "29.7.0", | ||
"lint-staged": "15.2.0", | ||
"nodemon": "3.0.2", | ||
"lint-staged": "15.2.2", | ||
"nodemon": "3.0.3", | ||
"pactum": "^3.4.1", | ||
"pinst": "3.0.0", | ||
"prettier": "3.1.1", | ||
"prettier": "3.2.5", | ||
"reflect-metadata": "0.2.1", | ||
"rimraf": "5.0.5", | ||
"rxjs": "7.8.1", | ||
"socket.io": "4.7.2", | ||
"supertest": "6.3.3", | ||
"ts-jest": "29.1.1", | ||
"socket.io": "4.7.4", | ||
"supertest": "6.3.4", | ||
"ts-jest": "29.1.2", | ||
"ts-loader": "9.5.1", | ||
@@ -82,3 +78,3 @@ "ts-node": "10.9.2", | ||
"typescript": "5.3.3", | ||
"ws": "8.15.1" | ||
"ws": "8.16.0" | ||
}, | ||
@@ -85,0 +81,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
201616
3
49
49
574
- Removedmd5@^2.2.1
- Removedcharenc@0.0.2(transitive)
- Removedcrypt@0.0.2(transitive)
- Removedis-buffer@1.1.6(transitive)
- Removedmd5@2.3.0(transitive)