@formatjs/cli 6.4.1 → 6.4.2

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.
Files changed (2) hide show
  1. package/bin/formatjs +2 -1
  2. package/package.json +2 -2
package/bin/formatjs CHANGED
@@ -228027,8 +228027,9 @@ function flatten(obj, parentKey = "") {
228027
228027
  const key = parentKey ? `${parentKey}.${k}` : k;
228028
228028
  if (typeof value === "object") {
228029
228029
  Object.assign(all, flatten(value, key));
228030
+ } else {
228031
+ all[key] = value;
228030
228032
  }
228031
- all[key] = value;
228032
228033
  return all;
228033
228034
  }, {});
228034
228035
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formatjs/cli",
3
- "version": "6.4.1",
3
+ "version": "6.4.2",
4
4
  "description": "A CLI for formatjs.",
5
5
  "keywords": [
6
6
  "intl",
@@ -33,7 +33,7 @@
33
33
  "url": "https://github.com/formatjs/formatjs/issues"
34
34
  },
35
35
  "devDependencies": {
36
- "@formatjs/cli-lib": "7.1.1"
36
+ "@formatjs/cli-lib": "7.1.2"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "@glimmer/env": "^0.1.7",