@rainbow-o23/n3 1.0.46 → 1.0.47
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rainbow-o23/n3",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.47",
|
|
4
4
|
"description": "o23 pipelines",
|
|
5
5
|
"main": "index.cjs",
|
|
6
6
|
"module": "index.js",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"url": "https://github.com/InsureMO/rainbow-o23/issues"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@rainbow-o23/n1": "1.0.
|
|
24
|
+
"@rainbow-o23/n1": "1.0.47",
|
|
25
25
|
"node-fetch": "2.6.7",
|
|
26
|
-
"typeorm": "^0.3.
|
|
26
|
+
"typeorm": "^0.3.20",
|
|
27
27
|
"typescript": "5.5.4"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
@@ -36,17 +36,17 @@
|
|
|
36
36
|
"@types/events": "^3.0.1",
|
|
37
37
|
"@types/node": "18.16.12",
|
|
38
38
|
"@types/node-fetch": "2.6.4",
|
|
39
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
40
|
-
"@typescript-eslint/parser": "^
|
|
41
|
-
"better-sqlite3": "^
|
|
39
|
+
"@typescript-eslint/eslint-plugin": "^8.13.0",
|
|
40
|
+
"@typescript-eslint/parser": "^8.13.0",
|
|
41
|
+
"better-sqlite3": "^11.5.0",
|
|
42
42
|
"eslint": "^9.8.0",
|
|
43
|
-
"mssql": "^
|
|
44
|
-
"mysql2": "^3.
|
|
45
|
-
"oracledb": "^6.
|
|
46
|
-
"pg": "^8.
|
|
47
|
-
"pg-query-stream": "^4.
|
|
43
|
+
"mssql": "^11.0.1",
|
|
44
|
+
"mysql2": "^3.11.4",
|
|
45
|
+
"oracledb": "^6.6.0",
|
|
46
|
+
"pg": "^8.13.1",
|
|
47
|
+
"pg-query-stream": "^4.7.1",
|
|
48
48
|
"reflect-metadata": "^0.2.2",
|
|
49
|
-
"rollup": "^3.
|
|
49
|
+
"rollup": "^3.29.5",
|
|
50
50
|
"rollup-plugin-tslint": "^0.2.2",
|
|
51
51
|
"rollup-plugin-typescript2": "^0.34.1",
|
|
52
52
|
"tslib": "^2.4.1"
|
|
@@ -74,7 +74,6 @@
|
|
|
74
74
|
"testEnvironment": "node"
|
|
75
75
|
},
|
|
76
76
|
"volta": {
|
|
77
|
-
"
|
|
78
|
-
"yarn": "1.22.21"
|
|
77
|
+
"extends": "../package.json"
|
|
79
78
|
}
|
|
80
79
|
}
|
|
@@ -213,7 +213,6 @@ export abstract class AbstractFragmentaryPipelineStep<In = PipelineStepPayload,
|
|
|
213
213
|
};
|
|
214
214
|
}
|
|
215
215
|
} else if (typeof funcOrSnippet === 'string') {
|
|
216
|
-
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
217
216
|
const func = Utils.createAsyncFunction(funcOrSnippet, {
|
|
218
217
|
createDefault: async () => {
|
|
219
218
|
throw new UncatchableError(ERR_PIPELINE_STEP_SNIPPET_NOT_EMPTY, 'Cannot create perform func on empty snippet.');
|
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
import {AbstractFragmentaryPipelineStep, FragmentaryPipelineStepOptions} from './abstract-fragmentary-pipeline-step';
|
|
9
9
|
import {Utils} from './utils';
|
|
10
10
|
|
|
11
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
11
12
|
export interface PipelineStepSetsContext {
|
|
12
13
|
}
|
|
13
14
|
|
package/src/lib/step/types.ts
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from '@rainbow-o23/n1';
|
|
8
8
|
|
|
9
9
|
export type ScriptFunctionBody = string;
|
|
10
|
-
// eslint-disable-next-line @typescript-eslint/
|
|
10
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
|
|
11
11
|
export type ScriptFuncOrBody<F = Function> = F | ScriptFunctionBody;
|
|
12
12
|
|
|
13
13
|
export interface ErrorHandleOptions<In, InFragment, E extends Error = Error> {
|
package/src/lib/step/utils.ts
CHANGED
|
@@ -43,7 +43,7 @@ const AvoidProxyObjects = [
|
|
|
43
43
|
];
|
|
44
44
|
|
|
45
45
|
export class Utils {
|
|
46
|
-
// eslint-disable-next-line @typescript-eslint/
|
|
46
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
|
|
47
47
|
public static createFunction<F = Function>(snippet: ScriptFuncOrBody<F>, creators: {
|
|
48
48
|
createDefault: () => Undefinable<F> | never;
|
|
49
49
|
getVariableNames: () => Array<string>;
|
|
@@ -105,7 +105,7 @@ export class Utils {
|
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
// eslint-disable-next-line @typescript-eslint/
|
|
108
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
|
|
109
109
|
public static createSyncFunction<F = Function>(snippet: ScriptFuncOrBody<F>, creators: {
|
|
110
110
|
createDefault: () => Undefinable<F> | never;
|
|
111
111
|
getVariableNames: () => Array<string>;
|
|
@@ -114,7 +114,7 @@ export class Utils {
|
|
|
114
114
|
return Utils.createFunction(snippet, {...creators});
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
// eslint-disable-next-line @typescript-eslint/
|
|
117
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
|
|
118
118
|
public static createAsyncFunction<F = Function>(snippet: ScriptFuncOrBody<F>, creators: {
|
|
119
119
|
createDefault: () => Undefinable<F> | never;
|
|
120
120
|
getVariableNames: () => Array<string>;
|