elegance-js 1.11.30 → 1.11.31

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/dist/build.mjs CHANGED
@@ -26,15 +26,14 @@ function color(text, code) {
26
26
  }
27
27
  function logInfo(...args) {
28
28
  if (quiet) return;
29
- console.info(`${getTimestamp()} ${color("[INFO]:", 34)}`, ...args);
29
+ console.info(`Elegance.JS: ${getTimestamp()} ${color("[INFO]:", 34)}`, ...args);
30
30
  }
31
31
  function logWarn(...args) {
32
32
  if (quiet) return;
33
- console.warn(`${getTimestamp()} ${color("[WARN]:", 33)}`, ...args);
33
+ console.warn(`Elegance.JS: ${getTimestamp()} ${color("[WARN]:", 33)}`, ...args);
34
34
  }
35
35
  function logError(...args) {
36
- if (quiet) return;
37
- console.error(`${getTimestamp()} ${color("[ERROR]:", 31)}`, ...args);
36
+ console.error(`Elegance.JS: ${getTimestamp()} ${color("[ERROR]:", 31)}`, ...args);
38
37
  }
39
38
  var log = {
40
39
  info: logInfo,
@@ -29,15 +29,14 @@ function color(text, code) {
29
29
  }
30
30
  function logInfo(...args) {
31
31
  if (quiet) return;
32
- console.info(`${getTimestamp()} ${color("[INFO]:", 34)}`, ...args);
32
+ console.info(`Elegance.JS: ${getTimestamp()} ${color("[INFO]:", 34)}`, ...args);
33
33
  }
34
34
  function logWarn(...args) {
35
35
  if (quiet) return;
36
- console.warn(`${getTimestamp()} ${color("[WARN]:", 33)}`, ...args);
36
+ console.warn(`Elegance.JS: ${getTimestamp()} ${color("[WARN]:", 33)}`, ...args);
37
37
  }
38
38
  function logError(...args) {
39
- if (quiet) return;
40
- console.error(`${getTimestamp()} ${color("[ERROR]:", 31)}`, ...args);
39
+ console.error(`Elegance.JS: ${getTimestamp()} ${color("[ERROR]:", 31)}`, ...args);
41
40
  }
42
41
  var log = {
43
42
  info: logInfo,
package/dist/log.mjs CHANGED
@@ -19,15 +19,14 @@ function color(text, code) {
19
19
  }
20
20
  function logInfo(...args) {
21
21
  if (quiet) return;
22
- console.info(`${getTimestamp()} ${color("[INFO]:", 34)}`, ...args);
22
+ console.info(`Elegance.JS: ${getTimestamp()} ${color("[INFO]:", 34)}`, ...args);
23
23
  }
24
24
  function logWarn(...args) {
25
25
  if (quiet) return;
26
- console.warn(`${getTimestamp()} ${color("[WARN]:", 33)}`, ...args);
26
+ console.warn(`Elegance.JS: ${getTimestamp()} ${color("[WARN]:", 33)}`, ...args);
27
27
  }
28
28
  function logError(...args) {
29
- if (quiet) return;
30
- console.error(`${getTimestamp()} ${color("[ERROR]:", 31)}`, ...args);
29
+ console.error(`Elegance.JS: ${getTimestamp()} ${color("[ERROR]:", 31)}`, ...args);
31
30
  }
32
31
  var log = {
33
32
  info: logInfo,
@@ -592,15 +592,14 @@ function color(text, code) {
592
592
  }
593
593
  function logInfo(...args) {
594
594
  if (quiet) return;
595
- console.info(`${getTimestamp()} ${color("[INFO]:", 34)}`, ...args);
595
+ console.info(`Elegance.JS: ${getTimestamp()} ${color("[INFO]:", 34)}`, ...args);
596
596
  }
597
597
  function logWarn(...args) {
598
598
  if (quiet) return;
599
- console.warn(`${getTimestamp()} ${color("[WARN]:", 33)}`, ...args);
599
+ console.warn(`Elegance.JS: ${getTimestamp()} ${color("[WARN]:", 33)}`, ...args);
600
600
  }
601
601
  function logError(...args) {
602
- if (quiet) return;
603
- console.error(`${getTimestamp()} ${color("[ERROR]:", 31)}`, ...args);
602
+ console.error(`Elegance.JS: ${getTimestamp()} ${color("[ERROR]:", 31)}`, ...args);
604
603
  }
605
604
  var log = {
606
605
  info: logInfo,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "elegance-js",
3
- "version": "1.11.30",
3
+ "version": "1.11.31",
4
4
  "description": "Web-Framework",
5
5
  "type": "module",
6
6
  "bin": {