@fkui/i18next-translate 6.37.0 → 6.39.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/esm/index.js CHANGED
@@ -2037,7 +2037,7 @@ function createScreenReaderWrapper(options) {
2037
2037
  wrapper.id = "fkui-alert-screen-reader";
2038
2038
  wrapper.className = "sr-only";
2039
2039
  updateProperties();
2040
- document.body.appendChild(wrapper);
2040
+ document.body.append(wrapper);
2041
2041
  }
2042
2042
  }
2043
2043
  /**
@@ -2254,7 +2254,7 @@ const deepFind = (obj, path, keySeparator = '.') => {
2254
2254
  }
2255
2255
  return current;
2256
2256
  };
2257
- const getCleanedCode = code => code?.replace('_', '-');
2257
+ const getCleanedCode = code => code?.replace(/_/g, '-');
2258
2258
 
2259
2259
  const consoleLogger = {
2260
2260
  type: 'logger',