@itentialopensource/adapter-utils 5.3.4 → 5.3.5

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/CHANGELOG.md CHANGED
@@ -1,4 +1,14 @@
1
1
 
2
+ ## 5.3.5 [01-31-2024]
3
+
4
+ * Handle integers in extractKeysFromBraces
5
+
6
+ Closes ADAPT-3243
7
+
8
+ See merge request itentialopensource/adapter-utils!284
9
+
10
+ ---
11
+
2
12
  ## 5.3.4 [01-10-2024]
3
13
 
4
14
  * fix forward networks path issue
@@ -362,6 +362,9 @@ function getDataFromSources(loopField, sources, props) {
362
362
  * @return {Array} Array containing 0 or more keys found in input String
363
363
  */
364
364
  function extractKeysFromBraces(value) {
365
+ if (Number.isInteger(value)) {
366
+ value = value.toString();
367
+ }
365
368
  const regex = /\{(.*?)\}/g;
366
369
  const matches = value.match(regex);
367
370
  if (matches) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-utils",
3
- "version": "5.3.4",
3
+ "version": "5.3.5",
4
4
  "description": "Itential Adapter Utility Libraries",
5
5
  "scripts": {
6
6
  "postinstall": "node utils/setup.js",
Binary file