@thi.ng/fibers 1.0.57 → 1.0.62

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 +118 -118
  2. package/CHANGELOG.md +0 -123
package/package.json CHANGED
@@ -1,119 +1,119 @@
1
1
  {
2
- "name": "@thi.ng/fibers",
3
- "version": "1.0.57",
4
- "description": "Process hierarchies & operators for cooperative multitasking",
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/fibers",
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/arrays": "^2.13.11",
44
- "@thi.ng/buffers": "^1.0.21",
45
- "@thi.ng/checks": "^3.7.18",
46
- "@thi.ng/errors": "^2.5.42",
47
- "@thi.ng/idgen": "^2.2.76",
48
- "@thi.ng/logger": "^3.2.0",
49
- "@thi.ng/random": "^4.1.27",
50
- "@thi.ng/timestamp": "^1.1.21"
51
- },
52
- "devDependencies": {
53
- "esbuild": "^0.25.9",
54
- "typedoc": "^0.28.12",
55
- "typescript": "^5.9.2"
56
- },
57
- "keywords": [
58
- "blocking",
59
- "buffer",
60
- "cancel",
61
- "channel",
62
- "communication",
63
- "composition",
64
- "coroutines",
65
- "csp",
66
- "event",
67
- "fiber",
68
- "fork-join",
69
- "generator",
70
- "logger",
71
- "multitasking",
72
- "process",
73
- "promise",
74
- "scheduler",
75
- "shuffle",
76
- "time",
77
- "typescript"
78
- ],
79
- "publishConfig": {
80
- "access": "public"
81
- },
82
- "browser": {
83
- "process": false,
84
- "setTimeout": false
85
- },
86
- "engines": {
87
- "node": ">=18"
88
- },
89
- "files": [
90
- "./*.js",
91
- "./*.d.ts"
92
- ],
93
- "exports": {
94
- ".": {
95
- "default": "./index.js"
96
- },
97
- "./api": {
98
- "default": "./api.js"
99
- },
100
- "./csp": {
101
- "default": "./csp.js"
102
- },
103
- "./fiber": {
104
- "default": "./fiber.js"
105
- },
106
- "./ops": {
107
- "default": "./ops.js"
108
- }
109
- },
110
- "thi.ng": {
111
- "related": [
112
- "csp",
113
- "transducers-async"
114
- ],
115
- "status": "alpha",
116
- "year": 2023
117
- },
118
- "gitHead": "3c3531350eec56011982583c694aeb1a2e0d0ff4\n"
119
- }
2
+ "name": "@thi.ng/fibers",
3
+ "version": "1.0.62",
4
+ "description": "Process hierarchies & operators for cooperative multitasking",
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/fibers",
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/arrays": "^2.13.15",
44
+ "@thi.ng/buffers": "^1.0.25",
45
+ "@thi.ng/checks": "^3.7.22",
46
+ "@thi.ng/errors": "^2.5.46",
47
+ "@thi.ng/idgen": "^2.2.80",
48
+ "@thi.ng/logger": "^3.2.5",
49
+ "@thi.ng/random": "^4.1.31",
50
+ "@thi.ng/timestamp": "^1.1.25"
51
+ },
52
+ "devDependencies": {
53
+ "esbuild": "^0.25.11",
54
+ "typedoc": "^0.28.14",
55
+ "typescript": "^5.9.3"
56
+ },
57
+ "keywords": [
58
+ "blocking",
59
+ "buffer",
60
+ "cancel",
61
+ "channel",
62
+ "communication",
63
+ "composition",
64
+ "coroutines",
65
+ "csp",
66
+ "event",
67
+ "fiber",
68
+ "fork-join",
69
+ "generator",
70
+ "logger",
71
+ "multitasking",
72
+ "process",
73
+ "promise",
74
+ "scheduler",
75
+ "shuffle",
76
+ "time",
77
+ "typescript"
78
+ ],
79
+ "publishConfig": {
80
+ "access": "public"
81
+ },
82
+ "browser": {
83
+ "process": false,
84
+ "setTimeout": false
85
+ },
86
+ "engines": {
87
+ "node": ">=18"
88
+ },
89
+ "files": [
90
+ "./*.js",
91
+ "./*.d.ts"
92
+ ],
93
+ "exports": {
94
+ ".": {
95
+ "default": "./index.js"
96
+ },
97
+ "./api": {
98
+ "default": "./api.js"
99
+ },
100
+ "./csp": {
101
+ "default": "./csp.js"
102
+ },
103
+ "./fiber": {
104
+ "default": "./fiber.js"
105
+ },
106
+ "./ops": {
107
+ "default": "./ops.js"
108
+ }
109
+ },
110
+ "thi.ng": {
111
+ "related": [
112
+ "csp",
113
+ "transducers-async"
114
+ ],
115
+ "status": "alpha",
116
+ "year": 2023
117
+ },
118
+ "gitHead": "136a5e5ef0b69e82329db00d806c3c4e8f1aa063\n"
119
+ }
package/CHANGELOG.md DELETED
@@ -1,123 +0,0 @@
1
- # Change Log
2
-
3
- - **Last updated**: 2025-09-01T16:38:35Z
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
- ### [1.0.26](https://github.com/thi-ng/umbrella/tree/@thi.ng/fibers@1.0.26) (2025-01-14)
15
-
16
- #### ♻️ Refactoring
17
-
18
- - use optional chaining & nullish coalescing ([c5a0a13](https://github.com/thi-ng/umbrella/commit/c5a0a13))
19
-
20
- ### [1.0.24](https://github.com/thi-ng/umbrella/tree/@thi.ng/fibers@1.0.24) (2024-12-27)
21
-
22
- #### ♻️ Refactoring
23
-
24
- - update timestamp handling ([d0a7922](https://github.com/thi-ng/umbrella/commit/d0a7922))
25
- - update deps & imports
26
-
27
- ### [1.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/fibers@1.0.1) (2024-04-20)
28
-
29
- #### ♻️ Refactoring
30
-
31
- - update type usage ([9df7cb0](https://github.com/thi-ng/umbrella/commit/9df7cb0))
32
-
33
- # [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/fibers@1.0.0) (2024-04-11)
34
-
35
- #### 🛑 Breaking changes
36
-
37
- - remove/migrate CSP buffer types, update readme ([d4a1d23](https://github.com/thi-ng/umbrella/commit/d4a1d23))
38
- - BREAKING CHANGE: remove obsolete CSP buffer types & impls, re-use from [@thi.ng/buffers](https://github.com/thi-ng/umbrella/tree/main/packages/buffers) (see [55ba21b50f](https://github.com/thi-ng/umbrella/commit/55ba21b50f))
39
- - remove IReadBuffer & IReadWriteBuffer interfaces
40
- - update deps (add [@thi.ng/buffers](https://github.com/thi-ng/umbrella/tree/main/packages/buffers))
41
- - update docs
42
- - update readme
43
-
44
- ## [0.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/fibers@0.6.0) (2023-11-09)
45
-
46
- #### 🚀 Features
47
-
48
- - add Fiber.promise() ([4861d95](https://github.com/thi-ng/umbrella/commit/4861d95))
49
-
50
- #### ♻️ Refactoring
51
-
52
- - update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
53
-
54
- ### [0.5.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/fibers@0.5.5) (2023-10-18)
55
-
56
- #### 🩹 Bug fixes
57
-
58
- - add opts arg for untilPromise() ([acf5ddf](https://github.com/thi-ng/umbrella/commit/acf5ddf))
59
-
60
- ## [0.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/fibers@0.5.0) (2023-09-17)
61
-
62
- #### 🚀 Features
63
-
64
- - add asPromise() fiber-to-promise conversion ([29fc86f](https://github.com/thi-ng/umbrella/commit/29fc86f))
65
-
66
- ## [0.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/fibers@0.4.0) (2023-09-06)
67
-
68
- #### 🚀 Features
69
-
70
- - add timeSliceIterable() ([fe13b03](https://github.com/thi-ng/umbrella/commit/fe13b03))
71
-
72
- ## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/fibers@0.3.0) (2023-08-14)
73
-
74
- #### 🚀 Features
75
-
76
- - update .run() default handlers ([6137e7a](https://github.com/thi-ng/umbrella/commit/6137e7a))
77
- - use `setImmediate()` as default for non-browser env
78
- - update tests
79
-
80
- ## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/fibers@0.2.0) (2023-08-10)
81
-
82
- #### 🚀 Features
83
-
84
- - ensure no pre-existing parent in Fiber.fork() ([612adf9](https://github.com/thi-ng/umbrella/commit/612adf9))
85
- - add auto terminate option, update child handling ([e59063d](https://github.com/thi-ng/umbrella/commit/e59063d))
86
- - add shuffle() operator, update deps ([b3efa79](https://github.com/thi-ng/umbrella/commit/b3efa79))
87
- - add CSP primitives ([d8fa8ce](https://github.com/thi-ng/umbrella/commit/d8fa8ce))
88
- - add fiber-based Channel class
89
- - add various buffer implementations
90
- - fifo
91
- - lifo
92
- - sliding
93
- - dropping
94
-
95
- #### ⏱ Performance improvements
96
-
97
- - rewrite FIFOBuffer as ring buffer ([ebac714](https://github.com/thi-ng/umbrella/commit/ebac714))
98
- - use old impl as basis for LIFOBuffer only
99
- - update other buffer types to use new ring buffer impl
100
- - add min. capacity assertion in ctors
101
-
102
- #### ♻️ Refactoring
103
-
104
- - minor update all() ([52836a8](https://github.com/thi-ng/umbrella/commit/52836a8))
105
- - update arg types in various ops ([cb3c253](https://github.com/thi-ng/umbrella/commit/cb3c253))
106
-
107
- ### [0.1.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/fibers@0.1.1) (2023-08-05)
108
-
109
- #### 🩹 Bug fixes
110
-
111
- - update dependencies ([c92ad43](https://github.com/thi-ng/umbrella/commit/c92ad43))
112
-
113
- ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/fibers@0.1.0) (2023-08-04)
114
-
115
- #### 🚀 Features
116
-
117
- - import as new pkg ([7f8c6dc](https://github.com/thi-ng/umbrella/commit/7f8c6dc))
118
- - add/update operators, add Fiber.isActive() ([a1099c5](https://github.com/thi-ng/umbrella/commit/a1099c5))
119
- - update Fiber.catch(), childForID(), add docs ([aa8d8d0](https://github.com/thi-ng/umbrella/commit/aa8d8d0))
120
-
121
- #### 🩹 Bug fixes
122
-
123
- - fix typo in waitFrames() ([5700b3e](https://github.com/thi-ng/umbrella/commit/5700b3e))