@modern-js/plugin 1.20.1 → 1.21.0
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 +8 -0
- package/dist/types/workflow/sync.d.ts +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
@@ -2,7 +2,7 @@ declare const WORKFLOW_SYMBOL: unique symbol;
|
|
2
2
|
export declare type Worker<I, O> = (I: I) => O;
|
3
3
|
export declare type Workers<I, O> = Worker<I, O>[];
|
4
4
|
export declare type Workflow<I, O> = {
|
5
|
-
run: (input: I) =>
|
5
|
+
run: (input: I) => O[];
|
6
6
|
use: (...I: Workers<I, O>) => Workflow<I, O>;
|
7
7
|
[WORKFLOW_SYMBOL]: true;
|
8
8
|
};
|
package/package.json
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
"modern",
|
12
12
|
"modern.js"
|
13
13
|
],
|
14
|
-
"version": "1.
|
14
|
+
"version": "1.21.0",
|
15
15
|
"jsnext:source": "./src/index.ts",
|
16
16
|
"types": "./dist/types/index.d.ts",
|
17
17
|
"main": "./dist/js/node/index.js",
|
@@ -34,9 +34,9 @@
|
|
34
34
|
"@types/jest": "^27",
|
35
35
|
"@types/node": "^14",
|
36
36
|
"typescript": "^4",
|
37
|
-
"@scripts/build": "1.
|
37
|
+
"@scripts/build": "1.21.0",
|
38
38
|
"jest": "^27",
|
39
|
-
"@scripts/jest-config": "1.
|
39
|
+
"@scripts/jest-config": "1.21.0"
|
40
40
|
},
|
41
41
|
"sideEffects": false,
|
42
42
|
"publishConfig": {
|