express-rate-limit 8.2.2 → 8.3.1

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.
Files changed (2) hide show
  1. package/package.json +111 -110
  2. package/readme.md +1 -1
package/package.json CHANGED
@@ -1,111 +1,112 @@
1
1
  {
2
- "name": "express-rate-limit",
3
- "version": "8.2.2",
4
- "description": "Basic IP rate-limiting middleware for Express. Use to limit repeated requests to public APIs and/or endpoints such as password reset.",
5
- "author": {
6
- "name": "Nathan Friedly",
7
- "url": "http://nfriedly.com/"
8
- },
9
- "license": "MIT",
10
- "homepage": "https://github.com/express-rate-limit/express-rate-limit",
11
- "repository": {
12
- "type": "git",
13
- "url": "git+https://github.com/express-rate-limit/express-rate-limit.git"
14
- },
15
- "funding": "https://github.com/sponsors/express-rate-limit",
16
- "keywords": [
17
- "express-rate-limit",
18
- "express",
19
- "rate",
20
- "limit",
21
- "ratelimit",
22
- "rate-limit",
23
- "middleware",
24
- "ip",
25
- "auth",
26
- "authorization",
27
- "security",
28
- "brute",
29
- "force",
30
- "bruteforce",
31
- "brute-force",
32
- "attack"
33
- ],
34
- "type": "module",
35
- "exports": {
36
- ".": {
37
- "import": {
38
- "types": "./dist/index.d.mts",
39
- "default": "./dist/index.mjs"
40
- },
41
- "require": {
42
- "types": "./dist/index.d.cts",
43
- "default": "./dist/index.cjs"
44
- }
45
- }
46
- },
47
- "main": "./dist/index.cjs",
48
- "module": "./dist/index.mjs",
49
- "types": "./dist/index.d.ts",
50
- "files": [
51
- "dist/",
52
- "tsconfig.json"
53
- ],
54
- "engines": {
55
- "node": ">= 16"
56
- },
57
- "dependencies": {
58
- "ip-address": "10.1.0"
59
- },
60
- "peerDependencies": {
61
- "express": ">= 4.11"
62
- },
63
- "devDependencies": {
64
- "@biomejs/biome": "2.3.1",
65
- "@express-rate-limit/prettier": "1.1.1",
66
- "@express-rate-limit/tsconfig": "1.0.2",
67
- "@jest/globals": "30.2.0",
68
- "@types/express": "5.0.4",
69
- "@types/jest": "30.0.0",
70
- "@types/node": "24.9.1",
71
- "@types/supertest": "6.0.3",
72
- "del-cli": "6.0.0",
73
- "dts-bundle-generator": "8.1.2",
74
- "esbuild": "0.25.11",
75
- "express": "5.1.0",
76
- "husky": "9.1.7",
77
- "jest": "30.2.0",
78
- "lint-staged": "16.2.6",
79
- "mintlify": "4.2.179",
80
- "npm-run-all": "4.1.5",
81
- "prettier": "3.6.2",
82
- "ratelimit-header-parser": "0.1.0",
83
- "supertest": "7.1.4",
84
- "ts-jest": "29.4.5",
85
- "ts-node": "10.9.2",
86
- "typescript": "5.9.3"
87
- },
88
- "prettier": "@express-rate-limit/prettier",
89
- "lint-staged": {
90
- "*.{js,ts,json}": "biome check --write",
91
- "*.{md,yaml}": "prettier --write"
92
- },
93
- "scripts": {
94
- "clean": "del-cli dist/ coverage/ *.log *.tmp *.bak *.tgz",
95
- "build:cjs": "esbuild --packages=external --platform=node --bundle --target=es2022 --format=cjs --outfile=dist/index.cjs --footer:js=\"module.exports = Object.assign(rateLimit, module.exports);\" source/index.ts",
96
- "build:esm": "esbuild --packages=external --platform=node --bundle --target=es2022 --format=esm --outfile=dist/index.mjs source/index.ts",
97
- "build:types": "dts-bundle-generator --out-file=dist/index.d.ts source/index.ts && cp dist/index.d.ts dist/index.d.cts && cp dist/index.d.ts dist/index.d.mts",
98
- "compile": "run-s clean build:*",
99
- "docs": "cd docs && mintlify dev",
100
- "lint:code": "biome check",
101
- "lint:docs": "prettier --check docs/ *.md",
102
- "lint": "run-s lint:*",
103
- "format:code": "biome check --write",
104
- "format:docs": "prettier --write docs/ *.md",
105
- "format": "run-s format:*",
106
- "test:lib": "jest",
107
- "test:ext": "cd test/external/ && bash run-all-tests",
108
- "test": "run-s lint test:lib",
109
- "pre-commit": "lint-staged"
110
- }
111
- }
2
+ "name": "express-rate-limit",
3
+ "version": "8.3.1",
4
+ "description": "Basic IP rate-limiting middleware for Express. Use to limit repeated requests to public APIs and/or endpoints such as password reset.",
5
+ "author": {
6
+ "name": "Nathan Friedly",
7
+ "url": "http://nfriedly.com/"
8
+ },
9
+ "license": "MIT",
10
+ "homepage": "https://github.com/express-rate-limit/express-rate-limit",
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "git+https://github.com/express-rate-limit/express-rate-limit.git"
14
+ },
15
+ "funding": "https://github.com/sponsors/express-rate-limit",
16
+ "keywords": [
17
+ "express-rate-limit",
18
+ "express",
19
+ "rate",
20
+ "limit",
21
+ "ratelimit",
22
+ "rate-limit",
23
+ "middleware",
24
+ "ip",
25
+ "auth",
26
+ "authorization",
27
+ "security",
28
+ "brute",
29
+ "force",
30
+ "bruteforce",
31
+ "brute-force",
32
+ "attack"
33
+ ],
34
+ "type": "module",
35
+ "exports": {
36
+ ".": {
37
+ "import": {
38
+ "types": "./dist/index.d.mts",
39
+ "default": "./dist/index.mjs"
40
+ },
41
+ "require": {
42
+ "types": "./dist/index.d.cts",
43
+ "default": "./dist/index.cjs"
44
+ }
45
+ }
46
+ },
47
+ "main": "./dist/index.cjs",
48
+ "module": "./dist/index.mjs",
49
+ "types": "./dist/index.d.ts",
50
+ "files": [
51
+ "dist/",
52
+ "tsconfig.json"
53
+ ],
54
+ "engines": {
55
+ "node": ">= 16"
56
+ },
57
+ "scripts": {
58
+ "clean": "del-cli dist/ coverage/ *.log *.tmp *.bak *.tgz",
59
+ "build:cjs": "esbuild --packages=external --platform=node --bundle --target=es2022 --format=cjs --outfile=dist/index.cjs --footer:js=\"module.exports = Object.assign(rateLimit, module.exports);\" source/index.ts",
60
+ "build:esm": "esbuild --packages=external --platform=node --bundle --target=es2022 --format=esm --outfile=dist/index.mjs source/index.ts",
61
+ "build:types": "dts-bundle-generator --out-file=dist/index.d.ts source/index.ts && cp dist/index.d.ts dist/index.d.cts && cp dist/index.d.ts dist/index.d.mts",
62
+ "compile": "run-s clean build:*",
63
+ "docs": "cd docs && mintlify dev",
64
+ "lint:code": "biome check",
65
+ "lint:docs": "prettier --check docs/ *.md",
66
+ "lint": "run-s lint:*",
67
+ "format:code": "biome check --write",
68
+ "format:docs": "prettier --write docs/ *.md",
69
+ "format": "run-s format:*",
70
+ "test:lib": "jest",
71
+ "test:ext": "cd test/external/ && bash run-all-tests",
72
+ "test": "run-s lint test:lib",
73
+ "pre-commit": "lint-staged",
74
+ "prepare": "run-s compile && husky"
75
+ },
76
+ "dependencies": {
77
+ "ip-address": "10.1.0"
78
+ },
79
+ "peerDependencies": {
80
+ "express": ">= 4.11"
81
+ },
82
+ "devDependencies": {
83
+ "@biomejs/biome": "2.4.6",
84
+ "@express-rate-limit/prettier": "1.1.1",
85
+ "@express-rate-limit/tsconfig": "1.0.2",
86
+ "@jest/globals": "30.2.0",
87
+ "@types/express": "5.0.6",
88
+ "@types/jest": "30.0.0",
89
+ "@types/node": "25.3.3",
90
+ "@types/supertest": "7.2.0",
91
+ "del-cli": "7.0.0",
92
+ "dts-bundle-generator": "8.1.2",
93
+ "esbuild": "0.27.3",
94
+ "express": "5.2.1",
95
+ "husky": "9.1.7",
96
+ "jest": "30.2.0",
97
+ "lint-staged": "16.3.2",
98
+ "mintlify": "4.2.392",
99
+ "npm-run-all": "4.1.5",
100
+ "prettier": "3.8.1",
101
+ "ratelimit-header-parser": "0.1.0",
102
+ "supertest": "7.2.2",
103
+ "ts-jest": "29.4.6",
104
+ "ts-node": "10.9.2",
105
+ "typescript": "5.9.3"
106
+ },
107
+ "prettier": "@express-rate-limit/prettier",
108
+ "lint-staged": {
109
+ "*.{js,ts,json}": "biome check --write",
110
+ "*.{md,yaml}": "prettier --write"
111
+ }
112
+ }
package/readme.md CHANGED
@@ -108,7 +108,7 @@ If you need help with something, feel free to
108
108
  [start a discussion](https://github.com/express-rate-limit/express-rate-limit/discussions/new)!
109
109
 
110
110
  If you wish to contribute to the library, thanks! First, please read
111
- [the contributing guide](https://express-rate-limit.mintlify.app/docs/guides/contributing.mdx).
111
+ [the contributing guide](https://express-rate-limit.mintlify.app/guides/contributing).
112
112
  Then you can pick up any issue and fix/implement it!
113
113
 
114
114
  ## License