@thi.ng/transducers-async 0.4.0 → 0.4.2

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
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2025-01-29T16:25:48Z
3
+ - **Last updated**: 2025-02-19T20:59:58Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
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 201 standalone projects, maintained as part
10
+ > This is one of 202 standalone projects, maintained as part
11
11
  > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
12
12
  > and anti-framework.
13
13
  >
package/delayed.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  /**
2
- * Same as [thi.ng/compose `delayed()`](). Re-exported for convenience. Yields
3
- * `x` as promise which only resolves after `delay` milliseconds.
2
+ * Same as [thi.ng/compose
3
+ * `delayed()`](https://docs.thi.ng/umbrella/compose/functions/delayed.html).
4
+ * Re-exported for convenience. Yields `x` as promise which only resolves after
5
+ * `delay` milliseconds.
4
6
  *
5
7
  * @remarks
6
8
  * Also see {@link wait}.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/transducers-async",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "Async versions of various highly composable transducers, reducers and iterators",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -39,17 +39,17 @@
39
39
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@thi.ng/api": "^8.11.19",
43
- "@thi.ng/buffers": "^1.0.4",
44
- "@thi.ng/checks": "^3.6.22",
45
- "@thi.ng/compose": "^3.0.22",
46
- "@thi.ng/errors": "^2.5.25",
47
- "@thi.ng/timestamp": "^1.1.4",
48
- "@thi.ng/transducers": "^9.2.17"
42
+ "@thi.ng/api": "^8.11.21",
43
+ "@thi.ng/buffers": "^1.0.6",
44
+ "@thi.ng/checks": "^3.6.24",
45
+ "@thi.ng/compose": "^3.0.24",
46
+ "@thi.ng/errors": "^2.5.27",
47
+ "@thi.ng/timestamp": "^1.1.6",
48
+ "@thi.ng/transducers": "^9.2.19"
49
49
  },
50
50
  "devDependencies": {
51
- "esbuild": "^0.24.2",
52
- "typedoc": "^0.27.6",
51
+ "esbuild": "^0.25.0",
52
+ "typedoc": "^0.27.7",
53
53
  "typescript": "^5.7.3"
54
54
  },
55
55
  "keywords": [
@@ -211,5 +211,5 @@
211
211
  "status": "alpha",
212
212
  "year": 2018
213
213
  },
214
- "gitHead": "fc1d498e8d4b690db873c30cc594352a804e7a65\n"
214
+ "gitHead": "bee617702ac61d093465b967f8f973dc566faa6b\n"
215
215
  }
package/raf.d.ts CHANGED
@@ -4,17 +4,17 @@ export interface RAFOpts {
4
4
  /**
5
5
  * If true (default: false), passes the timestamps received
6
6
  * via `requestAnimationFrame()` as iterator values. If false, a simple
7
- * counter [0..∞) will be emitted.
7
+ * counter `[0,∞)` will be emitted.
8
8
  *
9
9
  * @defaultValue false
10
10
  */
11
11
  timestamp: boolean;
12
12
  /**
13
- * Only used if {@link RAFOpts.timestamp} is enabled. If given as
14
- * number, the value will be subtracted from all emitted timestamps. If this
15
- * option is set to true, the timestamps will be automatically zero-adjusted
16
- * such that the first emitted value will be zero. If undefined (default),
17
- * the browser supplied timestamps will be used as is.
13
+ * Only used if {@link RAFOpts.timestamp} is enabled. If given as number,
14
+ * the value will be subtracted from all emitted timestamps. If this option
15
+ * is set to true, the timestamps will be automatically zero-adjusted such
16
+ * that the first emitted value will be zero. If undefined (default), the
17
+ * browser supplied timestamps will be used as is.
18
18
  */
19
19
  t0: number | boolean;
20
20
  }
package/source.d.ts CHANGED
@@ -48,7 +48,7 @@ export interface Source<T> extends ClosableAsyncGenerator<T>, IDeref<Maybe<T>> {
48
48
  * @remarks
49
49
  * See [thi.ng/buffers](https://thi.ng/buffers) for available buffer
50
50
  * implementations. By default a
51
- * [`fifo()`](https://docs.thi.ng/umbrella/buffers/functions/fifo.html) buffer
51
+ * [`fifo`](https://docs.thi.ng/umbrella/buffers/functions/fifo.html) buffer
52
52
  * with capacity=1 is used.
53
53
  *
54
54
  * If `initial` is given, the source will immediately deliver this value once a