namirasoft-core 1.3.19 → 1.3.20

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.
@@ -3,25 +3,25 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ConsoleOperation = void 0;
4
4
  class ConsoleOperation {
5
5
  static formatLogColor(message) {
6
- return (this.colors.white + message + this.colors.reset);
6
+ return (ConsoleOperation.colors.white + message + ConsoleOperation.colors.reset);
7
7
  }
8
8
  static formatInfoColor(message) {
9
- return (this.colors.cyan + message + this.colors.reset);
9
+ return (ConsoleOperation.colors.cyan + message + ConsoleOperation.colors.reset);
10
10
  }
11
11
  static formatTraceColor(message) {
12
- return (this.colors.blue + message + this.colors.reset);
12
+ return (ConsoleOperation.colors.blue + message + ConsoleOperation.colors.reset);
13
13
  }
14
14
  static formatDebugColor(message) {
15
- return (this.colors.magenta + message + this.colors.reset);
15
+ return (ConsoleOperation.colors.magenta + message + ConsoleOperation.colors.reset);
16
16
  }
17
17
  static formatSuccessColor(message) {
18
- return (this.colors.green + message + this.colors.reset);
18
+ return (ConsoleOperation.colors.green + message + ConsoleOperation.colors.reset);
19
19
  }
20
20
  static formatWarningColor(message) {
21
- return (this.colors.yellow + message + this.colors.reset);
21
+ return (ConsoleOperation.colors.yellow + message + ConsoleOperation.colors.reset);
22
22
  }
23
23
  static formatErrorColor(message) {
24
- return (this.colors.red + message + this.colors.reset);
24
+ return (ConsoleOperation.colors.red + message + ConsoleOperation.colors.reset);
25
25
  }
26
26
  static log(message) {
27
27
  console.log(ConsoleOperation.formatLogColor(message));
@@ -1 +1 @@
1
- {"version":3,"file":"ConsoleOperation.js","sourceRoot":"","sources":["../src/ConsoleOperation.ts"],"names":[],"mappings":";;;AAAA,MAAa,gBAAgB;IAYzB,MAAM,CAAC,cAAc,CAAC,OAAe;QAEjC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,GAAG,OAAO,GAAG,IAAI,CAAC,MAAM,CA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O,CAAC,KAAK,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC;IAC9D,CAAC;IACD,MAAM,CAAC,KAAK,CAAC,OAAe;QAExB,OAAO,CAAC,KAAK,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC;IAC9D,CAAC;IACD,MAAM,CAAC,OAAO,CAAC,OAAe;QAE1B,OAAO,CAAC,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC,CAAC;IAC/D,CAAC;IACD,MAAM,CAAC,OAAO,CAAC,OAAe;QAE1B,OAAO,CAAC,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC,CAAC;IAC/D,CAAC;IACD,MAAM,CAAC,KAAK,CAAC,OAAe;QAExB,OAAO,CAAC,KAAK,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC;IAC9D,CAAC;;AAnEL,4CAoEC;AAlEiB,uBAAM,GAAG;IACnB,KAAK,EAAE,SAAS;IAChB,GAAG,EAAE,UAAU;IACf,KAAK,EAAE,UAAU;IACjB,MAAM,EAAE,UAAU;IAClB,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,UAAU;IACnB,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,UAAU;CACpB,CAAC"}
package/package.json CHANGED
@@ -3,12 +3,12 @@
3
3
  "title": "Namirasoft Core",
4
4
  "description": "Namira Software Corporation Core NPM Package",
5
5
  "icon": "logo.png",
6
- "logo": "https://static.namirasoft.com/logo/namirasoft/name.png",
6
+ "logo": "https://static.namirasoft.com/image/namirasoft/site/logo/name.png",
7
7
  "language": "ts",
8
8
  "framework": "npm",
9
9
  "application": "package",
10
10
  "private": false,
11
- "version": "1.3.19",
11
+ "version": "1.3.20",
12
12
  "author": "Amir Abolhasani",
13
13
  "license": "MIT",
14
14
  "main": "./dist/index.js",
@@ -17,7 +17,7 @@
17
17
  "build": ""
18
18
  },
19
19
  "dependencies": {
20
- "@types/node": "^20.12.7",
20
+ "@types/node": "^20.12.8",
21
21
  "axios": "^1.6.8",
22
22
  "moment": "^2.30.1",
23
23
  "phone": "^3.1.42"
@@ -12,31 +12,31 @@ export class ConsoleOperation
12
12
  };
13
13
  static formatLogColor(message: string)
14
14
  {
15
- return (this.colors.white + message + this.colors.reset);
15
+ return (ConsoleOperation.colors.white + message + ConsoleOperation.colors.reset);
16
16
  }
17
17
  static formatInfoColor(message: string)
18
18
  {
19
- return (this.colors.cyan + message + this.colors.reset);
19
+ return (ConsoleOperation.colors.cyan + message + ConsoleOperation.colors.reset);
20
20
  }
21
21
  static formatTraceColor(message: string)
22
22
  {
23
- return (this.colors.blue + message + this.colors.reset);
23
+ return (ConsoleOperation.colors.blue + message + ConsoleOperation.colors.reset);
24
24
  }
25
25
  static formatDebugColor(message: string)
26
26
  {
27
- return (this.colors.magenta + message + this.colors.reset);
27
+ return (ConsoleOperation.colors.magenta + message + ConsoleOperation.colors.reset);
28
28
  }
29
29
  static formatSuccessColor(message: string)
30
30
  {
31
- return (this.colors.green + message + this.colors.reset);
31
+ return (ConsoleOperation.colors.green + message + ConsoleOperation.colors.reset);
32
32
  }
33
33
  static formatWarningColor(message: string)
34
34
  {
35
- return (this.colors.yellow + message + this.colors.reset);
35
+ return (ConsoleOperation.colors.yellow + message + ConsoleOperation.colors.reset);
36
36
  }
37
37
  static formatErrorColor(message: string)
38
38
  {
39
- return (this.colors.red + message + this.colors.reset);
39
+ return (ConsoleOperation.colors.red + message + ConsoleOperation.colors.reset);
40
40
  }
41
41
  static log(message: string)
42
42
  {