@sap-ux/inquirer-common 1.0.24 → 1.0.26
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/dist/i18n.js +2 -10
- package/package.json +6 -6
package/dist/i18n.js
CHANGED
|
@@ -17,17 +17,9 @@ export async function initI18nInquirerCommon() {
|
|
|
17
17
|
lng: 'en',
|
|
18
18
|
fallbackLng: 'en',
|
|
19
19
|
missingInterpolationHandler: () => '',
|
|
20
|
-
interpolation: {
|
|
21
|
-
format: function (value, format) {
|
|
22
|
-
// If we have a value add a colon before outputting
|
|
23
|
-
if (format === 'addMsgWithColonFormatter') {
|
|
24
|
-
return value ? `: ${value}` : '';
|
|
25
|
-
}
|
|
26
|
-
return value;
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
showSupportNotice: false
|
|
20
|
+
interpolation: { escapeValue: false }
|
|
30
21
|
});
|
|
22
|
+
i18n.services.formatter?.add('addMsgWithColonFormatter', (value) => (value ? `: ${value}` : ''));
|
|
31
23
|
addi18nResourceBundle();
|
|
32
24
|
}
|
|
33
25
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ux/inquirer-common",
|
|
3
3
|
"description": "Commonly used shared functionality and types to support inquirer modules.",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.26",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -27,18 +27,18 @@
|
|
|
27
27
|
"chalk": "5.6.2",
|
|
28
28
|
"figures": "3.2.0",
|
|
29
29
|
"fuzzy": "0.1.3",
|
|
30
|
-
"i18next": "
|
|
30
|
+
"i18next": "26.3.6",
|
|
31
31
|
"lodash": "4.18.1",
|
|
32
32
|
"os-name": "4.0.1",
|
|
33
33
|
"semver": "7.8.4",
|
|
34
34
|
"@sap-ux/btp-utils": "2.0.5",
|
|
35
35
|
"@sap-ux/feature-toggle": "1.0.5",
|
|
36
|
-
"@sap-ux/fiori-generator-shared": "1.2.
|
|
36
|
+
"@sap-ux/fiori-generator-shared": "1.2.3",
|
|
37
37
|
"@sap-ux/guided-answers-helper": "1.0.1",
|
|
38
|
-
"@sap-ux/telemetry": "1.0.
|
|
38
|
+
"@sap-ux/telemetry": "1.0.21",
|
|
39
39
|
"@sap-ux/logger": "1.0.3",
|
|
40
|
-
"@sap-ux/project-access": "2.1.
|
|
41
|
-
"@sap-ux/odata-service-writer": "1.0.
|
|
40
|
+
"@sap-ux/project-access": "2.1.8",
|
|
41
|
+
"@sap-ux/odata-service-writer": "1.0.15",
|
|
42
42
|
"@sap-ux/ui5-info": "1.0.5"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|