@thi.ng/leaky-bucket 0.2.30 → 0.2.32

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 (3) hide show
  1. package/README.md +2 -2
  2. package/index.js +1 -0
  3. package/package.json +5 -5
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  > [!NOTE]
10
- > This is one of 214 standalone projects, maintained as part
10
+ > This is one of 215 standalone projects, maintained as part
11
11
  > of the [@thi.ng/umbrella](https://codeberg.org/thi.ng/umbrella/) ecosystem
12
12
  > and anti-framework.
13
13
  >
@@ -111,7 +111,7 @@ For Node.js REPL:
111
111
  const lb = await import("@thi.ng/leaky-bucket");
112
112
  ```
113
113
 
114
- Package sizes (brotli'd, pre-treeshake): ESM: 624 bytes
114
+ Package sizes (brotli'd, pre-treeshake): ESM: 626 bytes
115
115
 
116
116
  ## Dependencies
117
117
 
package/index.js CHANGED
@@ -8,6 +8,7 @@ class LeakyBucketMap {
8
8
  this.timer = setInterval(this.leak.bind(this), this.leakInterval);
9
9
  }
10
10
  }
11
+ opts;
11
12
  buckets;
12
13
  maxBuckets;
13
14
  leakInterval;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/leaky-bucket",
3
- "version": "0.2.30",
3
+ "version": "0.2.32",
4
4
  "description": "Configurable, counter-based Leaky Bucket abstractions for generalized rate-limiting purposes",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -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.18"
43
+ "@thi.ng/api": "^8.12.20"
44
44
  },
45
45
  "devDependencies": {
46
- "esbuild": "^0.27.2",
47
- "typedoc": "^0.28.16",
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": "8ddf86ea0a1e658ddbf19cc645b29d0c176e29c4\n"
83
+ "gitHead": "92be63f24030506f09d6d156804da2798c381dc4"
84
84
  }