@rainbow-o23/n3 1.0.38 → 1.0.40
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/index.cjs
CHANGED
|
@@ -702,12 +702,7 @@ class AbstractFragmentaryPipelineStep extends n1.AbstractPipelineStep {
|
|
|
702
702
|
}
|
|
703
703
|
catch (e) {
|
|
704
704
|
const result = await this.handleError(fragment, request, e);
|
|
705
|
-
|
|
706
|
-
return this.setToOutput(result, request);
|
|
707
|
-
}
|
|
708
|
-
catch (e) {
|
|
709
|
-
return (await this.handleError(fragment, request, e));
|
|
710
|
-
}
|
|
705
|
+
return this.setToOutput(result, request);
|
|
711
706
|
}
|
|
712
707
|
}
|
|
713
708
|
async perform(request) {
|
package/index.js
CHANGED
|
@@ -700,12 +700,7 @@ class AbstractFragmentaryPipelineStep extends AbstractPipelineStep {
|
|
|
700
700
|
}
|
|
701
701
|
catch (e) {
|
|
702
702
|
const result = await this.handleError(fragment, request, e);
|
|
703
|
-
|
|
704
|
-
return this.setToOutput(result, request);
|
|
705
|
-
}
|
|
706
|
-
catch (e) {
|
|
707
|
-
return (await this.handleError(fragment, request, e));
|
|
708
|
-
}
|
|
703
|
+
return this.setToOutput(result, request);
|
|
709
704
|
}
|
|
710
705
|
}
|
|
711
706
|
async perform(request) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rainbow-o23/n3",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.40",
|
|
4
4
|
"description": "o23 pipelines",
|
|
5
5
|
"main": "index.cjs",
|
|
6
6
|
"module": "index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
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.40",
|
|
25
25
|
"node-fetch": "2.6.7",
|
|
26
26
|
"typeorm": "^0.3.17"
|
|
27
27
|
},
|
|
@@ -35,16 +35,16 @@
|
|
|
35
35
|
"@types/events": "^3.0.1",
|
|
36
36
|
"@types/node": "18.16.12",
|
|
37
37
|
"@types/node-fetch": "2.6.4",
|
|
38
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
39
|
-
"@typescript-eslint/parser": "^
|
|
38
|
+
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
39
|
+
"@typescript-eslint/parser": "^7.18.0",
|
|
40
40
|
"better-sqlite3": "^9.0.0",
|
|
41
|
-
"eslint": "^8.
|
|
41
|
+
"eslint": "^9.8.0",
|
|
42
42
|
"mssql": "^10.0.1",
|
|
43
43
|
"mysql2": "^3.9.8",
|
|
44
44
|
"oracledb": "^6.2.0",
|
|
45
45
|
"pg": "^8.11.3",
|
|
46
46
|
"pg-query-stream": "^4.5.3",
|
|
47
|
-
"reflect-metadata": "^0.
|
|
47
|
+
"reflect-metadata": "^0.2.2",
|
|
48
48
|
"rollup": "^3.7.0",
|
|
49
49
|
"rollup-plugin-tslint": "^0.2.2",
|
|
50
50
|
"rollup-plugin-typescript2": "^0.34.1",
|
|
@@ -365,14 +365,7 @@ export abstract class AbstractFragmentaryPipelineStep<In = PipelineStepPayload,
|
|
|
365
365
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
366
366
|
} catch (e: any) {
|
|
367
367
|
const result = await this.handleError(fragment, request, e);
|
|
368
|
-
|
|
369
|
-
return this.setToOutput(result, request);
|
|
370
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
371
|
-
} catch (e: any) {
|
|
372
|
-
// since exception raised during set to output,
|
|
373
|
-
// therefore never call this function on error handling
|
|
374
|
-
return (await this.handleError(fragment, request, e)) as PipelineStepData<Out>;
|
|
375
|
-
}
|
|
368
|
+
return this.setToOutput(result, request);
|
|
376
369
|
}
|
|
377
370
|
}
|
|
378
371
|
|
|
@@ -36,7 +36,7 @@ describe('TypeORM SQL Autonomous Suite', () => {
|
|
|
36
36
|
await new TypeOrmDataSourceHelper(config).create({
|
|
37
37
|
'TEST': [TestTable]
|
|
38
38
|
});
|
|
39
|
-
const repo = (await TypeOrmDataSourceManager.findDataSource('TEST')).getDataSource().getRepository(TestTable);
|
|
39
|
+
const repo = (await TypeOrmDataSourceManager.findDataSource('TEST', config)).getDataSource().getRepository(TestTable);
|
|
40
40
|
await repo.insert({id: 1, content: 'hello world!'});
|
|
41
41
|
await repo.insert({id: 2, content: 'good-bye world!'});
|
|
42
42
|
});
|
|
@@ -28,7 +28,7 @@ describe('TypeORM Entity Suite', () => {
|
|
|
28
28
|
await new TypeOrmDataSourceHelper(config).create({
|
|
29
29
|
'TEST': [TestTable]
|
|
30
30
|
});
|
|
31
|
-
const repo = (await TypeOrmDataSourceManager.findDataSource('TEST')).getDataSource().getRepository(TestTable);
|
|
31
|
+
const repo = (await TypeOrmDataSourceManager.findDataSource('TEST', config)).getDataSource().getRepository(TestTable);
|
|
32
32
|
await repo.insert({id: 1, content: 'hello world!'});
|
|
33
33
|
});
|
|
34
34
|
|