@thi.ng/csp 3.2.21 → 3.2.23

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/CHANGELOG.md +3 -171
  2. package/README.md +1 -1
  3. package/package.json +7 -9
package/CHANGELOG.md CHANGED
@@ -1,9 +1,11 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2025-01-21T15:46:52Z
3
+ - **Last updated**: 2025-01-29T16:25:48Z
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.
7
+ Only versions published since **2022-01-01** are listed here.
8
+ Please consult the Git history for older version information.
7
9
  See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
8
10
 
9
11
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
@@ -103,173 +105,3 @@ and/or version bumps of transitive dependencies.
103
105
  #### ♻️ Refactoring
104
106
 
105
107
  - update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
106
-
107
- ## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/csp@2.1.0) (2021-11-17)
108
-
109
- #### 🚀 Features
110
-
111
- - Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
112
- Improving the overall build ergonomics
113
- - introduced a tools workspaces
114
- - imported it in all needed packages/examples
115
- - inclusive project root
116
-
117
- #### ♻️ Refactoring
118
-
119
- - testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
120
- this commit reverts (partly) changes made in:
121
- ef346d7a8753590dc9094108a3d861a8dbd5dd2c
122
- overall purpose is better testament ergonomics:
123
- instead of having to pass NODE_OPTIONS with every invocation
124
- having a binary to handle this for us.
125
-
126
- ### [2.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/csp@2.0.1) (2021-10-13)
127
-
128
- #### ♻️ Refactoring
129
-
130
- - update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
131
- - add .js suffix for all relative imports
132
- - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
133
-
134
- # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/csp@2.0.0) (2021-10-12)
135
-
136
- #### 🛑 Breaking changes
137
-
138
- - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
139
- - BREAKING CHANGE: discontinue CommonJS & UMD versions
140
- - only ESM modules will be published from now on
141
- - CJS obsolete due to ESM support in recent versions of node:
142
- - i.e. launch NodeJS via:
143
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
144
- - in the node REPL use `await import(...)` instead of `require()`
145
- - UMD obsolete due to widespread browser support for ESM
146
- Also:
147
- - normalize/restructure/reorg all package.json files
148
- - cleanup all build scripts, remove obsolete
149
- - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
150
-
151
- #### ♻️ Refactoring
152
-
153
- - update imports ([9c6f8b8](https://github.com/thi-ng/umbrella/commit/9c6f8b8))
154
- - update imports (transducers) ([4705acc](https://github.com/thi-ng/umbrella/commit/4705acc))
155
-
156
- ### [1.1.74](https://github.com/thi-ng/umbrella/tree/@thi.ng/csp@1.1.74) (2021-09-03)
157
-
158
- #### ♻️ Refactoring
159
-
160
- - fix up TS4.4 changes ([993a458](https://github.com/thi-ng/umbrella/commit/993a458))
161
-
162
- ### [1.1.43](https://github.com/thi-ng/umbrella/tree/@thi.ng/csp@1.1.43) (2020-12-07)
163
-
164
- #### ♻️ Refactoring
165
-
166
- - update type-only imports ([7176302](https://github.com/thi-ng/umbrella/commit/7176302))
167
-
168
- ### [1.1.41](https://github.com/thi-ng/umbrella/tree/@thi.ng/csp@1.1.41) (2020-11-24)
169
-
170
- #### ♻️ Refactoring
171
-
172
- - update destructuring ([5a4ad57](https://github.com/thi-ng/umbrella/commit/5a4ad57))
173
- - update IReadableChannel.read() return type ([ffc2811](https://github.com/thi-ng/umbrella/commit/ffc2811))
174
-
175
- ### [1.1.38](https://github.com/thi-ng/umbrella/tree/@thi.ng/csp@1.1.38) (2020-09-13)
176
-
177
- #### ♻️ Refactoring
178
-
179
- - update imports, use new Fn types in various pkgs ([ced1e5d](https://github.com/thi-ng/umbrella/commit/ced1e5d))
180
- - update imports ([53a8c9e](https://github.com/thi-ng/umbrella/commit/53a8c9e))
181
-
182
- ### [1.1.37](https://github.com/thi-ng/umbrella/tree/@thi.ng/csp@1.1.37) (2020-08-28)
183
-
184
- #### ♻️ Refactoring
185
-
186
- - update delete op (TS4.0) ([5482bf4](https://github.com/thi-ng/umbrella/commit/5482bf4))
187
-
188
- ### [1.1.16](https://github.com/thi-ng/umbrella/tree/@thi.ng/csp@1.1.16) (2020-04-05)
189
-
190
- #### ♻️ Refactoring
191
-
192
- - switch to non-const enums ([8e0c049](https://github.com/thi-ng/umbrella/commit/8e0c049))
193
- - keep State as const enum, internalize ([9ea3b6e](https://github.com/thi-ng/umbrella/commit/9ea3b6e))
194
-
195
- ### [1.1.10](https://github.com/thi-ng/umbrella/tree/@thi.ng/csp@1.1.10) (2020-02-25)
196
-
197
- #### ♻️ Refactoring
198
-
199
- - update imports, internal restruct ([536cc17](https://github.com/thi-ng/umbrella/commit/536cc17))
200
-
201
- ## [1.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/csp@1.1.0) (2019-07-07)
202
-
203
- #### 🚀 Features
204
-
205
- - enable TS strict compiler flags (refactor) ([3d7fba2](https://github.com/thi-ng/umbrella/commit/3d7fba2))
206
- - update Mult.tap() to use set semantics ([c9bc953](https://github.com/thi-ng/umbrella/commit/c9bc953))
207
- - add check if arg channel already is a tap and if so don't add duplicate
208
-
209
- #### 🩹 Bug fixes
210
-
211
- - TS strictNullChecks, update various return types ([da909ac](https://github.com/thi-ng/umbrella/commit/da909ac))
212
-
213
- ### [1.0.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/csp@1.0.9) (2019-03-10)
214
-
215
- #### ♻️ Refactoring
216
-
217
- - update Fn args in various packages ([e453ac3](https://github.com/thi-ng/umbrella/commit/e453ac3))
218
-
219
- ### [1.0.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/csp@1.0.5) (2019-02-15)
220
-
221
- #### ♻️ Refactoring
222
-
223
- - use [@thi.ng/arrays](https://github.com/thi-ng/umbrella/tree/main/packages/arrays), remove obsolete shuffle() ([64204a1](https://github.com/thi-ng/umbrella/commit/64204a1))
224
-
225
- # [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/csp@1.0.0) (2019-01-21)
226
-
227
- #### 🛑 Breaking changes
228
-
229
- - update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703))
230
- - BREAKING CHANGE: enabled multi-outputs (ES6 modules, CJS, UMD)
231
- - build scripts now first build ES6 modules in package root, then call
232
- `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
233
- - all imports MUST be updated to only refer to package level
234
- (not individual files anymore). tree shaking in user land will get rid of
235
- all unused imported symbols.
236
-
237
- #### 🩹 Bug fixes
238
-
239
- - disable __State reverse enum lookup ([3b8576f](https://github.com/thi-ng/umbrella/commit/3b8576f))
240
-
241
- #### ♻️ Refactoring
242
-
243
- - use arrow fns ([5d53028](https://github.com/thi-ng/umbrella/commit/5d53028))
244
-
245
- ### [0.3.64](https://github.com/thi-ng/umbrella/tree/@thi.ng/csp@0.3.64) (2018-09-24)
246
-
247
- #### ⏱ Performance improvements
248
-
249
- - `State` => const enum ([c3e8d68](https://github.com/thi-ng/umbrella/commit/c3e8d68))
250
- - export `__State` for reverse lookups
251
-
252
- ### [0.3.34](https://github.com/thi-ng/umbrella/tree/@thi.ng/csp@0.3.34) (2018-05-10)
253
-
254
- #### ♻️ Refactoring
255
-
256
- - update deps & imports in all packages due to [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/main/packages/api) split ([bc45636](https://github.com/thi-ng/umbrella/commit/bc45636))
257
-
258
- ### [0.3.21](https://github.com/thi-ng/umbrella/tree/@thi.ng/csp@0.3.21) (2018-03-21)
259
-
260
- #### ♻️ Refactoring
261
-
262
- - update error handling ([5087ffe](https://github.com/thi-ng/umbrella/commit/5087ffe))
263
-
264
- ### [0.3.11](https://github.com/thi-ng/umbrella/tree/@thi.ng/csp@0.3.11) (2018-02-08)
265
-
266
- #### 🩹 Bug fixes
267
-
268
- - fix [#5](https://github.com/thi-ng/umbrella/issues/5), example in readme ([a10a487](https://github.com/thi-ng/umbrella/commit/a10a487))
269
- - fix [#5](https://github.com/thi-ng/umbrella/issues/5), more example fixes (rfn calls) ([080c2ee](https://github.com/thi-ng/umbrella/commit/080c2ee))
270
-
271
- ### [0.3.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/csp@0.3.1) (2018-01-24)
272
-
273
- #### 🚀 Features
274
-
275
- - initial re-import as monorepo, update readme files, cleanup imports ([04ff6e9](https://github.com/thi-ng/umbrella/commit/04ff6e9))
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 200 standalone projects, maintained as part
10
+ > This is one of 201 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/csp",
3
- "version": "3.2.21",
3
+ "version": "3.2.23",
4
4
  "description": "Primitives & operators for Communicating Sequential Processes based on async/await and async iterables",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -33,7 +33,6 @@
33
33
  "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
34
34
  "clean": "bun ../../tools/src/clean-package.ts",
35
35
  "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
36
- "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
37
36
  "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
38
37
  "pub": "yarn npm publish --access public",
39
38
  "test": "bun test",
@@ -44,16 +43,15 @@
44
43
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
45
44
  },
46
45
  "dependencies": {
47
- "@thi.ng/api": "^8.11.17",
48
- "@thi.ng/buffers": "^1.0.2",
49
- "@thi.ng/checks": "^3.6.20",
50
- "@thi.ng/errors": "^2.5.23"
46
+ "@thi.ng/api": "^8.11.19",
47
+ "@thi.ng/buffers": "^1.0.4",
48
+ "@thi.ng/checks": "^3.6.22",
49
+ "@thi.ng/errors": "^2.5.25"
51
50
  },
52
51
  "devDependencies": {
53
- "@microsoft/api-extractor": "^7.48.1",
54
52
  "esbuild": "^0.24.2",
55
53
  "typedoc": "^0.27.6",
56
- "typescript": "^5.7.2"
54
+ "typescript": "^5.7.3"
57
55
  },
58
56
  "keywords": [
59
57
  "async",
@@ -110,5 +108,5 @@
110
108
  "status": "beta",
111
109
  "year": 2016
112
110
  },
113
- "gitHead": "22f6d518aed5951bb37b406c8ae85a6c3e6be517\n"
111
+ "gitHead": "fc1d498e8d4b690db873c30cc594352a804e7a65\n"
114
112
  }