@intelligo.ai/object-to-schema
Advanced tools
Comparing version 2.2.13 to 2.2.14
@@ -11,3 +11,3 @@ "use strict"; | ||
var aa = { | ||
"companyName": "asd uk corp. (usa,) ,ny LLPa (asdasd)", | ||
"companyName": "Acceptance, Waiver & Consent(AWC)", | ||
"evictionId": 1836030810467466240.0, | ||
@@ -14,0 +14,0 @@ "bridge": null, |
@@ -41,3 +41,4 @@ "use strict"; | ||
} | ||
var capitalizeWordPattern = new RegExp("^".concat(cleanedWord, "$"), 'i'); | ||
var cleanedWordIWithEscapeChars = cleanedWord.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); | ||
var capitalizeWordPattern = new RegExp("^".concat(cleanedWordIWithEscapeChars, "$"), 'i'); | ||
if (makeCapitalizedWords.some(function (w) { return capitalizeWordPattern.test(w); })) { | ||
@@ -44,0 +45,0 @@ return word.toUpperCase(); |
{ | ||
"name": "@intelligo.ai/object-to-schema", | ||
"version": "2.2.13", | ||
"version": "2.2.14", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
100534
1431