@contrail/util 1.0.36 → 1.0.37

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.
@@ -23,7 +23,7 @@ class AppUtil {
23
23
  throw new BadIdentifierException(exports.IDENTIFIER_VALIDATION_INCORRECT_PATTERN);
24
24
  }
25
25
  for (const appVersionPart of identifierParts.slice(1)) {
26
- const badCharacters = appVersionPart.match(/[^@_\-\/A-Za-z0-9]/g);
26
+ const badCharacters = appVersionPart.match(/[^@_.\-\/A-Za-z0-9]/g);
27
27
  if (badCharacters === null || badCharacters === void 0 ? void 0 : badCharacters.length) {
28
28
  throw new BadIdentifierException(exports.IDENTIFIER_VALIDATION_BAD_CHARACTERS);
29
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrail/util",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "description": "General javascript utilities",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",