@sap/adp-abap
Advanced tools
Comparing version 1.1.56 to 1.1.57
@@ -16,5 +16,7 @@ export declare const Messages: { | ||
ERROR_COULD_NOT_RETRIEVE_MANIFEST: (error: string) => string; | ||
ERROR_UNSUPPORTED_ADP_PROJECT_SYSTEM: string; | ||
ERROR_WRONG_CLOUD_PACKAGE: string; | ||
ERROR_UNSUPPORTED_ADP_PROJECT_SYSTEM_INTERNAL: string; | ||
ERROR_UNSUPPORTED_ADP_PROJECT_SYSTEM_EXTERNAL: string; | ||
ERROR_CLOUD_PROJECT_FOR_INTERNAL_USERS: string; | ||
}; |
@@ -20,6 +20,8 @@ "use strict"; | ||
ERROR_COULD_NOT_RETRIEVE_MANIFEST: (error) => `\nCould not retrieve manifest.\n${error}`, | ||
ERROR_UNSUPPORTED_ADP_PROJECT_SYSTEM: "The system that you have selected is not an ABAP On-Premise system. Adaptation Project is supported only on such systems, so please choose ABAP On-Premise", | ||
ERROR_WRONG_CLOUD_PACKAGE: "The package entered is not meant to be used for cloud deployments. You should either use cloud package or go back to the project type selection and select On Premise", | ||
ERROR_UNSUPPORTED_ADP_PROJECT_SYSTEM_INTERNAL: "The system that you have selected cannot be detected to be of type OnPremise. You should select system of this type in order to continue with the generation of the project.", | ||
ERROR_UNSUPPORTED_ADP_PROJECT_SYSTEM_EXTERNAL: "The system that you have selected cannot be detected to be of type OnPremise or of type CloudReady. You should select system of either of both types in order to continue with the generation of the project." | ||
ERROR_UNSUPPORTED_ADP_PROJECT_SYSTEM_EXTERNAL: "The system that you have selected cannot be detected to be of type OnPremise or of type CloudReady. You should select system of either of both types in order to continue with the generation of the project.", | ||
ERROR_CLOUD_PROJECT_FOR_INTERNAL_USERS: "You have selected system that does not support OnPremise adaptation projects. Please select such system." | ||
}; | ||
//# sourceMappingURL=messages.js.map |
@@ -9,5 +9,2 @@ "use strict"; | ||
} | ||
if (/^.*[)]\s*[(].*/gm.test(paramString)) { | ||
return genericErrorMessage("Missing '&' separator between parameters"); | ||
} | ||
try { | ||
@@ -24,3 +21,4 @@ parseFlpParamString(paramString); | ||
let result = {}; | ||
const params = paramString | ||
const modifiedParamString = addMissingAmpersands(paramString); | ||
const params = modifiedParamString | ||
.split("&") | ||
@@ -55,2 +53,5 @@ .map((el) => el.trim()) | ||
exports.parseFlpParamString = parseFlpParamString; | ||
function addMissingAmpersands(value) { | ||
return value.replace(/[)]\s*[(]/gm, ")&("); | ||
} | ||
function checkForDuplicatedKeys(parameters, key) { | ||
@@ -134,6 +135,6 @@ Object.keys(parameters).forEach((existingKey) => { | ||
shouldRenameTo: (paramString) => { | ||
if (paramString.startsWith(">")) { | ||
if (paramString.trim().startsWith(">")) { | ||
return { | ||
shouldApply: true, | ||
value: paramString.replace(/>/g, "") | ||
value: paramString.trim().replace(/>/g, "") | ||
}; | ||
@@ -140,0 +141,0 @@ } |
@@ -8,2 +8,3 @@ import { SubCredentials, Project as ProjectData } from "../models/Types"; | ||
static getManifestInboundIds(manifest: ManifestModel): string[]; | ||
static getAdpProjectManifestInboundId(projectPath: string): string | undefined; | ||
} |
@@ -55,2 +55,8 @@ "use strict"; | ||
} | ||
static getAdpProjectManifestInboundId(projectPath) { | ||
var _a; | ||
const manifest = adp_common_1.Workspace.getManifestAppdescrFile(projectPath); | ||
const change = manifest.content.find((change) => change.changeType === "appdescr_app_removeAllInboundsExceptOne"); | ||
return (_a = change === null || change === void 0 ? void 0 : change.content) === null || _a === void 0 ? void 0 : _a.inboundId; | ||
} | ||
} | ||
@@ -57,0 +63,0 @@ exports.default = Manifest; |
{ | ||
"name": "@sap/adp-abap", | ||
"version": "1.1.56", | ||
"version": "1.1.57", | ||
"description": "abap service for all yeoman generators", | ||
"license": "SEE LICENSE IN LICENSE.txt", | ||
"main": "dist/index.js", | ||
@@ -12,3 +13,2 @@ "types": "dist/index.d.js", | ||
"author": "SAP SE", | ||
"license": "ISC", | ||
"files": [ | ||
@@ -42,3 +42,3 @@ "dist" | ||
"@sap/cf-tools": "0.8.1", | ||
"@sap/adp-common": "1.1.56", | ||
"@sap/adp-common": "1.1.57", | ||
"@sap-ux/store": "0.3.11", | ||
@@ -45,0 +45,0 @@ "axios": "1.6.3", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
121374
64
1552
1
1
80
+ Added@sap/adp-common@1.1.57(transitive)
- Removed@sap/adp-common@1.1.56(transitive)
Updated@sap/adp-common@1.1.57