ac-ratelimiter 2.0.0-beta.1 → 2.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/.ncurc.js +7 -0
- package/CHANGELOG.md +25 -0
- package/package.json +7 -7
package/.ncurc.js
ADDED
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
<a name="2.0.0"></a>
|
|
2
|
+
|
|
3
|
+
# [2.0.0](https://github.com/admiralcloud/ac-ratelimiter/compare/v1.0.10..v2.0.0) (2024-02-26 07:51:24)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Feature
|
|
7
|
+
|
|
8
|
+
* **Limiter:** Add function to return which storage is used | MP | [cad5a69e1265b8ed44f1146a2dddc65777ba94da](https://github.com/admiralcloud/ac-ratelimiter/commit/cad5a69e1265b8ed44f1146a2dddc65777ba94da)
|
|
9
|
+
Add function to return which storage is used
|
|
10
|
+
Related issues: [undefined/undefined#develop](undefined/browse/develop)
|
|
11
|
+
* **Limiter:** Complete re-write as class | MP | [951f21582833e06fccc90ee65edf6eadd30c4d24](https://github.com/admiralcloud/ac-ratelimiter/commit/951f21582833e06fccc90ee65edf6eadd30c4d24)
|
|
12
|
+
Ratelimiter is now a class and works out-of-the-box without Redis
|
|
13
|
+
Related issues: [undefined/undefined#develop](undefined/browse/develop)
|
|
14
|
+
### Bug Fix
|
|
15
|
+
|
|
16
|
+
* **Limiter:** Package updates | MP | [05828c26cdd56dde87258267d014c0019532647e](https://github.com/admiralcloud/ac-ratelimiter/commit/05828c26cdd56dde87258267d014c0019532647e)
|
|
17
|
+
Package updates
|
|
18
|
+
Related issues: [undefined/undefined#develop](undefined/browse/develop)
|
|
19
|
+
### Chores
|
|
20
|
+
|
|
21
|
+
* **Limiter:** Make this version 2.0.0-beta.1 | MP | [8b1361c91332180ad3f2c6b14bf33f3330048400](https://github.com/admiralcloud/ac-ratelimiter/commit/8b1361c91332180ad3f2c6b14bf33f3330048400)
|
|
22
|
+
Make this version 2.0.0-beta.1
|
|
23
|
+
Related issues: [undefined/undefined#develop](undefined/browse/develop)
|
|
24
|
+
## BREAKING CHANGES
|
|
25
|
+
* **Limiter:** Complete re-write as class
|
|
1
26
|
<a name="1.0.10"></a>
|
|
2
27
|
|
|
3
28
|
## [1.0.10](https://github.com/admiralcloud/ac-ratelimiter/compare/v1.0.9..v1.0.10) (2023-01-02 19:44:47)
|
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.0
|
|
4
|
+
"version": "2.0.0",
|
|
5
5
|
"author": "Mark Poepping (www.admiralcloud.com)",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
},
|
|
10
10
|
"homepage": "https://www.admiralcloud.com",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"ac-ip": "^3.
|
|
12
|
+
"ac-ip": "^3.1.1",
|
|
13
13
|
"node-cache": "^5.1.2"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"ac-semantic-release": "^0.
|
|
17
|
-
"chai": "^4.
|
|
18
|
-
"eslint": "8.
|
|
19
|
-
"ioredis": "^5.3.
|
|
20
|
-
"mocha": "^10.
|
|
16
|
+
"ac-semantic-release": "^0.4.2",
|
|
17
|
+
"chai": "^4.4.1",
|
|
18
|
+
"eslint": "8.57.0",
|
|
19
|
+
"ioredis": "^5.3.2",
|
|
20
|
+
"mocha": "^10.3.0"
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
23
|
"test": "./node_modules/.bin/mocha --slow 1000 --colors ./test/test.js || :",
|