@ui5/logger 5.0.0-alpha.2 → 5.0.0-alpha.3

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/CHANGELOG.md CHANGED
@@ -4,6 +4,13 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
4
4
 
5
5
  A list of unreleased changes can be found [here](https://github.com/SAP/ui5-logger/compare/v4.0.2...HEAD).
6
6
 
7
+ ## [5.0.0-alpha.3](https://github.com/UI5/cli/compare/logger-v5.0.0-alpha.2...logger-v5.0.0-alpha.3) (2026-02-13)
8
+
9
+
10
+ ### chore
11
+
12
+ * **logger:** Synchronize ui5-cli-packages versions
13
+
7
14
  ## [5.0.0-alpha.2](https://github.com/UI5/cli/compare/logger-v5.0.0-alpha.1...logger-v5.0.0-alpha.2) (2025-12-15)
8
15
 
9
16
 
@@ -440,9 +440,9 @@ class Console {
440
440
  return chalk.yellow(level);
441
441
  case "error":
442
442
  return chalk.bgRed.white(level);
443
- // Log level silent does not produce messages
444
443
  default:
445
- return level;
444
+ // Log level silent does not produce messages
445
+ throw new Error(`writers/Console: Invalid message log level "${level}"`);
446
446
  }
447
447
  }
448
448
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/logger",
3
- "version": "5.0.0-alpha.2",
3
+ "version": "5.0.0-alpha.3",
4
4
  "description": "UI5 CLI - Internal Logger",
5
5
  "author": {
6
6
  "name": "SAP SE",
@@ -29,70 +29,19 @@
29
29
  "npm": ">= 8"
30
30
  },
31
31
  "scripts": {
32
- "test": "npm run lint && npm run coverage && npm run depcheck",
32
+ "test": "npm run lint && npm run coverage",
33
33
  "lint": "eslint ./",
34
34
  "unit": "rimraf test/tmp && ava",
35
35
  "unit-verbose": "rimraf test/tmp && cross-env UI5_LOG_LVL=verbose ava --verbose --serial",
36
36
  "unit-watch": "npm run unit -- --watch",
37
37
  "unit-inspect": "cross-env UI5_LOG_LVL=verbose ava debug --break",
38
- "coverage": "rimraf test/tmp && nyc ava --node-arguments=\"--experimental-loader=@istanbuljs/esm-loader-hook\"",
39
- "preversion": "npm test",
40
- "version": "git-chglog --sort semver --next-tag v$npm_package_version -o CHANGELOG.md v4.0.0.. && git add CHANGELOG.md",
41
- "prepublishOnly": "git push --follow-tags",
42
- "release-note": "git-chglog --sort semver -c .chglog/release-config.yml v$npm_package_version",
43
- "depcheck": "depcheck --ignores @ui5/logger,rimraf,@istanbuljs/esm-loader-hook,cross-env"
38
+ "coverage": "rimraf test/tmp && nyc ava --node-arguments=\"--experimental-loader=@istanbuljs/esm-loader-hook\""
44
39
  },
45
40
  "files": [
46
41
  "CHANGELOG.md",
47
42
  "lib/**",
48
43
  "LICENSES/**"
49
44
  ],
50
- "ava": {
51
- "files": [
52
- "test/lib/**/*.js"
53
- ],
54
- "nodeArguments": [
55
- "--no-warnings"
56
- ],
57
- "workerThreads": false
58
- },
59
- "nyc": {
60
- "reporter": [
61
- "lcov",
62
- "text",
63
- "text-summary"
64
- ],
65
- "exclude": [
66
- "docs/**",
67
- "coverage/**",
68
- "test/**"
69
- ],
70
- "check-coverage": true,
71
- "statements": 90,
72
- "branches": 90,
73
- "functions": 90,
74
- "lines": 90,
75
- "watermarks": {
76
- "statements": [
77
- 70,
78
- 90
79
- ],
80
- "branches": [
81
- 70,
82
- 90
83
- ],
84
- "functions": [
85
- 70,
86
- 90
87
- ],
88
- "lines": [
89
- 70,
90
- 90
91
- ]
92
- },
93
- "cache": true,
94
- "all": true
95
- },
96
45
  "repository": {
97
46
  "type": "git",
98
47
  "url": "git+ssh://git@github.com/UI5/cli.git",
@@ -107,7 +56,6 @@
107
56
  "@istanbuljs/esm-loader-hook": "^0.3.0",
108
57
  "ava": "^6.4.1",
109
58
  "cross-env": "^10.0.0",
110
- "depcheck": "^1.4.7",
111
59
  "eslint": "^9.36.0",
112
60
  "nyc": "^17.1.0",
113
61
  "rimraf": "^6.0.1",