@ui5/logger 3.0.1-rc.3 → 4.0.1
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/.reuse/dep5 +1 -1
- package/CHANGELOG.md +41 -89
- package/LICENSE.txt +1 -1
- package/jsdoc.json +1 -1
- package/package.json +20 -19
package/.reuse/dep5
CHANGED
|
@@ -25,5 +25,5 @@ Disclaimer: The code in this project may include calls to APIs (“API Calls”)
|
|
|
25
25
|
parties the right to use of access any SAP External Product, through API Calls.
|
|
26
26
|
|
|
27
27
|
Files: *
|
|
28
|
-
Copyright: 2018-
|
|
28
|
+
Copyright: 2018-2024 SAP SE or an SAP affiliate company and UI5 Tooling contributors
|
|
29
29
|
License: Apache-2.0
|
package/CHANGELOG.md
CHANGED
|
@@ -2,112 +2,78 @@
|
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
|
3
3
|
This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
4
4
|
|
|
5
|
-
A list of unreleased changes can be found [here](https://github.com/SAP/ui5-logger/compare/
|
|
5
|
+
A list of unreleased changes can be found [here](https://github.com/SAP/ui5-logger/compare/v4.0.1...HEAD).
|
|
6
6
|
|
|
7
|
-
<a name="
|
|
8
|
-
## [
|
|
7
|
+
<a name="v4.0.1"></a>
|
|
8
|
+
## [v4.0.1] - 2024-07-17
|
|
9
9
|
|
|
10
|
-
<a name="
|
|
11
|
-
## [
|
|
12
|
-
|
|
13
|
-
<a name="v3.0.1-rc.1"></a>
|
|
14
|
-
## [v3.0.1-rc.1] - 2023-01-18
|
|
10
|
+
<a name="v4.0.0"></a>
|
|
11
|
+
## [v4.0.0] - 2024-07-16
|
|
15
12
|
### Breaking Changes
|
|
16
|
-
-
|
|
17
|
-
|
|
18
|
-
### BREAKING CHANGE
|
|
13
|
+
- Require Node.js 20.11.x/>=21.2.0 and npm >=10 [`37620d7`](https://github.com/SAP/ui5-logger/commit/37620d7ca67b94b5093670c5ac5383bbb9109c33)
|
|
19
14
|
|
|
15
|
+
### Dependency Updates
|
|
16
|
+
- Bump figures from 5.0.0 to 6.0.1 [`550a3cd`](https://github.com/SAP/ui5-logger/commit/550a3cdd43eee3b2ea28a5db67c1a4485ec52a45)
|
|
20
17
|
|
|
18
|
+
### BREAKING CHANGE
|
|
21
19
|
|
|
20
|
+
Support for older Node.js and npm releases has been dropped.
|
|
21
|
+
Only Node.js 20.11.x and >=21.2.0 as well as npm v10 or higher are supported.
|
|
22
22
|
|
|
23
|
-
<a name="v3.0.
|
|
24
|
-
## [v3.0.
|
|
23
|
+
<a name="v3.0.0"></a>
|
|
24
|
+
## [v3.0.0] - 2023-02-09
|
|
25
25
|
### Breaking Changes
|
|
26
|
+
|
|
27
|
+
- Replace npmlog with @ui5/logger/Logger (#363) [`66a159a`](https://github.com/SAP/ui5-logger/commit/66a159acd9b67a27dd66d1e8056c362585f51bcf)
|
|
26
28
|
- Deprecate advanced APIs in preparation of refactoring [`3aea5e7`](https://github.com/SAP/ui5-logger/commit/3aea5e766f9bda156e8c7e62a2e8c65f613ef7e9)
|
|
29
|
+
- Transform to ES Modules ([#306](https://github.com/SAP/ui5-logger/issues/306)) [`c79608b`](https://github.com/SAP/ui5-logger/commit/c79608b0e432168ca8570530b63a456b9ddd12cb)
|
|
30
|
+
- Require Node.js ^16.18.0, >=18.12.0 / npm >= 8 [`a8af8a7`](https://github.com/SAP/ui5-logger/commit/a8af8a7a82c6f657ac10b5018e654939d90fd81f)
|
|
27
31
|
|
|
28
32
|
### BREAKING CHANGE
|
|
29
33
|
|
|
34
|
+
The @ui5/logger got refactored and as a result its API went public.
|
|
30
35
|
|
|
36
|
+
Remove the usage of npmlog and refactor @ui5/logger modules to emit log events which are then caught in dedicated handlers. This is somewhat inspired by npm's proc-log module.
|
|
31
37
|
|
|
38
|
+
This breaking change removes capabilities that are likely to change and should not be part of a public API.
|
|
32
39
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
### Dependency Updates
|
|
36
|
-
- Bump npmlog from 5.0.1 to 7.0.1 ([#321](https://github.com/SAP/ui5-logger/issues/321)) [`6c5c154`](https://github.com/SAP/ui5-logger/commit/6c5c154c53d8f81774d588714e8426922fa85271)
|
|
37
|
-
|
|
40
|
+
This will ensure that later changes to the module can be donen in a
|
|
41
|
+
compatible manner.
|
|
38
42
|
|
|
39
|
-
|
|
40
|
-
## [v3.0.1-beta.0] - 2022-11-07
|
|
41
|
-
|
|
42
|
-
<a name="v3.0.1-alpha.3"></a>
|
|
43
|
-
## [v3.0.1-alpha.3] - 2022-10-24
|
|
44
|
-
### Breaking Changes
|
|
45
|
-
- Transform to native ESM ([#306](https://github.com/SAP/ui5-logger/issues/306)) [`c79608b`](https://github.com/SAP/ui5-logger/commit/c79608b0e432168ca8570530b63a456b9ddd12cb)
|
|
43
|
+
Relevant changes:
|
|
46
44
|
|
|
47
|
-
|
|
45
|
+
- Restrict log-methods to two argument only. The use of placeholders
|
|
46
|
+
like '%s' is no longer supported. A warning will be logged if more
|
|
47
|
+
than two argument is supplied. Placeholders will be replaced with a
|
|
48
|
+
deprecation message. We suggest the use of template literals.
|
|
49
|
+
- Deprecate #getGroupLogger method. Calling it throws an error.
|
|
50
|
+
It will be removed in one of the next patch releases
|
|
51
|
+
- Deprecate #setShowProgress method. Calling it throws an error.
|
|
52
|
+
It will be removed in one of the next patch releases
|
|
53
|
+
- Remove GroupLogger and TaskLogger classes. Similar functionality might
|
|
54
|
+
be re-added in a later release.
|
|
48
55
|
|
|
49
|
-
This package has been transformed to
|
|
50
|
-
If your project uses CommonJS, it needs to be converted to
|
|
56
|
+
This package has been transformed to ES Modules. Therefore it no longer provides a CommonJS export.
|
|
57
|
+
If your project uses CommonJS, it needs to be converted to ES Modules or use a dynamic import.
|
|
51
58
|
|
|
52
59
|
For more information see also:
|
|
60
|
+
|
|
53
61
|
- https://sap.github.io/ui5-tooling/updates/migrate-v3/
|
|
54
62
|
- https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
|
|
55
63
|
|
|
56
|
-
|
|
57
|
-
<a name="v3.0.1-alpha.2"></a>
|
|
58
|
-
## [v3.0.1-alpha.2] - 2022-07-28
|
|
59
|
-
### Features
|
|
60
|
-
- Add new log level "perf" [`acf0c71`](https://github.com/SAP/ui5-logger/commit/acf0c717612f440ea7a114e757c05d358ae523a7)
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
<a name="v3.0.1-alpha.1"></a>
|
|
64
|
-
## [v3.0.1-alpha.1] - 2022-01-25
|
|
65
|
-
### Breaking Changes
|
|
66
|
-
- Require Node.js >= 16.13.2 / npm >= 8 [`a8af8a7`](https://github.com/SAP/ui5-logger/commit/a8af8a7a82c6f657ac10b5018e654939d90fd81f)
|
|
67
|
-
|
|
68
|
-
### BREAKING CHANGE
|
|
69
|
-
|
|
70
64
|
Support for older Node.js and npm releases has been dropped.
|
|
71
|
-
Only Node.js v16.
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
<a name="v3.0.1-alpha.0"></a>
|
|
75
|
-
## [v3.0.1-alpha.0] - 2021-12-14
|
|
76
|
-
|
|
77
|
-
<a name="v3.0.0-next.0"></a>
|
|
78
|
-
## [v3.0.0-next.0] - 2021-11-29
|
|
79
|
-
|
|
80
|
-
<a name="v3.0.0-beta.1"></a>
|
|
81
|
-
## [v3.0.0-beta.1] - 2022-11-07
|
|
82
|
-
### Breaking Changes
|
|
83
|
-
- Transform to native ESM ([#306](https://github.com/SAP/ui5-logger/issues/306)) [`c79608b`](https://github.com/SAP/ui5-logger/commit/c79608b0e432168ca8570530b63a456b9ddd12cb)
|
|
84
|
-
- Require Node.js >= 16.13.2 / npm >= 8 [`a8af8a7`](https://github.com/SAP/ui5-logger/commit/a8af8a7a82c6f657ac10b5018e654939d90fd81f)
|
|
65
|
+
Only Node.js versions v16.18.0, v18.12.0 or higher as well as npm v8 or higher are supported.
|
|
85
66
|
|
|
86
67
|
### Features
|
|
87
|
-
- Add new log level "perf" [`acf0c71`](https://github.com/SAP/ui5-logger/commit/acf0c717612f440ea7a114e757c05d358ae523a7)
|
|
88
|
-
|
|
89
|
-
### BREAKING CHANGE
|
|
90
|
-
|
|
91
|
-
This package has been transformed to native ESM. Therefore it no longer provides a CommonJS export.
|
|
92
|
-
If your project uses CommonJS, it needs to be converted to ESM or use a dynamic import.
|
|
93
|
-
|
|
94
|
-
For more information see also:
|
|
95
|
-
- https://sap.github.io/ui5-tooling/updates/migrate-v3/
|
|
96
|
-
- https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
|
|
97
|
-
|
|
98
|
-
Support for older Node.js and npm releases has been dropped.
|
|
99
|
-
Only Node.js v16.13.2 and npm v8 or higher are supported.
|
|
100
68
|
|
|
69
|
+
- Add new log level "perf" [`acf0c71`](https://github.com/SAP/ui5-logger/commit/acf0c717612f440ea7a114e757c05d358ae523a7)
|
|
101
70
|
|
|
102
|
-
<a name="v3.0.0-alpha.0"></a>
|
|
103
|
-
## [v3.0.0-alpha.0] - 2021-12-14
|
|
104
71
|
|
|
105
72
|
<a name="v2.0.1"></a>
|
|
106
73
|
## [v2.0.1] - 2020-10-22
|
|
107
74
|
### Bug Fixes
|
|
108
75
|
- Typos in error messages [`1d25902`](https://github.com/SAP/ui5-logger/commit/1d2590223c4332f5ea6f1326b23ecf584fea5934)
|
|
109
76
|
|
|
110
|
-
|
|
111
77
|
<a name="v2.0.0"></a>
|
|
112
78
|
## [v2.0.0] - 2020-03-31
|
|
113
79
|
### Breaking Changes
|
|
@@ -118,13 +84,11 @@ Only Node.js v16.13.2 and npm v8 or higher are supported.
|
|
|
118
84
|
Support for older Node.js releases has been dropped.
|
|
119
85
|
Only Node.js v10 or higher is supported.
|
|
120
86
|
|
|
121
|
-
|
|
122
87
|
<a name="v1.0.2"></a>
|
|
123
88
|
## [v1.0.2] - 2019-10-14
|
|
124
89
|
### Bug Fixes
|
|
125
90
|
- Fix handling of log level "silent" [`020ced8`](https://github.com/SAP/ui5-logger/commit/020ced85a82d33c94e429aa28983affa0d8341ba)
|
|
126
91
|
|
|
127
|
-
|
|
128
92
|
<a name="v1.0.1"></a>
|
|
129
93
|
## [v1.0.1] - 2019-03-21
|
|
130
94
|
|
|
@@ -136,7 +100,6 @@ Only Node.js v10 or higher is supported.
|
|
|
136
100
|
### Features
|
|
137
101
|
- Add UI5_LOG_LVL environment variable [`c3e65c4`](https://github.com/SAP/ui5-logger/commit/c3e65c444045832773e4dc43ffa2baf903a27e52)
|
|
138
102
|
|
|
139
|
-
|
|
140
103
|
<a name="v0.2.1"></a>
|
|
141
104
|
## [v0.2.1] - 2018-10-29
|
|
142
105
|
|
|
@@ -148,20 +111,9 @@ Only Node.js v10 or higher is supported.
|
|
|
148
111
|
|
|
149
112
|
<a name="v0.0.1"></a>
|
|
150
113
|
## v0.0.1 - 2018-06-06
|
|
151
|
-
|
|
152
|
-
[
|
|
153
|
-
[v3.0.
|
|
154
|
-
[v3.0.1-rc.1]: https://github.com/SAP/ui5-logger/compare/v3.0.1-rc.0...v3.0.1-rc.1
|
|
155
|
-
[v3.0.1-rc.0]: https://github.com/SAP/ui5-logger/compare/v3.0.1-beta.1...v3.0.1-rc.0
|
|
156
|
-
[v3.0.1-beta.1]: https://github.com/SAP/ui5-logger/compare/v3.0.1-beta.0...v3.0.1-beta.1
|
|
157
|
-
[v3.0.1-beta.0]: https://github.com/SAP/ui5-logger/compare/v3.0.1-alpha.3...v3.0.1-beta.0
|
|
158
|
-
[v3.0.1-alpha.3]: https://github.com/SAP/ui5-logger/compare/v3.0.1-alpha.2...v3.0.1-alpha.3
|
|
159
|
-
[v3.0.1-alpha.2]: https://github.com/SAP/ui5-logger/compare/v3.0.1-alpha.1...v3.0.1-alpha.2
|
|
160
|
-
[v3.0.1-alpha.1]: https://github.com/SAP/ui5-logger/compare/v3.0.1-alpha.0...v3.0.1-alpha.1
|
|
161
|
-
[v3.0.1-alpha.0]: https://github.com/SAP/ui5-logger/compare/v3.0.0-next.0...v3.0.1-alpha.0
|
|
162
|
-
[v3.0.0-next.0]: https://github.com/SAP/ui5-logger/compare/v3.0.0-beta.1...v3.0.0-next.0
|
|
163
|
-
[v3.0.0-beta.1]: https://github.com/SAP/ui5-logger/compare/v3.0.0-alpha.0...v3.0.0-beta.1
|
|
164
|
-
[v3.0.0-alpha.0]: https://github.com/SAP/ui5-logger/compare/v2.0.1...v3.0.0-alpha.0
|
|
114
|
+
[v4.0.1]: https://github.com/SAP/ui5-logger/compare/v4.0.0...v4.0.1
|
|
115
|
+
[v4.0.0]: https://github.com/SAP/ui5-logger/compare/v3.0.1-rc.3...v4.0.0
|
|
116
|
+
[v3.0.0]: https://github.com/SAP/ui5-logger/compare/v2.0.1...v3.0.0
|
|
165
117
|
[v2.0.1]: https://github.com/SAP/ui5-logger/compare/v2.0.0...v2.0.1
|
|
166
118
|
[v2.0.0]: https://github.com/SAP/ui5-logger/compare/v1.0.2...v2.0.0
|
|
167
119
|
[v1.0.2]: https://github.com/SAP/ui5-logger/compare/v1.0.1...v1.0.2
|
package/LICENSE.txt
CHANGED
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
|
187
187
|
identification within third-party archives.
|
|
188
188
|
|
|
189
|
-
Copyright 2018-
|
|
189
|
+
Copyright 2018-2024 SAP SE or an SAP affiliate company and UI5 Tooling contributors
|
|
190
190
|
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
192
|
you may not use this file except in compliance with the License.
|
package/jsdoc.json
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"openGraph": {
|
|
28
28
|
"title": "UI5 Tooling - API Reference",
|
|
29
29
|
"type": "website",
|
|
30
|
-
"image": "https://sap.github.io/ui5-tooling/
|
|
30
|
+
"image": "https://sap.github.io/ui5-tooling/v4/images/UI5_logo_wide.png",
|
|
31
31
|
"site_name": "UI5 Tooling - API Reference",
|
|
32
32
|
"url": "https://sap.github.io/ui5-tooling/"
|
|
33
33
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/logger",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"description": "UI5 Tooling - Internal Logger",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "SAP SE",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"./internal/loggers/*": "./lib/loggers/*.js"
|
|
26
26
|
},
|
|
27
27
|
"engines": {
|
|
28
|
-
"node": "^
|
|
28
|
+
"node": "^20.11.0 || >=22.0.0",
|
|
29
29
|
"npm": ">= 8"
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"jsdoc-generate": "jsdoc -c ./jsdoc.json -t $(node -p 'path.dirname(require.resolve(\"docdash\"))') ./lib/ || (echo 'Error during JSDoc generation! Check log.' && exit 1)",
|
|
44
44
|
"jsdoc-watch": "npm run jsdoc && chokidar \"./lib/**/*.js\" -c \"npm run jsdoc-generate\"",
|
|
45
45
|
"preversion": "npm test",
|
|
46
|
-
"version": "git-chglog --sort semver --next-tag v$npm_package_version -o CHANGELOG.md && git add CHANGELOG.md",
|
|
47
|
-
"
|
|
46
|
+
"version": "git-chglog --sort semver --next-tag v$npm_package_version -o CHANGELOG.md v4.0.0.. && git add CHANGELOG.md",
|
|
47
|
+
"prepublishOnly": "git push --follow-tags",
|
|
48
48
|
"release-note": "git-chglog --sort semver -c .chglog/release-config.yml v$npm_package_version",
|
|
49
49
|
"depcheck": "depcheck --ignores @ui5/logger,rimraf,docdash,@istanbuljs/esm-loader-hook"
|
|
50
50
|
},
|
|
@@ -62,7 +62,8 @@
|
|
|
62
62
|
],
|
|
63
63
|
"nodeArguments": [
|
|
64
64
|
"--no-warnings"
|
|
65
|
-
]
|
|
65
|
+
],
|
|
66
|
+
"workerThreads": false
|
|
66
67
|
},
|
|
67
68
|
"nyc": {
|
|
68
69
|
"reporter": [
|
|
@@ -109,27 +110,27 @@
|
|
|
109
110
|
"url": "git@github.com:SAP/ui5-logger.git"
|
|
110
111
|
},
|
|
111
112
|
"dependencies": {
|
|
112
|
-
"chalk": "^5.
|
|
113
|
-
"cli-progress": "^3.
|
|
114
|
-
"figures": "^
|
|
113
|
+
"chalk": "^5.3.0",
|
|
114
|
+
"cli-progress": "^3.12.0",
|
|
115
|
+
"figures": "^6.1.0"
|
|
115
116
|
},
|
|
116
117
|
"devDependencies": {
|
|
117
118
|
"@istanbuljs/esm-loader-hook": "^0.2.0",
|
|
118
|
-
"ava": "^
|
|
119
|
+
"ava": "^6.1.3",
|
|
119
120
|
"chokidar-cli": "^3.0.0",
|
|
120
121
|
"cross-env": "^7.0.3",
|
|
121
|
-
"depcheck": "^1.4.
|
|
122
|
-
"docdash": "^2.0.
|
|
123
|
-
"eslint": "^8.
|
|
122
|
+
"depcheck": "^1.4.7",
|
|
123
|
+
"docdash": "^2.0.2",
|
|
124
|
+
"eslint": "^8.57.0",
|
|
124
125
|
"eslint-config-google": "^0.14.0",
|
|
125
126
|
"eslint-plugin-ava": "^14.0.0",
|
|
126
|
-
"eslint-plugin-jsdoc": "^
|
|
127
|
-
"jsdoc": "^
|
|
128
|
-
"nyc": "^
|
|
129
|
-
"open-cli": "^
|
|
130
|
-
"rimraf": "^
|
|
131
|
-
"sinon": "^
|
|
132
|
-
"strip-ansi": "^7.0
|
|
127
|
+
"eslint-plugin-jsdoc": "^48.8.3",
|
|
128
|
+
"jsdoc": "^4.0.3",
|
|
129
|
+
"nyc": "^17.0.0",
|
|
130
|
+
"open-cli": "^8.0.0",
|
|
131
|
+
"rimraf": "^6.0.1",
|
|
132
|
+
"sinon": "^18.0.0",
|
|
133
|
+
"strip-ansi": "^7.1.0",
|
|
133
134
|
"tap-xunit": "^2.4.1"
|
|
134
135
|
}
|
|
135
136
|
}
|