@eui/tools 6.21.121 → 6.21.122
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/.version.properties +1 -1
- package/CHANGELOG.md +9 -0
- package/package.json +1 -1
- package/scripts/utils/tools.js +19 -7
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.21.
|
|
1
|
+
6.21.122
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## 6.21.122 (2025-09-09)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* adapted to flat console output color - to be backward compat with node18 - EUI-10199 [EUI-10199](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-10199) ([aaabd1d0](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/aaabd1d0e48d1e976b2fc93f0c297c922f6ae842))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
1
10
|
## 6.21.121 (2025-09-09)
|
|
2
11
|
|
|
3
12
|
##### Chores
|
package/package.json
CHANGED
package/scripts/utils/tools.js
CHANGED
|
@@ -17,7 +17,7 @@ const execa = require('execa');
|
|
|
17
17
|
const replace = require('replace-in-file');
|
|
18
18
|
const xml2js = require('xml2js');
|
|
19
19
|
const moment = require('moment');
|
|
20
|
-
const util = require('node:util');
|
|
20
|
+
// const util = require('node:util');
|
|
21
21
|
|
|
22
22
|
const isTestRunning = process.env._TEST;
|
|
23
23
|
|
|
@@ -679,9 +679,9 @@ function isSysConfigValid() {
|
|
|
679
679
|
function logBigTitle(text) {
|
|
680
680
|
console.log('\n\n');
|
|
681
681
|
console.log(
|
|
682
|
-
util.styleText('yellow',
|
|
682
|
+
// util.styleText('yellow',
|
|
683
683
|
figlet.textSync(text, { horizontalLayout: 'full' })
|
|
684
|
-
)
|
|
684
|
+
// )
|
|
685
685
|
);
|
|
686
686
|
console.log('\n');
|
|
687
687
|
}
|
|
@@ -744,22 +744,34 @@ const log = (msg, type) => {
|
|
|
744
744
|
if (type === 0 || !type) {
|
|
745
745
|
prefix = figures.play;
|
|
746
746
|
msgContent = `\n${currentDateTime} - ${prefix} ${msg.toUpperCase()}`;
|
|
747
|
-
if (!isTestRunning) console.info(
|
|
747
|
+
if (!isTestRunning) console.info(
|
|
748
|
+
// util.styleText('yellow',
|
|
749
|
+
msgContent)
|
|
750
|
+
// );
|
|
748
751
|
}
|
|
749
752
|
if (type === 1) {
|
|
750
753
|
prefix = figures.pointer.repeat(3);
|
|
751
754
|
msgContent = `${currentDateTime} - ${prefix} ${msg}`;
|
|
752
|
-
if (!isTestRunning) console.info(
|
|
755
|
+
if (!isTestRunning) console.info(
|
|
756
|
+
// util.styleText('cyan',
|
|
757
|
+
msgContent)
|
|
758
|
+
// );
|
|
753
759
|
}
|
|
754
760
|
if (type === 2) {
|
|
755
761
|
prefix = figures.pointer.repeat(6);
|
|
756
762
|
msgContent = `${currentDateTime} - ${prefix} ${msg}\n`;
|
|
757
|
-
if (!isTestRunning) console.info(
|
|
763
|
+
if (!isTestRunning) console.info(
|
|
764
|
+
// util.styleText('green',
|
|
765
|
+
msgContent)
|
|
766
|
+
// );
|
|
758
767
|
}
|
|
759
768
|
if (type === 3) {
|
|
760
769
|
prefix = figures.pointer.repeat(6);
|
|
761
770
|
msgContent = `${currentDateTime} - ${prefix} ${msg}`;
|
|
762
|
-
console.info(
|
|
771
|
+
console.info(
|
|
772
|
+
// util.styleText('red',
|
|
773
|
+
msgContent)
|
|
774
|
+
// );
|
|
763
775
|
}
|
|
764
776
|
if (type === 4) {
|
|
765
777
|
prefix = figures.pointer.repeat(6);
|