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