@sap/cli-core 2024.22.0 → 2024.23.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/commands/handler/input/input.js +6 -1
- package/package.json +2 -2
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.22.0
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- Issues with option `--input` which would not set the request body correctly. As a workaround, option `--file-path` can be used.
|
|
13
|
+
|
|
8
14
|
## 2024.17.0
|
|
9
15
|
|
|
10
16
|
### Added
|
|
@@ -31,7 +31,12 @@ const create = () => async (command) => {
|
|
|
31
31
|
}
|
|
32
32
|
logger.debug("reading request body from data");
|
|
33
33
|
try {
|
|
34
|
-
(0, config_1.set)({
|
|
34
|
+
(0, config_1.set)({
|
|
35
|
+
data: {
|
|
36
|
+
type: "json",
|
|
37
|
+
content: JSON.parse(input),
|
|
38
|
+
},
|
|
39
|
+
});
|
|
35
40
|
}
|
|
36
41
|
catch (err) {
|
|
37
42
|
(0, utils_1.logVerbose)(logger, "Failed to parse input data. Is it a valid escaped JSON string?");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap/cli-core",
|
|
3
|
-
"version": "2024.
|
|
3
|
+
"version": "2024.23.0",
|
|
4
4
|
"description": "Command-Line Interface (CLI) Core Module",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"author": "SAP SE",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"compare-versions": "6.1.1",
|
|
24
24
|
"config": "3.3.12",
|
|
25
25
|
"dotenv": "16.4.5",
|
|
26
|
-
"form-data": "4.0.
|
|
26
|
+
"form-data": "4.0.1",
|
|
27
27
|
"fs-extra": "11.2.0",
|
|
28
28
|
"https": "1.0.0",
|
|
29
29
|
"https-proxy-agent": "7.0.5",
|