@sap-ux/inquirer-common 1.0.25 → 1.0.28

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.
Files changed (2) hide show
  1. package/dist/i18n.js +2 -10
  2. package/package.json +11 -11
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.25",
4
+ "version": "1.0.28",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -27,24 +27,24 @@
27
27
  "chalk": "5.6.2",
28
28
  "figures": "3.2.0",
29
29
  "fuzzy": "0.1.3",
30
- "i18next": "25.10.10",
30
+ "i18next": "26.3.6",
31
31
  "lodash": "4.18.1",
32
32
  "os-name": "4.0.1",
33
- "semver": "7.8.4",
34
- "@sap-ux/btp-utils": "2.0.5",
35
- "@sap-ux/fiori-generator-shared": "1.2.2",
36
- "@sap-ux/telemetry": "1.0.20",
37
- "@sap-ux/guided-answers-helper": "1.0.1",
33
+ "semver": "7.8.5",
34
+ "@sap-ux/btp-utils": "2.0.6",
38
35
  "@sap-ux/feature-toggle": "1.0.5",
36
+ "@sap-ux/fiori-generator-shared": "1.2.5",
37
+ "@sap-ux/guided-answers-helper": "1.0.1",
38
+ "@sap-ux/telemetry": "1.0.23",
39
39
  "@sap-ux/logger": "1.0.3",
40
- "@sap-ux/project-access": "2.1.8",
41
- "@sap-ux/odata-service-writer": "1.0.14",
42
- "@sap-ux/ui5-info": "1.0.5"
40
+ "@sap-ux/project-access": "2.1.9",
41
+ "@sap-ux/odata-service-writer": "1.0.16",
42
+ "@sap-ux/ui5-info": "1.0.6"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@jest/globals": "30.4.1",
46
46
  "@sap-ux/vocabularies-types": "0.15.0",
47
- "@sap-devx/yeoman-ui-types": "1.25.0",
47
+ "@sap-devx/yeoman-ui-types": "1.25.1",
48
48
  "@types/inquirer": "8.2.6",
49
49
  "@types/semver": "7.7.1",
50
50
  "@types/lodash": "4.17.24",