@win2win/shared 1.0.277 → 1.0.278
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.
|
@@ -150,7 +150,7 @@ function formatContactName(contact) {
|
|
|
150
150
|
return capitalize([nombre, apellido, apellido2]
|
|
151
151
|
.map((v) => String(v || "").trim())
|
|
152
152
|
.filter(Boolean)
|
|
153
|
-
.join(" "), true).trim();
|
|
153
|
+
.join(" "), true, { ignoreStopWords: true }).trim();
|
|
154
154
|
}
|
|
155
155
|
const upperSnakeCase = (text) => (0, lodash_1.snakeCase)(text).toUpperCase();
|
|
156
156
|
exports.upperSnakeCase = upperSnakeCase;
|
package/package.json
CHANGED