express-rate-limit 6.8.0 → 6.8.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.
package/changelog.md CHANGED
@@ -6,11 +6,22 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to
7
7
  [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
8
8
 
9
- ## [6.8.0](https://github.com/express-rate-limit/express-rate-limit/releases/tag/v6.8.0)
9
+ ## [6.8.1](https://github.com/express-rate-limit/express-rate-limit/releases/tag/v6.8.0) & [6.7.2](https://github.com/express-rate-limit/express-rate-limit/releases/tag/v6.8.0)
10
10
 
11
11
  ### Changed
12
12
 
13
- - Added a set of validation checks to execute on the first request. (See
13
+ - Revert 6.7.1 change that bumped typescript from 5.x to 4.x and
14
+ dts-bundle-generator from 8.x to 7.x (See
15
+ [#360](https://github.com/express-rate-limit/express-rate-limit/issues/360))
16
+
17
+ ## [6.8.0](https://github.com/express-rate-limit/express-rate-limit/releases/tag/v6.8.0)
18
+
19
+ ### Added
20
+
21
+ - Added a set of validation checks that will log an error if failed. See
22
+ https://github.com/express-rate-limit/express-rate-limit/wiki/Error-Codes for
23
+ a list of potential errors. Can be disabled by setting `validate: false` in
24
+ the configuration. Automatically disables after the first request. (See
14
25
  [#358](https://github.com/express-rate-limit/express-rate-limit/issues/358))
15
26
 
16
27
  ## [6.7.1](https://github.com/express-rate-limit/express-rate-limit/releases/tag/v6.7.1)
@@ -23,7 +34,9 @@ and this project adheres to
23
34
 
24
35
  ### Changed
25
36
 
26
- - Bumped development dependencies.
37
+ - Bumped development dependencies
38
+ - This initially include bumping typescript from 4.x to 5.x and
39
+ dts-bundle-generator from 7.x to 8.x
27
40
  - Added `node` 20 to list of versions the CI jobs run on.
28
41
 
29
42
  No functional changes.
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- // Generated by dts-bundle-generator v8.0.1
1
+ // Generated by dts-bundle-generator v7.0.0
2
2
 
3
3
  import { NextFunction, Request, RequestHandler, Response } from 'express';
4
4
 
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- // Generated by dts-bundle-generator v8.0.1
1
+ // Generated by dts-bundle-generator v7.0.0
2
2
 
3
3
  import { NextFunction, Request, RequestHandler, Response } from 'express';
4
4
 
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Generated by dts-bundle-generator v8.0.1
1
+ // Generated by dts-bundle-generator v7.0.0
2
2
 
3
3
  import { NextFunction, Request, RequestHandler, Response } from 'express';
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "express-rate-limit",
3
- "version": "6.8.0",
3
+ "version": "6.8.1",
4
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
5
  "author": {
6
6
  "name": "Nathan Friedly",
@@ -83,7 +83,7 @@
83
83
  "@types/supertest": "2.0.12",
84
84
  "cross-env": "7.0.3",
85
85
  "del-cli": "5.0.0",
86
- "dts-bundle-generator": "8.0.1",
86
+ "dts-bundle-generator": "7.0.0",
87
87
  "esbuild": "0.18.11",
88
88
  "express": "4.18.2",
89
89
  "husky": "8.0.3",
@@ -93,7 +93,7 @@
93
93
  "supertest": "6.3.3",
94
94
  "ts-jest": "29.1.1",
95
95
  "ts-node": "10.9.1",
96
- "typescript": "5.1.6",
96
+ "typescript": "4.9.5",
97
97
  "xo": "0.54.2"
98
98
  },
99
99
  "xo": {