ac-ratelimiter 2.0.10 → 2.0.12

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.
@@ -19,14 +19,14 @@ jobs:
19
19
 
20
20
  strategy:
21
21
  matrix:
22
- node-version: [20.x, 22.x]
22
+ node-version: [22.x, 24.x]
23
23
  # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
24
24
  redis-version: [6]
25
25
 
26
26
  steps:
27
- - uses: actions/checkout@v3
27
+ - uses: actions/checkout@v5
28
28
  - name: Use Node.js ${{ matrix.node-version }}
29
- uses: actions/setup-node@v3
29
+ uses: actions/setup-node@v5
30
30
  with:
31
31
  node-version: ${{ matrix.node-version }}
32
32
 
package/CHANGELOG.md CHANGED
@@ -1,3 +1,20 @@
1
+ ## [2.0.12](https://github.com/admiralcloud/ac-ratelimiter/compare/v2.0.11..v2.0.12) (2026-04-17 07:54:55)
2
+
3
+
4
+ ### Bug Fix
5
+
6
+
7
+ * **App:** Package updates | MP | [bf6f18154fb3cbca8ca7dc84e4980ee5e94e8fed](https://github.com/admiralcloud/ac-ratelimiter/commit/bf6f18154fb3cbca8ca7dc84e4980ee5e94e8fed)
8
+ Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
9
+ ## [2.0.11](https://github.com/admiralcloud/ac-ratelimiter/compare/v2.0.10..v2.0.11) (2026-04-04 11:18:56)
10
+
11
+
12
+ ### Bug Fix
13
+
14
+
15
+ * **Misc:** Package updates | MP | [d9cbcf8b769b01326426c692cc3a131a22538170](https://github.com/admiralcloud/ac-ratelimiter/commit/d9cbcf8b769b01326426c692cc3a131a22538170)
16
+ Package updates
17
+ Related issues:
1
18
 
2
19
  ## [2.0.10](https://github.com/admiralcloud/ac-ratelimiter/compare/v2.0.9..v2.0.10) (2026-03-21 13:02:11)
3
20
 
package/README.md CHANGED
@@ -4,7 +4,7 @@ This tool provides rate-limiter that can be used as middleware with ExpressJs.
4
4
 
5
5
  For huge production load it is recommended that you use it with Redis. However, for smaller applications you can use the build in Node Cache.
6
6
 
7
- [![Node.js CI](https://github.com/AdmiralCloud/ac-ratelimiter/actions/workflows/node.js.yml/badge.svg)](https://github.com/AdmiralCloud/ac-ratelimiter/actions/workflows/node.js.yml)
7
+ [![Node.js CI](https://github.com/AdmiralCloud/ac-ratelimiter/actions/workflows/node.js.yml/badge.svg)](https://github.com/AdmiralCloud/ac-ratelimiter/actions/workflows/node.js.yml) [![CodeQL](https://github.com/AdmiralCloud/ac-ratelimiter/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/AdmiralCloud/ac-ratelimiter/actions/workflows/github-code-scanning/codeql)
8
8
 
9
9
  ## Breaking changes for version 2
10
10
  Version 2 is a complete re-write of this module. It is now a class and uses async/await.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ac-ratelimiter",
3
3
  "description": "Simple ratelimiter for express",
4
- "version": "2.0.10",
4
+ "version": "2.0.12",
5
5
  "author": "Mark Poepping (www.admiralcloud.com)",
6
6
  "repository": {
7
7
  "type": "git",
@@ -9,25 +9,23 @@
9
9
  },
10
10
  "homepage": "https://www.admiralcloud.com",
11
11
  "dependencies": {
12
- "ac-custom-error": "^2.0.2",
13
- "ac-ip": "^4.1.12",
12
+ "ac-custom-error": "^2.0.4",
13
+ "ac-ip": "^5.0.1",
14
14
  "node-cache": "^5.1.2"
15
15
  },
16
16
  "devDependencies": {
17
- "ac-semantic-release": "^0.4.11",
17
+ "ac-semantic-release": "^1.0.2",
18
18
  "chai": "^4.5.0",
19
- "eslint": "10.1.0",
20
- "globals": "^17.4.0",
19
+ "eslint": "10.2.0",
20
+ "globals": "^17.5.0",
21
21
  "ioredis": "^5.10.1",
22
22
  "mocha": "^11.7.5"
23
23
  },
24
24
  "scripts": {
25
- "test": "./node_modules/.bin/mocha --slow 1000 --colors --bail ./test/test.js || :",
26
- "test-local": "env TESTMODE=true ./node_modules/.bin/mocha --slow 1000 --colors --bail ./test/test.js || :",
27
- "test-jenkins": "JUNIT_REPORT_PATH=./report.xml mocha --slow 1000 --colors --reporter mocha-jenkins-reporter --reporter-options junit_report_name='RATELIMITER'"
25
+ "test": "./node_modules/.bin/mocha --slow 1000 --colors --bail ./test/test.js || :"
28
26
  },
29
27
  "engines": {
30
- "node": ">=18.0.0"
28
+ "node": ">=22.0.0"
31
29
  },
32
30
  "resolutions": {
33
31
  "mocha/chokidar/braces": "^3.0.3",