fix: replace all dot chars during normalization (#580)

* fix: replace all dot chars during normalization

* changelog
This commit is contained in:
John-Michael Faircloth
2025-05-14 09:32:58 -05:00
committed by GitHub
parent 4d5899dd0e
commit b022ecdb0c
4 changed files with 26 additions and 2 deletions
+1 -1
View File
@@ -19309,7 +19309,7 @@ module.exports = {
*/
function normalizeOutputKey(dataKey, upperCase = false) {
let outputKey = dataKey
.replace(".", "__")
.replaceAll(".", "__")
.replace(new RegExp("-", "g"), "")
.replace(/[^\p{L}\p{N}_-]/gu, "");
if (upperCase) {