@thi.ng/fibers 0.6.34 → 0.6.36
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 +1 -1
- package/README.md +9 -3
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
|
-
> This is one of
|
|
10
|
+
> This is one of 191 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
|
>
|
|
@@ -375,7 +375,13 @@ if (res !== undefined) {
|
|
|
375
375
|
yarn add @thi.ng/fibers
|
|
376
376
|
```
|
|
377
377
|
|
|
378
|
-
|
|
378
|
+
ESM import:
|
|
379
|
+
|
|
380
|
+
```ts
|
|
381
|
+
import * as fib from "@thi.ng/fibers";
|
|
382
|
+
```
|
|
383
|
+
|
|
384
|
+
Browser ESM import:
|
|
379
385
|
|
|
380
386
|
```html
|
|
381
387
|
<script type="module" src="https://cdn.skypack.dev/@thi.ng/fibers"></script>
|
|
@@ -386,7 +392,7 @@ ES module import:
|
|
|
386
392
|
For Node.js REPL:
|
|
387
393
|
|
|
388
394
|
```js
|
|
389
|
-
const
|
|
395
|
+
const fib = await import("@thi.ng/fibers");
|
|
390
396
|
```
|
|
391
397
|
|
|
392
398
|
Package sizes (brotli'd, pre-treeshake): ESM: 2.64 KB
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/fibers",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.36",
|
|
4
4
|
"description": "Process hierarchies & operators for cooperative multitasking",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@thi.ng/api": "^8.
|
|
40
|
-
"@thi.ng/arrays": "^2.9.
|
|
41
|
-
"@thi.ng/bench": "^3.5.
|
|
42
|
-
"@thi.ng/checks": "^3.
|
|
43
|
-
"@thi.ng/errors": "^2.5.
|
|
44
|
-
"@thi.ng/idgen": "^2.2.
|
|
45
|
-
"@thi.ng/logger": "^3.0.
|
|
46
|
-
"@thi.ng/random": "^3.7.
|
|
39
|
+
"@thi.ng/api": "^8.10.0",
|
|
40
|
+
"@thi.ng/arrays": "^2.9.2",
|
|
41
|
+
"@thi.ng/bench": "^3.5.2",
|
|
42
|
+
"@thi.ng/checks": "^3.6.0",
|
|
43
|
+
"@thi.ng/errors": "^2.5.3",
|
|
44
|
+
"@thi.ng/idgen": "^2.2.37",
|
|
45
|
+
"@thi.ng/logger": "^3.0.8",
|
|
46
|
+
"@thi.ng/random": "^3.7.2"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@microsoft/api-extractor": "^7.43.0",
|
|
@@ -109,5 +109,5 @@
|
|
|
109
109
|
"status": "alpha",
|
|
110
110
|
"year": 2023
|
|
111
111
|
},
|
|
112
|
-
"gitHead": "
|
|
112
|
+
"gitHead": "85ac4bd4d6d89f8e3689e2863d5bea0cecdb371c\n"
|
|
113
113
|
}
|