@formatjs/cli 5.1.7 → 5.1.10

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 -2
  2. package/package.json +2 -2
package/bin/formatjs CHANGED
@@ -159147,10 +159147,10 @@ var init_extract = __esm({
159147
159147
  // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/cli-lib/lib_esnext/src/pseudo_locale.js
159148
159148
  function generateXXLS(msg) {
159149
159149
  const ast = typeof msg === "string" ? (0, import_icu_messageformat_parser2.parse)(msg) : msg;
159150
- const lastChunk = ast.pop();
159150
+ const lastChunk = ast[ast.length - 1];
159151
159151
  if (lastChunk && (0, import_icu_messageformat_parser2.isLiteralElement)(lastChunk)) {
159152
159152
  lastChunk.value += "SSSSSSSSSSSSSSSSSSSSSSSSS";
159153
- return [...ast, lastChunk];
159153
+ return ast;
159154
159154
  }
159155
159155
  return [...ast, { type: import_icu_messageformat_parser2.TYPE.literal, value: "SSSSSSSSSSSSSSSSSSSSSSSSS" }];
159156
159156
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formatjs/cli",
3
- "version": "5.1.7",
3
+ "version": "5.1.10",
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": "5.1.7"
36
+ "@formatjs/cli-lib": "5.1.10"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "@vue/compiler-sfc": "^3.2.34"