@formatjs/cli 6.7.0 → 6.7.1

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 +1 -1
  2. package/package.json +2 -2
package/bin/formatjs CHANGED
@@ -231194,7 +231194,7 @@ sentences are not translator-friendly.`
231194
231194
  debug("Reading inFile:", cmdObj.inFile);
231195
231195
  const inFile = (0, import_fs_extra5.readFileSync)(cmdObj.inFile, "utf8");
231196
231196
  files.push(
231197
- ...inFile.split("\n").filter(Boolean).map((f) => (0, import_path4.resolve)(f))
231197
+ ...inFile.split(/\n|\s+/).filter(Boolean).map((f) => (0, import_path4.resolve)(f))
231198
231198
  );
231199
231199
  }
231200
231200
  debug("Files to extract:", files);
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@formatjs/cli",
3
3
  "description": "A CLI for formatjs.",
4
- "version": "6.7.0",
4
+ "version": "6.7.1",
5
5
  "license": "MIT",
6
6
  "author": "Linjie Ding <linjie@airtable.com>",
7
7
  "engines": {
8
8
  "node": ">= 16"
9
9
  },
10
10
  "devDependencies": {
11
- "@formatjs/cli-lib": "7.4.0"
11
+ "@formatjs/cli-lib": "7.4.1"
12
12
  },
13
13
  "peerDependencies": {
14
14
  "@glimmer/env": "^0.1.7",