@sap/cli-core 2024.7.0 → 2024.8.0
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 +6 -0
- package/discovery/index.js +1 -1
- package/dwc/utils.js +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## 2024.8.0
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- Fixed two issues about the message `Your local CLI installation is outdated. Run 'npm install @sap/datasphere-cli [-g]' to update`. First, the command to install the latest version was not correct and changed from `npm install @sap/datasphere-cli [-g]` to `npm install @sap/datasphere-cli@latest [-g]`. Second, the error message was shown even though the CLI was already updated.
|
|
13
|
+
|
|
8
14
|
## 2024.5.0
|
|
9
15
|
|
|
10
16
|
### Fixed
|
package/discovery/index.js
CHANGED
|
@@ -126,7 +126,7 @@ exports.compareEtags = compareEtags;
|
|
|
126
126
|
const checkVersion = async () => {
|
|
127
127
|
const { debug } = getLogger();
|
|
128
128
|
const doc = await (0, exports.init)();
|
|
129
|
-
const local = (0, utils_2.parseVersion)(
|
|
129
|
+
const local = (0, utils_2.parseVersion)((0, core_1.getVersion)());
|
|
130
130
|
const server = (0, utils_2.parseVersion)(doc.info["x-document-version"]);
|
|
131
131
|
if (local.major < server.major ||
|
|
132
132
|
(local.major === server.major && local.minor < server.minor)) {
|
package/dwc/utils.js
CHANGED
|
@@ -54,7 +54,7 @@ const checkVersion = async () => {
|
|
|
54
54
|
try {
|
|
55
55
|
const result = await (0, discovery_1.checkVersion)();
|
|
56
56
|
if (result.status === "OUTDATED") {
|
|
57
|
-
output(`Your local CLI installation is outdated. Run 'npm install ${(0, core_1.getPackageName)()} [-g]' to update`);
|
|
57
|
+
output(`Your local CLI installation is outdated. Run 'npm install ${(0, core_1.getPackageName)()}@latest [-g]' to update`);
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
catch (err) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap/cli-core",
|
|
3
|
-
"version": "2024.
|
|
3
|
+
"version": "2024.8.0",
|
|
4
4
|
"description": "Command-Line Interface (CLI) Core Module",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"author": "SAP SE",
|
|
@@ -18,18 +18,18 @@
|
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"ajv": "8.12.0",
|
|
21
|
-
"axios": "1.6.
|
|
21
|
+
"axios": "1.6.8",
|
|
22
22
|
"commander": "11.1.0",
|
|
23
23
|
"compare-versions": "6.1.0",
|
|
24
24
|
"config": "3.3.11",
|
|
25
|
-
"dotenv": "16.4.
|
|
25
|
+
"dotenv": "16.4.5",
|
|
26
26
|
"fs-extra": "11.2.0",
|
|
27
27
|
"https": "1.0.0",
|
|
28
|
-
"https-proxy-agent": "7.0.
|
|
28
|
+
"https-proxy-agent": "7.0.4",
|
|
29
29
|
"lodash": "4.17.21",
|
|
30
30
|
"open": "8.4.2",
|
|
31
31
|
"path": "0.12.7",
|
|
32
32
|
"prompts": "2.4.2",
|
|
33
|
-
"qs": "6.
|
|
33
|
+
"qs": "6.12.0"
|
|
34
34
|
}
|
|
35
35
|
}
|