@thi.ng/transducers-async 0.4.28 → 0.4.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 (2) hide show
  1. package/package.json +214 -214
  2. package/CHANGELOG.md +0 -95
package/package.json CHANGED
@@ -1,215 +1,215 @@
1
1
  {
2
- "name": "@thi.ng/transducers-async",
3
- "version": "0.4.28",
4
- "description": "Async versions of various highly composable transducers, reducers and iterators",
5
- "type": "module",
6
- "module": "./index.js",
7
- "typings": "./index.d.ts",
8
- "sideEffects": false,
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/thi-ng/umbrella.git"
12
- },
13
- "homepage": "https://thi.ng/transducers-async",
14
- "funding": [
15
- {
16
- "type": "github",
17
- "url": "https://github.com/sponsors/postspectacular"
18
- },
19
- {
20
- "type": "patreon",
21
- "url": "https://patreon.com/thing_umbrella"
22
- },
23
- {
24
- "type": "liberapay",
25
- "url": "https://liberapay.com/thi.ng"
26
- }
27
- ],
28
- "author": "Karsten Schmidt (https://thi.ng)",
29
- "license": "Apache-2.0",
30
- "scripts": {
31
- "build": "yarn build:esbuild && yarn build:decl",
32
- "build:decl": "tsc --declaration --emitDeclarationOnly",
33
- "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
34
- "clean": "bun ../../tools/src/clean-package.ts",
35
- "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
36
- "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
37
- "pub": "yarn npm publish --access public",
38
- "test": "bun test",
39
- "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
- },
41
- "dependencies": {
42
- "@thi.ng/api": "^8.12.2",
43
- "@thi.ng/buffers": "^1.0.21",
44
- "@thi.ng/checks": "^3.7.18",
45
- "@thi.ng/compose": "^3.0.39",
46
- "@thi.ng/errors": "^2.5.42",
47
- "@thi.ng/timestamp": "^1.1.21",
48
- "@thi.ng/transducers": "^9.6.10"
49
- },
50
- "devDependencies": {
51
- "esbuild": "^0.25.9",
52
- "typedoc": "^0.28.12",
53
- "typescript": "^5.9.2"
54
- },
55
- "keywords": [
56
- "async",
57
- "composition",
58
- "cycle",
59
- "functional",
60
- "generator",
61
- "infinite",
62
- "iterator",
63
- "lazy",
64
- "multitasking",
65
- "partition",
66
- "pipeline",
67
- "reducer",
68
- "stream",
69
- "throttle",
70
- "time",
71
- "transducer",
72
- "transformation",
73
- "typescript"
74
- ],
75
- "publishConfig": {
76
- "access": "public"
77
- },
78
- "browser": {
79
- "process": false,
80
- "setTimeout": false
81
- },
82
- "engines": {
83
- "node": ">=18"
84
- },
85
- "files": [
86
- "./*.js",
87
- "./*.d.ts",
88
- "internal"
89
- ],
90
- "exports": {
91
- ".": {
92
- "default": "./index.js"
93
- },
94
- "./api": {
95
- "default": "./api.js"
96
- },
97
- "./as-async": {
98
- "default": "./as-async.js"
99
- },
100
- "./cat": {
101
- "default": "./cat.js"
102
- },
103
- "./comp": {
104
- "default": "./comp.js"
105
- },
106
- "./compr": {
107
- "default": "./compr.js"
108
- },
109
- "./concat": {
110
- "default": "./concat.js"
111
- },
112
- "./delayed": {
113
- "default": "./delayed.js"
114
- },
115
- "./ensure": {
116
- "default": "./ensure.js"
117
- },
118
- "./events": {
119
- "default": "./events.js"
120
- },
121
- "./filter": {
122
- "default": "./filter.js"
123
- },
124
- "./intercept": {
125
- "default": "./intercept.js"
126
- },
127
- "./iterator": {
128
- "default": "./iterator.js"
129
- },
130
- "./map": {
131
- "default": "./map.js"
132
- },
133
- "./mapcat": {
134
- "default": "./mapcat.js"
135
- },
136
- "./merge": {
137
- "default": "./merge.js"
138
- },
139
- "./mult": {
140
- "default": "./mult.js"
141
- },
142
- "./multiplex-obj": {
143
- "default": "./multiplex-obj.js"
144
- },
145
- "./multiplex": {
146
- "default": "./multiplex.js"
147
- },
148
- "./partition": {
149
- "default": "./partition.js"
150
- },
151
- "./pubsub": {
152
- "default": "./pubsub.js"
153
- },
154
- "./push": {
155
- "default": "./push.js"
156
- },
157
- "./raf": {
158
- "default": "./raf.js"
159
- },
160
- "./range": {
161
- "default": "./range.js"
162
- },
163
- "./reduce": {
164
- "default": "./reduce.js"
165
- },
166
- "./repeatedly": {
167
- "default": "./repeatedly.js"
168
- },
169
- "./run": {
170
- "default": "./run.js"
171
- },
172
- "./sidechain": {
173
- "default": "./sidechain.js"
174
- },
175
- "./source": {
176
- "default": "./source.js"
177
- },
178
- "./step": {
179
- "default": "./step.js"
180
- },
181
- "./sync-raf": {
182
- "default": "./sync-raf.js"
183
- },
184
- "./sync": {
185
- "default": "./sync.js"
186
- },
187
- "./take": {
188
- "default": "./take.js"
189
- },
190
- "./throttle-time": {
191
- "default": "./throttle-time.js"
192
- },
193
- "./throttle": {
194
- "default": "./throttle.js"
195
- },
196
- "./transduce": {
197
- "default": "./transduce.js"
198
- },
199
- "./zip": {
200
- "default": "./zip.js"
201
- }
202
- },
203
- "thi.ng": {
204
- "alias": "txa",
205
- "parent": "@thi.ng/transducers",
206
- "related": [
207
- "csp",
208
- "fibers",
209
- "rstream"
210
- ],
211
- "status": "alpha",
212
- "year": 2018
213
- },
214
- "gitHead": "b7ede4f099767e0175ea8e09257208f73970b220\n"
215
- }
2
+ "name": "@thi.ng/transducers-async",
3
+ "version": "0.4.32",
4
+ "description": "Async versions of various highly composable transducers, reducers and iterators",
5
+ "type": "module",
6
+ "module": "./index.js",
7
+ "typings": "./index.d.ts",
8
+ "sideEffects": false,
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/thi-ng/umbrella.git"
12
+ },
13
+ "homepage": "https://thi.ng/transducers-async",
14
+ "funding": [
15
+ {
16
+ "type": "github",
17
+ "url": "https://github.com/sponsors/postspectacular"
18
+ },
19
+ {
20
+ "type": "patreon",
21
+ "url": "https://patreon.com/thing_umbrella"
22
+ },
23
+ {
24
+ "type": "liberapay",
25
+ "url": "https://liberapay.com/thi.ng"
26
+ }
27
+ ],
28
+ "author": "Karsten Schmidt (https://thi.ng)",
29
+ "license": "Apache-2.0",
30
+ "scripts": {
31
+ "build": "yarn build:esbuild && yarn build:decl",
32
+ "build:decl": "tsc --declaration --emitDeclarationOnly",
33
+ "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
34
+ "clean": "bun ../../tools/src/clean-package.ts",
35
+ "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
36
+ "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
37
+ "pub": "npm publish --access public",
38
+ "test": "bun test",
39
+ "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
+ },
41
+ "dependencies": {
42
+ "@thi.ng/api": "^8.12.6",
43
+ "@thi.ng/buffers": "^1.0.25",
44
+ "@thi.ng/checks": "^3.7.22",
45
+ "@thi.ng/compose": "^3.0.43",
46
+ "@thi.ng/errors": "^2.5.46",
47
+ "@thi.ng/timestamp": "^1.1.25",
48
+ "@thi.ng/transducers": "^9.6.14"
49
+ },
50
+ "devDependencies": {
51
+ "esbuild": "^0.25.11",
52
+ "typedoc": "^0.28.14",
53
+ "typescript": "^5.9.3"
54
+ },
55
+ "keywords": [
56
+ "async",
57
+ "composition",
58
+ "cycle",
59
+ "functional",
60
+ "generator",
61
+ "infinite",
62
+ "iterator",
63
+ "lazy",
64
+ "multitasking",
65
+ "partition",
66
+ "pipeline",
67
+ "reducer",
68
+ "stream",
69
+ "throttle",
70
+ "time",
71
+ "transducer",
72
+ "transformation",
73
+ "typescript"
74
+ ],
75
+ "publishConfig": {
76
+ "access": "public"
77
+ },
78
+ "browser": {
79
+ "process": false,
80
+ "setTimeout": false
81
+ },
82
+ "engines": {
83
+ "node": ">=18"
84
+ },
85
+ "files": [
86
+ "./*.js",
87
+ "./*.d.ts",
88
+ "internal"
89
+ ],
90
+ "exports": {
91
+ ".": {
92
+ "default": "./index.js"
93
+ },
94
+ "./api": {
95
+ "default": "./api.js"
96
+ },
97
+ "./as-async": {
98
+ "default": "./as-async.js"
99
+ },
100
+ "./cat": {
101
+ "default": "./cat.js"
102
+ },
103
+ "./comp": {
104
+ "default": "./comp.js"
105
+ },
106
+ "./compr": {
107
+ "default": "./compr.js"
108
+ },
109
+ "./concat": {
110
+ "default": "./concat.js"
111
+ },
112
+ "./delayed": {
113
+ "default": "./delayed.js"
114
+ },
115
+ "./ensure": {
116
+ "default": "./ensure.js"
117
+ },
118
+ "./events": {
119
+ "default": "./events.js"
120
+ },
121
+ "./filter": {
122
+ "default": "./filter.js"
123
+ },
124
+ "./intercept": {
125
+ "default": "./intercept.js"
126
+ },
127
+ "./iterator": {
128
+ "default": "./iterator.js"
129
+ },
130
+ "./map": {
131
+ "default": "./map.js"
132
+ },
133
+ "./mapcat": {
134
+ "default": "./mapcat.js"
135
+ },
136
+ "./merge": {
137
+ "default": "./merge.js"
138
+ },
139
+ "./mult": {
140
+ "default": "./mult.js"
141
+ },
142
+ "./multiplex-obj": {
143
+ "default": "./multiplex-obj.js"
144
+ },
145
+ "./multiplex": {
146
+ "default": "./multiplex.js"
147
+ },
148
+ "./partition": {
149
+ "default": "./partition.js"
150
+ },
151
+ "./pubsub": {
152
+ "default": "./pubsub.js"
153
+ },
154
+ "./push": {
155
+ "default": "./push.js"
156
+ },
157
+ "./raf": {
158
+ "default": "./raf.js"
159
+ },
160
+ "./range": {
161
+ "default": "./range.js"
162
+ },
163
+ "./reduce": {
164
+ "default": "./reduce.js"
165
+ },
166
+ "./repeatedly": {
167
+ "default": "./repeatedly.js"
168
+ },
169
+ "./run": {
170
+ "default": "./run.js"
171
+ },
172
+ "./sidechain": {
173
+ "default": "./sidechain.js"
174
+ },
175
+ "./source": {
176
+ "default": "./source.js"
177
+ },
178
+ "./step": {
179
+ "default": "./step.js"
180
+ },
181
+ "./sync-raf": {
182
+ "default": "./sync-raf.js"
183
+ },
184
+ "./sync": {
185
+ "default": "./sync.js"
186
+ },
187
+ "./take": {
188
+ "default": "./take.js"
189
+ },
190
+ "./throttle-time": {
191
+ "default": "./throttle-time.js"
192
+ },
193
+ "./throttle": {
194
+ "default": "./throttle.js"
195
+ },
196
+ "./transduce": {
197
+ "default": "./transduce.js"
198
+ },
199
+ "./zip": {
200
+ "default": "./zip.js"
201
+ }
202
+ },
203
+ "thi.ng": {
204
+ "alias": "txa",
205
+ "parent": "@thi.ng/transducers",
206
+ "related": [
207
+ "csp",
208
+ "fibers",
209
+ "rstream"
210
+ ],
211
+ "status": "alpha",
212
+ "year": 2018
213
+ },
214
+ "gitHead": "136a5e5ef0b69e82329db00d806c3c4e8f1aa063\n"
215
+ }
package/CHANGELOG.md DELETED
@@ -1,95 +0,0 @@
1
- # Change Log
2
-
3
- - **Last updated**: 2025-09-25T11:10:32Z
4
- - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
-
6
- All notable changes to this project will be documented in this file.
7
- Only versions published since **2022-01-01** are listed here.
8
- Please consult the Git history for older version information.
9
- See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
10
-
11
- **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
12
- and/or version bumps of transitive dependencies.
13
-
14
- ## [0.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-async@0.4.0) (2025-01-29)
15
-
16
- #### 🚀 Features
17
-
18
- - add PubSub.subscribeOnce(), add tests ([34beec5](https://github.com/thi-ng/umbrella/commit/34beec5))
19
-
20
- ### [0.3.8](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-async@0.3.8) (2025-01-14)
21
-
22
- #### ♻️ Refactoring
23
-
24
- - use optional chaining & nullish coalescing ([c5a0a13](https://github.com/thi-ng/umbrella/commit/c5a0a13))
25
-
26
- ### [0.3.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-async@0.3.6) (2024-12-27)
27
-
28
- #### ♻️ Refactoring
29
-
30
- - update `throttleTime()` ([87e5ed3](https://github.com/thi-ng/umbrella/commit/87e5ed3))
31
- - add [@thi.ng/timestamp](https://github.com/thi-ng/umbrella/tree/main/packages/timestamp) micro dependency
32
- - update timestamp handling (more precise in some contexts)
33
-
34
- ## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-async@0.3.0) (2024-10-14)
35
-
36
- #### 🚀 Features
37
-
38
- - add intercept() transducer ([8d87215](https://github.com/thi-ng/umbrella/commit/8d87215))
39
- - add tests & docs
40
- - update pkg exports
41
-
42
- ### [0.2.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-async@0.2.6) (2024-06-21)
43
-
44
- #### ♻️ Refactoring
45
-
46
- - rename various rest args to be more semantically meaningful ([8088a56](https://github.com/thi-ng/umbrella/commit/8088a56))
47
- - update merge()/sync() ([ef82528](https://github.com/thi-ng/umbrella/commit/ef82528))
48
- - dedupe internal shared functionality
49
- - dedupe iter removal in merge()/sync() ([abc6a46](https://github.com/thi-ng/umbrella/commit/abc6a46))
50
-
51
- ## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-async@0.2.0) (2024-04-20)
52
-
53
- #### 🚀 Features
54
-
55
- - add delayed() & wait() helpers ([d2f0738](https://github.com/thi-ng/umbrella/commit/d2f0738))
56
- - add mult() for 1:N splitting (multiple subscribers) ([ad1b63b](https://github.com/thi-ng/umbrella/commit/ad1b63b))
57
- - add asAsyncIterable() helper ([8e40424](https://github.com/thi-ng/umbrella/commit/8e40424))
58
- - add source(), refactor events() ([b94d150](https://github.com/thi-ng/umbrella/commit/b94d150))
59
- - add syncRAF(), update sidechain() args ([54ded8b](https://github.com/thi-ng/umbrella/commit/54ded8b))
60
- - add pubsub() ([1f406d0](https://github.com/thi-ng/umbrella/commit/1f406d0))
61
- - update/extend Source interface/impl ([a95819b](https://github.com/thi-ng/umbrella/commit/a95819b))
62
- - add [@thi.ng/buffers](https://github.com/thi-ng/umbrella/tree/main/packages/buffers) support for source() ([c46d862](https://github.com/thi-ng/umbrella/commit/c46d862))
63
- - update Source API, add docs ([7a7b5ab](https://github.com/thi-ng/umbrella/commit/7a7b5ab))
64
-
65
- #### ♻️ Refactoring
66
-
67
- - add ClosableAsyncGenerator type, update events() & source() ([929d860](https://github.com/thi-ng/umbrella/commit/929d860))
68
- - simplify raf() impl ([38c36b9](https://github.com/thi-ng/umbrella/commit/38c36b9))
69
- - rewrite to use source()
70
- - update type usage ([bec044c](https://github.com/thi-ng/umbrella/commit/bec044c))
71
-
72
- ### [0.1.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-async@0.1.1) (2024-04-11)
73
-
74
- #### ♻️ Refactoring
75
-
76
- - use Promise.race() for merge/sidechain/sync ([c712bca](https://github.com/thi-ng/umbrella/commit/c712bca))
77
-
78
- ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-async@0.1.0) (2024-04-08)
79
-
80
- #### 🚀 Features
81
-
82
- - re-import as new pkg ([c51d817](https://github.com/thi-ng/umbrella/commit/c51d817))
83
- - redevelopment after stopping 2018-08-01 (d52e3aa6eb42d65c0a8e43387a43b2b9f2a52ba2)
84
- - add/update arg types & fn overrides ([047d0d3](https://github.com/thi-ng/umbrella/commit/047d0d3))
85
- - add concat(), update core types, add tests ([2367e59](https://github.com/thi-ng/umbrella/commit/2367e59))
86
- - add zip() ([8e1d1a3](https://github.com/thi-ng/umbrella/commit/8e1d1a3))
87
- - add events(), sync() iterators, refactor push() ([5fdc04f](https://github.com/thi-ng/umbrella/commit/5fdc04f))
88
- - add tests
89
- - add range() & tests ([e4de8ff](https://github.com/thi-ng/umbrella/commit/e4de8ff))
90
- - add merge() & tests ([dfe970d](https://github.com/thi-ng/umbrella/commit/dfe970d))
91
- - add SyncOpts, update `sync()` ([c257fa5](https://github.com/thi-ng/umbrella/commit/c257fa5))
92
- - add tests
93
- - add `raf()`, `sidechain()` ([da56401](https://github.com/thi-ng/umbrella/commit/da56401))
94
- - add tests
95
- - remove obsolete cycle() ([1198b9d](https://github.com/thi-ng/umbrella/commit/1198b9d))