@athenna/logger 1.3.3 → 1.3.5

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": "1.3.3",
3
+ "version": "1.3.5",
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>",
@@ -47,8 +47,9 @@
47
47
  "./providers/LoggerProvider": "./src/Providers/LoggerProvider.js"
48
48
  },
49
49
  "dependencies": {
50
- "@athenna/ioc": "1.2.6",
51
- "@secjs/utils": "2.0.1",
50
+ "@athenna/common": "1.0.0",
51
+ "@athenna/config": "1.1.8",
52
+ "@athenna/ioc": "1.2.8",
52
53
  "axios": "0.26.1",
53
54
  "chalk": "5.0.1",
54
55
  "telegraf": "4.7.0"
@@ -133,6 +134,10 @@
133
134
  "es2021": true,
134
135
  "node": true
135
136
  },
137
+ "globals": {
138
+ "Env": true,
139
+ "ioc": true
140
+ },
136
141
  "plugins": [
137
142
  "prettier"
138
143
  ],
@@ -7,7 +7,7 @@
7
7
  * file that was distributed with this source code.
8
8
  */
9
9
 
10
- import { Json } from '@secjs/utils'
10
+ import { Json } from '@athenna/common'
11
11
  import { FormatterFactory } from '#src/index'
12
12
 
13
13
  export class Driver {
@@ -7,7 +7,7 @@
7
7
  * file that was distributed with this source code.
8
8
  */
9
9
 
10
- import { File } from '@secjs/utils'
10
+ import { File } from '@athenna/common'
11
11
 
12
12
  import { Driver } from '#src/Drivers/Driver'
13
13
 
@@ -7,7 +7,7 @@
7
7
  * file that was distributed with this source code.
8
8
  */
9
9
 
10
- import { Json } from '@secjs/utils'
10
+ import { Json } from '@athenna/common'
11
11
 
12
12
  import { Driver } from '#src/Drivers/Driver'
13
13
  import { DriverFactory } from '#src/Factories/DriverFactory'
@@ -7,7 +7,7 @@
7
7
  * file that was distributed with this source code.
8
8
  */
9
9
 
10
- import { Exception } from '@secjs/utils'
10
+ import { Exception } from '@athenna/common'
11
11
  import { DriverFactory } from '#src/Factories/DriverFactory'
12
12
 
13
13
  export class DriverExistException extends Exception {
@@ -7,7 +7,7 @@
7
7
  * file that was distributed with this source code.
8
8
  */
9
9
 
10
- import { Exception } from '@secjs/utils'
10
+ import { Exception } from '@athenna/common'
11
11
  import { FormatterFactory } from '#src/Factories/FormatterFactory'
12
12
 
13
13
  export class FormatterExistException extends Exception {
@@ -7,7 +7,7 @@
7
7
  * file that was distributed with this source code.
8
8
  */
9
9
 
10
- import { Exception } from '@secjs/utils'
10
+ import { Exception } from '@athenna/common'
11
11
  import { DriverFactory } from '#src/Factories/DriverFactory'
12
12
 
13
13
  export class NotFoundDriverException extends Exception {
@@ -7,7 +7,7 @@
7
7
  * file that was distributed with this source code.
8
8
  */
9
9
 
10
- import { Exception } from '@secjs/utils'
10
+ import { Exception } from '@athenna/common'
11
11
  import { FormatterFactory } from '#src/Factories/FormatterFactory'
12
12
 
13
13
  export class NotFoundFormatterException extends Exception {
@@ -7,7 +7,8 @@
7
7
  * file that was distributed with this source code.
8
8
  */
9
9
 
10
- import { Config, Exception } from '@secjs/utils'
10
+ import { Config } from '@athenna/config'
11
+ import { Exception } from '@athenna/common'
11
12
 
12
13
  export class NotImplementedConfigException extends Exception {
13
14
  /**
@@ -7,7 +7,7 @@
7
7
  * file that was distributed with this source code.
8
8
  */
9
9
 
10
- import { Config } from '@secjs/utils'
10
+ import { Config } from '@athenna/config'
11
11
 
12
12
  import { FactoryHelper } from '#src/index'
13
13
  import { FileDriver } from '#src/Drivers/FileDriver'
@@ -9,7 +9,7 @@
9
9
 
10
10
  import { hostname } from 'node:os'
11
11
 
12
- import { Is } from '@secjs/utils'
12
+ import { Is } from '@athenna/common'
13
13
 
14
14
  import { ColorHelper } from '#src/Helpers/ColorHelper'
15
15
 
@@ -7,7 +7,7 @@
7
7
  * file that was distributed with this source code.
8
8
  */
9
9
 
10
- import { Is } from '@secjs/utils'
10
+ import { Is } from '@athenna/common'
11
11
  import { Formatter } from '#src/Formatters/Formatter'
12
12
 
13
13
  export class JsonFormatter extends Formatter {
@@ -7,7 +7,7 @@
7
7
  * file that was distributed with this source code.
8
8
  */
9
9
 
10
- import { Options } from '@secjs/utils'
10
+ import { Options } from '@athenna/common'
11
11
 
12
12
  export class FactoryHelper {
13
13
  /**
package/src/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Chalk } from 'chalk'
2
- import { Is } from '@secjs/utils'
2
+ import { Is } from '@athenna/common'
3
3
  import { format } from 'node:util'
4
4
 
5
5
  import { DriverFactory } from '#src/Factories/DriverFactory'