opticore-catch-exception-error 1.0.12 → 1.0.14

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.
@@ -40,7 +40,7 @@
40
40
  "warning": "Warning {warning}",
41
41
  "promiseRejectionHandled": "Promise rejection is handled at : {promise}",
42
42
  "rejectionPromise": "rejection promise {promise}",
43
- "uncaughtExceptionHandled": "uncaught exception handled",
43
+ "uncaughtExceptionHandled": "uncaught exception handled : {error}",
44
44
  "unhandledRejectionAtPromise": "Unhandled Rejection at: Promise {promise} -- reason {reason}",
45
45
  "unhandledRejection": "Unhandled rejection at: Promise {promise} -- reason {reason}",
46
46
  "processGotMsg": "process got message {message}",
package/example/index.ts CHANGED
@@ -15,6 +15,6 @@ console.log("__filename is : ", __filename);
15
15
  // Obtenir le répertoire du fichier
16
16
  (() => {
17
17
  const __dirname = path.dirname(__filename);
18
- const server = ServerListenEventError.__init();
19
- server.hostPortUndefined();
18
+ const server = ServerListenEventError;
19
+ server.hostPortUndefined("en");
20
20
  })()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opticore-catch-exception-error",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "description": "opticore catch exception error",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -28,14 +28,15 @@
28
28
  "chalk": "^5.4.1",
29
29
  "opticore-express": "^1.0.3",
30
30
  "opticore-http-response": "^1.0.3",
31
- "opticore-translator": "^1.0.3",
32
- "tsx": "^4.19.3"
31
+ "opticore-translator": "^1.0.7"
33
32
  },
34
33
  "devDependencies": {
35
- "@types/node": "^22.13.5",
34
+ "@types/node": "^22.13.10",
35
+ "ts-node": "^10.9.2",
36
36
  "reflect-metadata": "^0.2.2",
37
37
  "tslib": "^2.8.1",
38
38
  "tsup": "^8.4.0",
39
- "typescript": "^5.4.5"
39
+ "typescript": "^5.4.5",
40
+ "tsx": "^4.19.3"
40
41
  }
41
42
  }