@esposter/shared 1.39.0 → 1.40.0

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/index.d.ts CHANGED
@@ -64,8 +64,9 @@ declare const exhaustiveGuard: (value: never) => never;
64
64
 
65
65
  declare const NIL = "00000000-0000-0000-0000-000000000000";
66
66
  declare const UUIDV4_REGEX: RegExp;
67
+ declare const UUIDV4_SEARCH_REGEX: RegExp;
67
68
 
68
69
  declare const uuidValidateV4: (uuid: string) => boolean;
69
70
 
70
- export { ID_SEPARATOR, InvalidOperationError, NIL, NotFoundError, NotInitializedError, Operation, UUIDV4_REGEX, capitalize, exhaustiveGuard, isPlainObject, mergeObjectsStrict, parseXmlString, parseXmlValue, toKebabCase, uuidValidateV4 };
71
+ export { ID_SEPARATOR, InvalidOperationError, NIL, NotFoundError, NotInitializedError, Operation, UUIDV4_REGEX, UUIDV4_SEARCH_REGEX, capitalize, exhaustiveGuard, isPlainObject, mergeObjectsStrict, parseXmlString, parseXmlValue, toKebabCase, uuidValidateV4 };
71
72
  export type { CamelToKebab, ExcludeFunctionProperties, FunctionProperties, KebabToCamel, MergeObjectsStrict, SkipFirst, TakeFirst, TupleSlice, TupleSplit, TupleSplitHead, TupleSplitTail };
package/dist/index.js CHANGED
@@ -63596,7 +63596,8 @@ const exhaustiveGuard = (value) => {
63596
63596
 
63597
63597
  const NIL = "00000000-0000-0000-0000-000000000000";
63598
63598
  const UUIDV4_REGEX = /^[0-9A-F]{8}-[0-9A-F]{4}-[4][0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i;
63599
+ const UUIDV4_SEARCH_REGEX = /[0-9A-F]{8}-[0-9A-F]{4}-[4][0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}/i;
63599
63600
 
63600
63601
  const uuidValidateV4 = (uuid) => UUIDV4_REGEX.test(uuid);
63601
63602
 
63602
- export { ID_SEPARATOR, InvalidOperationError, NIL, NotFoundError, NotInitializedError, Operation, UUIDV4_REGEX, capitalize, exhaustiveGuard, isPlainObject, mergeObjectsStrict, parseXmlString, parseXmlValue, toKebabCase, uuidValidateV4 };
63603
+ export { ID_SEPARATOR, InvalidOperationError, NIL, NotFoundError, NotInitializedError, Operation, UUIDV4_REGEX, UUIDV4_SEARCH_REGEX, capitalize, exhaustiveGuard, isPlainObject, mergeObjectsStrict, parseXmlString, parseXmlValue, toKebabCase, uuidValidateV4 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esposter/shared",
3
- "version": "1.39.0",
3
+ "version": "1.40.0",
4
4
  "description": "A library that contains shared typescript code.",
5
5
  "type": "module",
6
6
  "homepage": "https://github.com/Esposter/Esposter#readme",
@@ -30,9 +30,9 @@
30
30
  "xml2js": "^0.6.2"
31
31
  },
32
32
  "devDependencies": {
33
- "@esposter/configuration": "1.39.0",
33
+ "@esposter/configuration": "1.40.0",
34
34
  "@types/data-urls": "^3.0.4",
35
35
  "@types/xml2js": "^0.4.14"
36
36
  },
37
- "gitHead": "529b78210cc3c3ae4ee99d1e2ba2d18d05e2e2ce"
37
+ "gitHead": "c668906c5b6b1ad0db7cc7b3b0f1f5194d9025e3"
38
38
  }