@formatjs/cli 6.16.12 → 6.16.13

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/bin/formatjs CHANGED
@@ -9751,7 +9751,7 @@ var require_graceful_fs = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9751
9751
  }
9752
9752
  }));
9753
9753
  //#endregion
9754
- //#region node_modules/.aspect_rules_js/fs-extra@11.3.5/node_modules/fs-extra/lib/fs/index.js
9754
+ //#region node_modules/.aspect_rules_js/fs-extra@11.3.6/node_modules/fs-extra/lib/fs/index.js
9755
9755
  var require_fs = /* @__PURE__ */ __commonJSMin(((exports) => {
9756
9756
  const u = require_universalify().fromCallback;
9757
9757
  const fs = require_graceful_fs();
@@ -9859,7 +9859,7 @@ var require_fs = /* @__PURE__ */ __commonJSMin(((exports) => {
9859
9859
  else process.emitWarning("fs.realpath.native is not a function. Is fs being monkey-patched?", "Warning", "fs-extra-WARN0003");
9860
9860
  }));
9861
9861
  //#endregion
9862
- //#region node_modules/.aspect_rules_js/fs-extra@11.3.5/node_modules/fs-extra/lib/mkdirs/utils.js
9862
+ //#region node_modules/.aspect_rules_js/fs-extra@11.3.6/node_modules/fs-extra/lib/mkdirs/utils.js
9863
9863
  var require_utils$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9864
9864
  const path$12 = __require("path");
9865
9865
  module.exports.checkPath = function checkPath(pth) {
@@ -9873,7 +9873,7 @@ var require_utils$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9873
9873
  };
9874
9874
  }));
9875
9875
  //#endregion
9876
- //#region node_modules/.aspect_rules_js/fs-extra@11.3.5/node_modules/fs-extra/lib/mkdirs/make-dir.js
9876
+ //#region node_modules/.aspect_rules_js/fs-extra@11.3.6/node_modules/fs-extra/lib/mkdirs/make-dir.js
9877
9877
  var require_make_dir = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9878
9878
  const fs = require_fs();
9879
9879
  const { checkPath } = require_utils$1();
@@ -9901,7 +9901,7 @@ var require_make_dir = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9901
9901
  };
9902
9902
  }));
9903
9903
  //#endregion
9904
- //#region node_modules/.aspect_rules_js/fs-extra@11.3.5/node_modules/fs-extra/lib/mkdirs/index.js
9904
+ //#region node_modules/.aspect_rules_js/fs-extra@11.3.6/node_modules/fs-extra/lib/mkdirs/index.js
9905
9905
  var require_mkdirs = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9906
9906
  const u = require_universalify().fromPromise;
9907
9907
  const { makeDir: _makeDir, makeDirSync } = require_make_dir();
@@ -9916,7 +9916,7 @@ var require_mkdirs = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9916
9916
  };
9917
9917
  }));
9918
9918
  //#endregion
9919
- //#region node_modules/.aspect_rules_js/fs-extra@11.3.5/node_modules/fs-extra/lib/path-exists/index.js
9919
+ //#region node_modules/.aspect_rules_js/fs-extra@11.3.6/node_modules/fs-extra/lib/path-exists/index.js
9920
9920
  var require_path_exists = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9921
9921
  const u = require_universalify().fromPromise;
9922
9922
  const fs = require_fs();
@@ -9929,7 +9929,7 @@ var require_path_exists = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9929
9929
  };
9930
9930
  }));
9931
9931
  //#endregion
9932
- //#region node_modules/.aspect_rules_js/fs-extra@11.3.5/node_modules/fs-extra/lib/util/utimes.js
9932
+ //#region node_modules/.aspect_rules_js/fs-extra@11.3.6/node_modules/fs-extra/lib/util/utimes.js
9933
9933
  var require_utimes = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9934
9934
  const fs = require_fs();
9935
9935
  const u = require_universalify().fromPromise;
@@ -9971,7 +9971,7 @@ var require_utimes = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9971
9971
  };
9972
9972
  }));
9973
9973
  //#endregion
9974
- //#region node_modules/.aspect_rules_js/fs-extra@11.3.5/node_modules/fs-extra/lib/util/stat.js
9974
+ //#region node_modules/.aspect_rules_js/fs-extra@11.3.6/node_modules/fs-extra/lib/util/stat.js
9975
9975
  var require_stat = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9976
9976
  const fs = require_fs();
9977
9977
  const path$11 = __require("path");
@@ -10056,7 +10056,7 @@ var require_stat = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10056
10056
  try {
10057
10057
  destStat = await fs.stat(destParent, { bigint: true });
10058
10058
  } catch (err) {
10059
- if (err.code === "ENOENT") return;
10059
+ if (err.code === "ENOENT") return checkParentPaths(src, srcStat, destParent, funcName);
10060
10060
  throw err;
10061
10061
  }
10062
10062
  if (areIdentical(srcStat, destStat)) throw new Error(errMsg(src, dest, funcName));
@@ -10070,7 +10070,7 @@ var require_stat = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10070
10070
  try {
10071
10071
  destStat = fs.statSync(destParent, { bigint: true });
10072
10072
  } catch (err) {
10073
- if (err.code === "ENOENT") return;
10073
+ if (err.code === "ENOENT") return checkParentPathsSync(src, srcStat, destParent, funcName);
10074
10074
  throw err;
10075
10075
  }
10076
10076
  if (areIdentical(srcStat, destStat)) throw new Error(errMsg(src, dest, funcName));
@@ -10097,7 +10097,7 @@ var require_stat = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10097
10097
  };
10098
10098
  }));
10099
10099
  //#endregion
10100
- //#region node_modules/.aspect_rules_js/fs-extra@11.3.5/node_modules/fs-extra/lib/util/async.js
10100
+ //#region node_modules/.aspect_rules_js/fs-extra@11.3.6/node_modules/fs-extra/lib/util/async.js
10101
10101
  var require_async = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10102
10102
  async function asyncIteratorConcurrentProcess(iterator, fn) {
10103
10103
  const promises = [];
@@ -10109,7 +10109,7 @@ var require_async = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10109
10109
  module.exports = { asyncIteratorConcurrentProcess };
10110
10110
  }));
10111
10111
  //#endregion
10112
- //#region node_modules/.aspect_rules_js/fs-extra@11.3.5/node_modules/fs-extra/lib/copy/copy.js
10112
+ //#region node_modules/.aspect_rules_js/fs-extra@11.3.6/node_modules/fs-extra/lib/copy/copy.js
10113
10113
  var require_copy$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10114
10114
  const fs = require_fs();
10115
10115
  const path$10 = __require("path");
@@ -10200,7 +10200,7 @@ var require_copy$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10200
10200
  module.exports = copy;
10201
10201
  }));
10202
10202
  //#endregion
10203
- //#region node_modules/.aspect_rules_js/fs-extra@11.3.5/node_modules/fs-extra/lib/copy/copy-sync.js
10203
+ //#region node_modules/.aspect_rules_js/fs-extra@11.3.6/node_modules/fs-extra/lib/copy/copy-sync.js
10204
10204
  var require_copy_sync = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10205
10205
  const fs = require_graceful_fs();
10206
10206
  const path$9 = __require("path");
@@ -10313,7 +10313,7 @@ var require_copy_sync = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10313
10313
  module.exports = copySync;
10314
10314
  }));
10315
10315
  //#endregion
10316
- //#region node_modules/.aspect_rules_js/fs-extra@11.3.5/node_modules/fs-extra/lib/copy/index.js
10316
+ //#region node_modules/.aspect_rules_js/fs-extra@11.3.6/node_modules/fs-extra/lib/copy/index.js
10317
10317
  var require_copy = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10318
10318
  const u = require_universalify().fromPromise;
10319
10319
  module.exports = {
@@ -10322,7 +10322,7 @@ var require_copy = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10322
10322
  };
10323
10323
  }));
10324
10324
  //#endregion
10325
- //#region node_modules/.aspect_rules_js/fs-extra@11.3.5/node_modules/fs-extra/lib/remove/index.js
10325
+ //#region node_modules/.aspect_rules_js/fs-extra@11.3.6/node_modules/fs-extra/lib/remove/index.js
10326
10326
  var require_remove = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10327
10327
  const fs = require_graceful_fs();
10328
10328
  const u = require_universalify().fromCallback;
@@ -10344,7 +10344,7 @@ var require_remove = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10344
10344
  };
10345
10345
  }));
10346
10346
  //#endregion
10347
- //#region node_modules/.aspect_rules_js/fs-extra@11.3.5/node_modules/fs-extra/lib/empty/index.js
10347
+ //#region node_modules/.aspect_rules_js/fs-extra@11.3.6/node_modules/fs-extra/lib/empty/index.js
10348
10348
  var require_empty = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10349
10349
  const u = require_universalify().fromPromise;
10350
10350
  const fs = require_fs();
@@ -10380,7 +10380,7 @@ var require_empty = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10380
10380
  };
10381
10381
  }));
10382
10382
  //#endregion
10383
- //#region node_modules/.aspect_rules_js/fs-extra@11.3.5/node_modules/fs-extra/lib/ensure/file.js
10383
+ //#region node_modules/.aspect_rules_js/fs-extra@11.3.6/node_modules/fs-extra/lib/ensure/file.js
10384
10384
  var require_file = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10385
10385
  const u = require_universalify().fromPromise;
10386
10386
  const path$7 = __require("path");
@@ -10427,7 +10427,7 @@ var require_file = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10427
10427
  };
10428
10428
  }));
10429
10429
  //#endregion
10430
- //#region node_modules/.aspect_rules_js/fs-extra@11.3.5/node_modules/fs-extra/lib/ensure/link.js
10430
+ //#region node_modules/.aspect_rules_js/fs-extra@11.3.6/node_modules/fs-extra/lib/ensure/link.js
10431
10431
  var require_link = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10432
10432
  const u = require_universalify().fromPromise;
10433
10433
  const path$6 = __require("path");
@@ -10475,7 +10475,7 @@ var require_link = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10475
10475
  };
10476
10476
  }));
10477
10477
  //#endregion
10478
- //#region node_modules/.aspect_rules_js/fs-extra@11.3.5/node_modules/fs-extra/lib/ensure/symlink-paths.js
10478
+ //#region node_modules/.aspect_rules_js/fs-extra@11.3.6/node_modules/fs-extra/lib/ensure/symlink-paths.js
10479
10479
  var require_symlink_paths = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10480
10480
  const path$5 = __require("path");
10481
10481
  const fs = require_fs();
@@ -10558,7 +10558,7 @@ var require_symlink_paths = /* @__PURE__ */ __commonJSMin(((exports, module) =>
10558
10558
  };
10559
10559
  }));
10560
10560
  //#endregion
10561
- //#region node_modules/.aspect_rules_js/fs-extra@11.3.5/node_modules/fs-extra/lib/ensure/symlink-type.js
10561
+ //#region node_modules/.aspect_rules_js/fs-extra@11.3.6/node_modules/fs-extra/lib/ensure/symlink-type.js
10562
10562
  var require_symlink_type = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10563
10563
  const fs = require_fs();
10564
10564
  const u = require_universalify().fromPromise;
@@ -10588,7 +10588,7 @@ var require_symlink_type = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10588
10588
  };
10589
10589
  }));
10590
10590
  //#endregion
10591
- //#region node_modules/.aspect_rules_js/fs-extra@11.3.5/node_modules/fs-extra/lib/ensure/symlink.js
10591
+ //#region node_modules/.aspect_rules_js/fs-extra@11.3.6/node_modules/fs-extra/lib/ensure/symlink.js
10592
10592
  var require_symlink = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10593
10593
  const u = require_universalify().fromPromise;
10594
10594
  const path$4 = __require("path");
@@ -10659,7 +10659,7 @@ var require_symlink = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10659
10659
  };
10660
10660
  }));
10661
10661
  //#endregion
10662
- //#region node_modules/.aspect_rules_js/fs-extra@11.3.5/node_modules/fs-extra/lib/ensure/index.js
10662
+ //#region node_modules/.aspect_rules_js/fs-extra@11.3.6/node_modules/fs-extra/lib/ensure/index.js
10663
10663
  var require_ensure = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10664
10664
  const { createFile, createFileSync } = require_file();
10665
10665
  const { createLink, createLinkSync } = require_link();
@@ -10760,7 +10760,7 @@ var require_jsonfile$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10760
10760
  };
10761
10761
  }));
10762
10762
  //#endregion
10763
- //#region node_modules/.aspect_rules_js/fs-extra@11.3.5/node_modules/fs-extra/lib/json/jsonfile.js
10763
+ //#region node_modules/.aspect_rules_js/fs-extra@11.3.6/node_modules/fs-extra/lib/json/jsonfile.js
10764
10764
  var require_jsonfile = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10765
10765
  const jsonFile = require_jsonfile$1();
10766
10766
  module.exports = {
@@ -10771,7 +10771,7 @@ var require_jsonfile = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10771
10771
  };
10772
10772
  }));
10773
10773
  //#endregion
10774
- //#region node_modules/.aspect_rules_js/fs-extra@11.3.5/node_modules/fs-extra/lib/output-file/index.js
10774
+ //#region node_modules/.aspect_rules_js/fs-extra@11.3.6/node_modules/fs-extra/lib/output-file/index.js
10775
10775
  var require_output_file = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10776
10776
  const u = require_universalify().fromPromise;
10777
10777
  const fs = require_fs();
@@ -10794,7 +10794,7 @@ var require_output_file = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10794
10794
  };
10795
10795
  }));
10796
10796
  //#endregion
10797
- //#region node_modules/.aspect_rules_js/fs-extra@11.3.5/node_modules/fs-extra/lib/json/output-json.js
10797
+ //#region node_modules/.aspect_rules_js/fs-extra@11.3.6/node_modules/fs-extra/lib/json/output-json.js
10798
10798
  var require_output_json = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10799
10799
  const { stringify } = require_utils();
10800
10800
  const { outputFile } = require_output_file();
@@ -10804,7 +10804,7 @@ var require_output_json = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10804
10804
  module.exports = outputJson;
10805
10805
  }));
10806
10806
  //#endregion
10807
- //#region node_modules/.aspect_rules_js/fs-extra@11.3.5/node_modules/fs-extra/lib/json/output-json-sync.js
10807
+ //#region node_modules/.aspect_rules_js/fs-extra@11.3.6/node_modules/fs-extra/lib/json/output-json-sync.js
10808
10808
  var require_output_json_sync = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10809
10809
  const { stringify } = require_utils();
10810
10810
  const { outputFileSync } = require_output_file();
@@ -10814,7 +10814,7 @@ var require_output_json_sync = /* @__PURE__ */ __commonJSMin(((exports, module)
10814
10814
  module.exports = outputJsonSync;
10815
10815
  }));
10816
10816
  //#endregion
10817
- //#region node_modules/.aspect_rules_js/fs-extra@11.3.5/node_modules/fs-extra/lib/json/index.js
10817
+ //#region node_modules/.aspect_rules_js/fs-extra@11.3.6/node_modules/fs-extra/lib/json/index.js
10818
10818
  var require_json = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10819
10819
  const u = require_universalify().fromPromise;
10820
10820
  const jsonFile = require_jsonfile();
@@ -10829,7 +10829,7 @@ var require_json = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10829
10829
  module.exports = jsonFile;
10830
10830
  }));
10831
10831
  //#endregion
10832
- //#region node_modules/.aspect_rules_js/fs-extra@11.3.5/node_modules/fs-extra/lib/move/move.js
10832
+ //#region node_modules/.aspect_rules_js/fs-extra@11.3.6/node_modules/fs-extra/lib/move/move.js
10833
10833
  var require_move$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10834
10834
  const fs = require_fs();
10835
10835
  const path$2 = __require("path");
@@ -10869,7 +10869,7 @@ var require_move$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10869
10869
  module.exports = move;
10870
10870
  }));
10871
10871
  //#endregion
10872
- //#region node_modules/.aspect_rules_js/fs-extra@11.3.5/node_modules/fs-extra/lib/move/move-sync.js
10872
+ //#region node_modules/.aspect_rules_js/fs-extra@11.3.6/node_modules/fs-extra/lib/move/move-sync.js
10873
10873
  var require_move_sync = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10874
10874
  const fs = require_graceful_fs();
10875
10875
  const path$1 = __require("path");
@@ -10917,7 +10917,7 @@ var require_move_sync = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10917
10917
  module.exports = moveSync;
10918
10918
  }));
10919
10919
  //#endregion
10920
- //#region node_modules/.aspect_rules_js/fs-extra@11.3.5/node_modules/fs-extra/lib/move/index.js
10920
+ //#region node_modules/.aspect_rules_js/fs-extra@11.3.6/node_modules/fs-extra/lib/move/index.js
10921
10921
  var require_move = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10922
10922
  const u = require_universalify().fromPromise;
10923
10923
  module.exports = {
@@ -10926,7 +10926,7 @@ var require_move = /* @__PURE__ */ __commonJSMin(((exports, module) => {
10926
10926
  };
10927
10927
  }));
10928
10928
  //#endregion
10929
- //#region node_modules/.aspect_rules_js/fs-extra@11.3.5/node_modules/fs-extra/lib/esm.mjs
10929
+ //#region node_modules/.aspect_rules_js/fs-extra@11.3.6/node_modules/fs-extra/lib/esm.mjs
10930
10930
  var import_out = /* @__PURE__ */ __toESM(require_out());
10931
10931
  var import_loud_rejection = /* @__PURE__ */ __toESM(require_loud_rejection());
10932
10932
  var import_copy = /* @__PURE__ */ __toESM(require_copy(), 1);
@@ -11405,7 +11405,7 @@ var require_object_keys = /* @__PURE__ */ __commonJSMin(((exports, module) => {
11405
11405
  module.exports = keysShim;
11406
11406
  }));
11407
11407
  //#endregion
11408
- //#region node_modules/.aspect_rules_js/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js
11408
+ //#region node_modules/.aspect_rules_js/es-object-atoms@1.1.2/node_modules/es-object-atoms/index.js
11409
11409
  var require_es_object_atoms = /* @__PURE__ */ __commonJSMin(((exports, module) => {
11410
11410
  /** @type {import('.')} */
11411
11411
  module.exports = Object;
@@ -11725,7 +11725,7 @@ var require_get_proto = /* @__PURE__ */ __commonJSMin(((exports, module) => {
11725
11725
  } : null;
11726
11726
  }));
11727
11727
  //#endregion
11728
- //#region node_modules/.aspect_rules_js/hasown@2.0.2/node_modules/hasown/index.js
11728
+ //#region node_modules/.aspect_rules_js/hasown@2.0.4/node_modules/hasown/index.js
11729
11729
  var require_hasown = /* @__PURE__ */ __commonJSMin(((exports, module) => {
11730
11730
  var call = Function.prototype.call;
11731
11731
  var $hasOwn = Object.prototype.hasOwnProperty;
@@ -12143,7 +12143,7 @@ var require_applyBind = /* @__PURE__ */ __commonJSMin(((exports, module) => {
12143
12143
  };
12144
12144
  }));
12145
12145
  //#endregion
12146
- //#region node_modules/.aspect_rules_js/call-bind@1.0.8/node_modules/call-bind/index.js
12146
+ //#region node_modules/.aspect_rules_js/call-bind@1.0.9/node_modules/call-bind/index.js
12147
12147
  var require_call_bind = /* @__PURE__ */ __commonJSMin(((exports, module) => {
12148
12148
  var setFunctionLength = require_set_function_length();
12149
12149
  var $defineProperty = require_es_define_property();
@@ -12151,8 +12151,8 @@ var require_call_bind = /* @__PURE__ */ __commonJSMin(((exports, module) => {
12151
12151
  var applyBind = require_applyBind();
12152
12152
  module.exports = function callBind(originalFunction) {
12153
12153
  var func = callBindBasic(arguments);
12154
- var adjustedLength = originalFunction.length - (arguments.length - 1);
12155
- return setFunctionLength(func, 1 + (adjustedLength > 0 ? adjustedLength : 0), true);
12154
+ var adjustedLength = 1 + originalFunction.length - (arguments.length - 1);
12155
+ return setFunctionLength(func, adjustedLength > 0 ? adjustedLength : 0, true);
12156
12156
  };
12157
12157
  if ($defineProperty) $defineProperty(module.exports, "apply", { value: applyBind });
12158
12158
  else module.exports.apply = applyBind;
@@ -12552,7 +12552,7 @@ function parseDateTimeSkeleton(skeleton) {
12552
12552
  "long",
12553
12553
  "narrow",
12554
12554
  "short"
12555
- ][len - 4];
12555
+ ][len - 3];
12556
12556
  break;
12557
12557
  case "c":
12558
12558
  if (len < 4) throw new RangeError("`c..ccc` (weekday) patterns are not supported");
@@ -12561,7 +12561,7 @@ function parseDateTimeSkeleton(skeleton) {
12561
12561
  "long",
12562
12562
  "narrow",
12563
12563
  "short"
12564
- ][len - 4];
12564
+ ][len - 3];
12565
12565
  break;
12566
12566
  case "a":
12567
12567
  result.hour12 = true;