@thi.ng/leaky-bucket 0.2.29 → 0.2.31
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/README.md +9 -8
- package/index.js +1 -0
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- This file is generated - DO NOT EDIT! -->
|
|
2
|
-
<!-- Please see: https://
|
|
3
|
-
# 
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@thi.ng/leaky-bucket)
|
|
6
6
|

|
|
@@ -8,11 +8,12 @@
|
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
10
|
> This is one of 214 standalone projects, maintained as part
|
|
11
|
-
> of the [@thi.ng/umbrella](https://
|
|
11
|
+
> of the [@thi.ng/umbrella](https://codeberg.org/thi.ng/umbrella/) ecosystem
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
|
14
|
-
> 🚀 Please help me to work full-time on these projects by [sponsoring
|
|
15
|
-
>
|
|
14
|
+
> 🚀 Please help me to work full-time on these projects by [sponsoring
|
|
15
|
+
> me](https://codeberg.org/thi.ng/umbrella/src/branch/develop/CONTRIBUTING.md#donations).
|
|
16
|
+
> Thank you! ❤️
|
|
16
17
|
|
|
17
18
|
- [About](#about)
|
|
18
19
|
- [Status](#status)
|
|
@@ -82,7 +83,7 @@ features include:
|
|
|
82
83
|
|
|
83
84
|
**ALPHA** - bleeding edge / work-in-progress
|
|
84
85
|
|
|
85
|
-
[Search or submit any issues for this package](https://
|
|
86
|
+
[Search or submit any issues for this package](https://codeberg.org/thi.ng/umbrella/issues?q=%5Bleaky-bucket%5D)
|
|
86
87
|
|
|
87
88
|
## Installation
|
|
88
89
|
|
|
@@ -110,11 +111,11 @@ For Node.js REPL:
|
|
|
110
111
|
const lb = await import("@thi.ng/leaky-bucket");
|
|
111
112
|
```
|
|
112
113
|
|
|
113
|
-
Package sizes (brotli'd, pre-treeshake): ESM:
|
|
114
|
+
Package sizes (brotli'd, pre-treeshake): ESM: 626 bytes
|
|
114
115
|
|
|
115
116
|
## Dependencies
|
|
116
117
|
|
|
117
|
-
- [@thi.ng/api](https://
|
|
118
|
+
- [@thi.ng/api](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/api)
|
|
118
119
|
|
|
119
120
|
Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
|
|
120
121
|
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/leaky-bucket",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.31",
|
|
4
4
|
"description": "Configurable, counter-based Leaky Bucket abstractions for generalized rate-limiting purposes",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://
|
|
11
|
+
"url": "git+https://codeberg.org/thi.ng/umbrella.git",
|
|
12
12
|
"directory": "packages/leaky-bucket"
|
|
13
13
|
},
|
|
14
14
|
"homepage": "https://thi.ng/leaky-bucket",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@thi.ng/api": "^8.12.
|
|
43
|
+
"@thi.ng/api": "^8.12.19"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"esbuild": "^0.
|
|
47
|
-
"typedoc": "^0.28.
|
|
46
|
+
"esbuild": "^0.28.0",
|
|
47
|
+
"typedoc": "^0.28.18",
|
|
48
48
|
"typescript": "^5.9.3"
|
|
49
49
|
},
|
|
50
50
|
"keywords": [
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"status": "alpha",
|
|
81
81
|
"year": 2025
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "a780d4a5f6f5fc595c9d28527686f63534927d32"
|
|
84
84
|
}
|