@solidxai/solidctl 0.1.19 → 0.1.21-beta.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/package.json
CHANGED
|
@@ -18,6 +18,14 @@ process.on('uncaughtException', (err) => {
|
|
|
18
18
|
console.error('Uncaught Exception:', err);
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
+
// Suppress pg deprecation warning caused by TypeORM's internal query scheduling
|
|
22
|
+
process.on('warning', (warning) => {
|
|
23
|
+
if (warning.name === 'DeprecationWarning' && warning.message.includes('client.query()')) {
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
console.warn(warning);
|
|
27
|
+
});
|
|
28
|
+
|
|
21
29
|
async function bootstrap() {
|
|
22
30
|
// setup log levels...
|
|
23
31
|
const showLogs = process.argv.includes('--verbose') || process.argv.includes('-v');
|
|
@@ -27,6 +27,14 @@ process.on('uncaughtException', (err) => {
|
|
|
27
27
|
console.error('Uncaught Exception:', err);
|
|
28
28
|
});
|
|
29
29
|
|
|
30
|
+
// Suppress pg deprecation warning caused by TypeORM's internal query scheduling
|
|
31
|
+
process.on('warning', (warning) => {
|
|
32
|
+
if (warning.name === 'DeprecationWarning' && warning.message.includes('client.query()')) {
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
console.warn(warning);
|
|
36
|
+
});
|
|
37
|
+
|
|
30
38
|
async function bootstrap() {
|
|
31
39
|
const appModule = await AppModule.forRoot();
|
|
32
40
|
const app = await NestFactory.create(appModule);
|
|
@@ -51,7 +59,6 @@ async function bootstrap() {
|
|
|
51
59
|
});
|
|
52
60
|
|
|
53
61
|
// setup winston as the default logger.
|
|
54
|
-
// const app = await NestFactory.create(AppModule);
|
|
55
62
|
app.useLogger(app.get(WINSTON_MODULE_NEST_PROVIDER));
|
|
56
63
|
|
|
57
64
|
// Making the port dynamic
|