@sap-ux/project-input-validator 0.1.0 → 0.1.2

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.
@@ -10,5 +10,5 @@
10
10
  "AbapInvalidAppNameLength": "Application name limited to 15 characters, entered {{length}}",
11
11
  "AbapInvalidAppName": "Application name needs to be prefixed with [{{prefix}}]",
12
12
  "CharactersForbiddenInAppName": "Only alphanumeric, underscore and slash characters are allowed",
13
- "InvalidAppNameMultipleReason": "Application name is invaid for multiple reasons:"
13
+ "InvalidAppNameMultipleReason": "Application name is invalid for multiple reasons:"
14
14
  }
@@ -105,7 +105,7 @@ exports.validateClient = validateClient;
105
105
  */
106
106
  function validateTransportRequestNumber(transportRequest, packageName) {
107
107
  const regex = /^[$LlTt]/;
108
- if (regex.test(packageName) && (transportRequest === null || transportRequest === void 0 ? void 0 : transportRequest.trim())) {
108
+ if (!regex.test(packageName) && !(transportRequest === null || transportRequest === void 0 ? void 0 : transportRequest.trim())) {
109
109
  return (0, i18n_1.t)('AbapTransportNumRequired');
110
110
  }
111
111
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-ux/project-input-validator",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Library to validate Fiori project input formats",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,7 +14,7 @@
14
14
  "private": false,
15
15
  "main": "dist/index.js",
16
16
  "dependencies": {
17
- "i18next": "20.3.2"
17
+ "i18next": "20.6.1"
18
18
  },
19
19
  "devDependencies": {},
20
20
  "files": [