@athenna/logger 3.1.7 → 3.3.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@athenna/logger",
3
- "version": "3.1.7",
3
+ "version": "3.3.0",
4
4
  "description": "The Athenna logging solution. Log in stdout, files and buckets.",
5
5
  "license": "MIT",
6
6
  "author": "João Lenon <lenon@athenna.io>",
@@ -49,35 +49,23 @@
49
49
  "#tests": "./tests/index.js"
50
50
  },
51
51
  "dependencies": {
52
- "telegraf": "^4.11.2"
52
+ "telegraf": "^4.12.2"
53
53
  },
54
54
  "devDependencies": {
55
- "@athenna/common": "^3.4.4",
56
- "@athenna/config": "^3.2.2",
57
- "@athenna/ioc": "^3.1.7",
58
- "@athenna/test": "^3.2.2",
59
- "@japa/assert": "^1.3.6",
60
- "@japa/run-failed-tests": "^1.1.0",
61
- "@japa/runner": "^2.2.2",
62
- "@japa/spec-reporter": "^1.3.2",
55
+ "@athenna/common": "^3.5.1",
56
+ "@athenna/config": "^3.4.1",
57
+ "@athenna/ioc": "^3.3.0",
58
+ "@athenna/test": "^3.5.1",
63
59
  "@swc/core": "^1.3.27",
64
- "@types/bytes": "^3.1.1",
65
- "@types/callsite": "^1.0.31",
66
- "@types/debug": "^4.1.7",
67
- "@types/kind-of": "^6.0.0",
68
- "@types/lodash": "^4.14.191",
69
- "@types/ms": "^0.7.31",
70
- "@types/pluralize": "^0.0.29",
71
- "@types/uuid": "^9.0.0",
72
- "@typescript-eslint/eslint-plugin": "^5.48.1",
73
- "@typescript-eslint/parser": "^5.48.1",
60
+ "@typescript-eslint/eslint-plugin": "^5.56.0",
61
+ "@typescript-eslint/parser": "^5.56.0",
74
62
  "c8": "^7.12.0",
75
63
  "cls-rtracer": "^2.6.2",
76
64
  "commitizen": "^4.2.6",
77
65
  "cross-env": "^7.0.3",
78
66
  "cz-conventional-changelog": "^3.3.0",
79
- "eslint": "^8.32.0",
80
- "eslint-config-prettier": "^8.6.0",
67
+ "eslint": "^8.36.0",
68
+ "eslint-config-prettier": "^8.8.0",
81
69
  "eslint-config-standard": "^17.0.0",
82
70
  "eslint-plugin-import": "^2.27.5",
83
71
  "eslint-plugin-n": "^15.6.1",
@@ -85,12 +73,10 @@
85
73
  "eslint-plugin-promise": "^6.1.1",
86
74
  "husky": "^3.1.0",
87
75
  "lint-staged": "^12.5.0",
88
- "minimist": "^1.2.7",
89
- "prettier": "^2.8.3",
76
+ "prettier": "^2.8.7",
90
77
  "reflect-metadata": "^0.1.13",
91
- "sinon": "^15.0.2",
92
78
  "ts-node": "^10.9.1",
93
- "typescript": "^4.9.4"
79
+ "typescript": "^5.0.2"
94
80
  },
95
81
  "c8": {
96
82
  "all": true,
@@ -141,9 +127,7 @@
141
127
  }
142
128
  ]
143
129
  },
144
- "eslintIgnore": [
145
- "build/**/*"
146
- ],
130
+ "eslintIgnore": [],
147
131
  "eslintConfig": {
148
132
  "env": {
149
133
  "es2021": true,
@@ -19,7 +19,7 @@ import { TelegramDriver } from '#src/Drivers/TelegramDriver';
19
19
  import { DriverExistException } from '#src/Exceptions/DriverExistException';
20
20
  import { NotFoundDriverException } from '#src/Exceptions/NotFoundDriverException';
21
21
  import { NotImplementedConfigException } from '#src/Exceptions/NotImplementedConfigException';
22
- export class DriverFactory {
22
+ class DriverFactory {
23
23
  /**
24
24
  * Drivers of DriverFactory.
25
25
  */
@@ -91,3 +91,4 @@ export class DriverFactory {
91
91
  return channelConfig;
92
92
  }
93
93
  }
94
+ export { DriverFactory };
@@ -14,7 +14,7 @@ import { MessageFormatter } from '#src/Formatters/MessageFormatter';
14
14
  import { RequestFormatter } from '#src/Formatters/RequestFormatter';
15
15
  import { FormatterExistException } from '#src/Exceptions/FormatterExistException';
16
16
  import { NotFoundFormatterException } from '#src/Exceptions/NotFoundFormatterException';
17
- export class FormatterFactory {
17
+ class FormatterFactory {
18
18
  /**
19
19
  * Formatters of FormatterFactory.
20
20
  */
@@ -55,3 +55,4 @@ export class FormatterFactory {
55
55
  this.formatters.set(name, { Formatter: formatter });
56
56
  }
57
57
  }
58
+ export { FormatterFactory };