@fkui/i18next-translate 6.18.0 → 6.19.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
@@ -3998,7 +3998,7 @@ requireLodash_clonedeep();
3998
3998
  * @param prefix - If set this is prefixed to all keys.
3999
3999
  */
4000
4000
  function flatten(src, destination, prefix = "") {
4001
- destination = destination || {};
4001
+ destination = destination ?? {};
4002
4002
  return Object.entries(src).reduce((result, [key, data]) => {
4003
4003
  const nestedKey = `${prefix}${key}`;
4004
4004
  if (typeof data === "string") {