@modern-js/create 2.65.1 → 2.65.3

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/dist/index.js +77 -44
  2. package/package.json +7 -7
package/dist/index.js CHANGED
@@ -2915,9 +2915,9 @@ var require_commander = __commonJS({
2915
2915
  }
2916
2916
  });
2917
2917
 
2918
- // ../../../node_modules/.pnpm/universalify@2.0.0/node_modules/universalify/index.js
2918
+ // ../../../node_modules/.pnpm/universalify@2.0.1/node_modules/universalify/index.js
2919
2919
  var require_universalify = __commonJS({
2920
- "../../../node_modules/.pnpm/universalify@2.0.0/node_modules/universalify/index.js"(exports) {
2920
+ "../../../node_modules/.pnpm/universalify@2.0.1/node_modules/universalify/index.js"(exports) {
2921
2921
  "use strict";
2922
2922
  exports.fromCallback = function(fn) {
2923
2923
  return Object.defineProperty(function(...args) {
@@ -2925,11 +2925,8 @@ var require_universalify = __commonJS({
2925
2925
  fn.apply(this, args);
2926
2926
  else {
2927
2927
  return new Promise((resolve, reject) => {
2928
- fn.call(
2929
- this,
2930
- ...args,
2931
- (err, res) => err != null ? reject(err) : resolve(res)
2932
- );
2928
+ args.push((err, res) => err != null ? reject(err) : resolve(res));
2929
+ fn.apply(this, args);
2933
2930
  });
2934
2931
  }
2935
2932
  }, "name", { value: fn.name });
@@ -2939,8 +2936,10 @@ var require_universalify = __commonJS({
2939
2936
  const cb = args[args.length - 1];
2940
2937
  if (typeof cb !== "function")
2941
2938
  return fn.apply(this, args);
2942
- else
2943
- fn.apply(this, args.slice(0, -1)).then((r) => cb(null, r), cb);
2939
+ else {
2940
+ args.pop();
2941
+ fn.apply(this, args).then((r) => cb(null, r), cb);
2942
+ }
2944
2943
  }, "name", { value: fn.name });
2945
2944
  };
2946
2945
  }
@@ -5162,6 +5161,37 @@ var require_ensure = __commonJS({
5162
5161
  }
5163
5162
  });
5164
5163
 
5164
+ // ../../../node_modules/.pnpm/universalify@2.0.0/node_modules/universalify/index.js
5165
+ var require_universalify2 = __commonJS({
5166
+ "../../../node_modules/.pnpm/universalify@2.0.0/node_modules/universalify/index.js"(exports) {
5167
+ "use strict";
5168
+ exports.fromCallback = function(fn) {
5169
+ return Object.defineProperty(function(...args) {
5170
+ if (typeof args[args.length - 1] === "function")
5171
+ fn.apply(this, args);
5172
+ else {
5173
+ return new Promise((resolve, reject) => {
5174
+ fn.call(
5175
+ this,
5176
+ ...args,
5177
+ (err, res) => err != null ? reject(err) : resolve(res)
5178
+ );
5179
+ });
5180
+ }
5181
+ }, "name", { value: fn.name });
5182
+ };
5183
+ exports.fromPromise = function(fn) {
5184
+ return Object.defineProperty(function(...args) {
5185
+ const cb = args[args.length - 1];
5186
+ if (typeof cb !== "function")
5187
+ return fn.apply(this, args);
5188
+ else
5189
+ fn.apply(this, args.slice(0, -1)).then((r) => cb(null, r), cb);
5190
+ }, "name", { value: fn.name });
5191
+ };
5192
+ }
5193
+ });
5194
+
5165
5195
  // ../../../node_modules/.pnpm/jsonfile@6.1.0/node_modules/jsonfile/utils.js
5166
5196
  var require_utils2 = __commonJS({
5167
5197
  "../../../node_modules/.pnpm/jsonfile@6.1.0/node_modules/jsonfile/utils.js"(exports, module2) {
@@ -5190,7 +5220,7 @@ var require_jsonfile = __commonJS({
5190
5220
  } catch (_) {
5191
5221
  _fs = require("fs");
5192
5222
  }
5193
- var universalify = require_universalify();
5223
+ var universalify = require_universalify2();
5194
5224
  var { stringify, stripBom } = require_utils2();
5195
5225
  function _readFile(_0) {
5196
5226
  return __async(this, arguments, function* (file, options = {}) {
@@ -41390,10 +41420,10 @@ var {
41390
41420
  var import_os = __toESM(require("os"));
41391
41421
  var import_path = __toESM(require("path"));
41392
41422
 
41393
- // ../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.5/node_modules/@modern-js/codesmith-utils/dist/esm/fs-extra.js
41423
+ // ../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.6/node_modules/@modern-js/codesmith-utils/dist/esm/fs-extra.js
41394
41424
  var import_fs_extra = __toESM(require_lib());
41395
41425
 
41396
- // ../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.5/node_modules/@modern-js/codesmith-utils/dist/esm/ora.js
41426
+ // ../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.6/node_modules/@modern-js/codesmith-utils/dist/esm/ora.js
41397
41427
  var import_ora = __toESM(require_ora());
41398
41428
 
41399
41429
  // ../../cli/plugin-i18n/dist/esm-node/index.js
@@ -41534,7 +41564,7 @@ function cleanCacheAction() {
41534
41564
  // src/createAction.ts
41535
41565
  var import_path10 = __toESM(require("path"));
41536
41566
 
41537
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.5/node_modules/@modern-js/codesmith/dist/esm-node/logger/constants.js
41567
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.6/node_modules/@modern-js/codesmith/dist/esm-node/logger/constants.js
41538
41568
  var LoggerLevel;
41539
41569
  (function(LoggerLevel2) {
41540
41570
  LoggerLevel2["Error"] = "error";
@@ -41546,10 +41576,10 @@ var LoggerLevel;
41546
41576
  LoggerLevel2["Timing"] = "timing";
41547
41577
  })(LoggerLevel || (LoggerLevel = {}));
41548
41578
 
41549
- // ../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.5/node_modules/@modern-js/codesmith-utils/dist/esm/chalk.js
41579
+ // ../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.6/node_modules/@modern-js/codesmith-utils/dist/esm/chalk.js
41550
41580
  var import_chalk = __toESM(require_source());
41551
41581
 
41552
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.5/node_modules/@modern-js/codesmith/dist/esm-node/logger/index.js
41582
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.6/node_modules/@modern-js/codesmith/dist/esm-node/logger/index.js
41553
41583
  var import_debug = __toESM(require_src());
41554
41584
  var Logger = class {
41555
41585
  info(...meta) {
@@ -41607,23 +41637,23 @@ var Logger = class {
41607
41637
  }
41608
41638
  };
41609
41639
 
41610
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.5/node_modules/@modern-js/codesmith/dist/esm-node/codesmith/index.js
41640
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.6/node_modules/@modern-js/codesmith/dist/esm-node/codesmith/index.js
41611
41641
  var import_path8 = __toESM(require("path"));
41612
41642
 
41613
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.5/node_modules/@modern-js/codesmith/dist/esm-node/generator/index.js
41643
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.6/node_modules/@modern-js/codesmith/dist/esm-node/generator/index.js
41614
41644
  var import_events2 = require("events");
41615
41645
  var import_path6 = __toESM(require("path"));
41616
41646
 
41617
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.5/node_modules/@modern-js/codesmith/dist/esm-node/materials/FsMaterial.js
41647
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.6/node_modules/@modern-js/codesmith/dist/esm-node/materials/FsMaterial.js
41618
41648
  var import_path3 = __toESM(require("path"));
41619
41649
 
41620
- // ../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.5/node_modules/@modern-js/codesmith-utils/dist/esm/glob.js
41650
+ // ../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.6/node_modules/@modern-js/codesmith-utils/dist/esm/glob.js
41621
41651
  var import_glob = __toESM(require_glob());
41622
41652
 
41623
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.5/node_modules/@modern-js/codesmith/dist/esm-node/materials/FsResource.js
41653
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.6/node_modules/@modern-js/codesmith/dist/esm-node/materials/FsResource.js
41624
41654
  var import_path2 = __toESM(require("path"));
41625
41655
 
41626
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.5/node_modules/@modern-js/codesmith/dist/esm-node/materials/constants.js
41656
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.6/node_modules/@modern-js/codesmith/dist/esm-node/materials/constants.js
41627
41657
  var IMAGE_EXT_LIST = [
41628
41658
  ".jpg",
41629
41659
  ".jpeg",
@@ -41637,7 +41667,7 @@ var IMAGE_EXT_LIST = [
41637
41667
  ".wmf"
41638
41668
  ];
41639
41669
 
41640
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.5/node_modules/@modern-js/codesmith/dist/esm-node/materials/FsResource.js
41670
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.6/node_modules/@modern-js/codesmith/dist/esm-node/materials/FsResource.js
41641
41671
  var FS_RESOURCE = "_codesmith_core_fs_resource";
41642
41672
  var FsResource = class {
41643
41673
  value() {
@@ -41662,7 +41692,7 @@ var FsResource = class {
41662
41692
  }
41663
41693
  };
41664
41694
 
41665
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.5/node_modules/@modern-js/codesmith/dist/esm-node/materials/FsMaterial.js
41695
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.6/node_modules/@modern-js/codesmith/dist/esm-node/materials/FsMaterial.js
41666
41696
  var promisifyGlob = (pattern, options) => new Promise((resolve, reject) => {
41667
41697
  (0, import_glob.default)(pattern, options, (err, files) => err === null ? resolve(files) : reject(err));
41668
41698
  });
@@ -41689,7 +41719,7 @@ var FsMaterial = class {
41689
41719
  }
41690
41720
  };
41691
41721
 
41692
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.5/node_modules/@modern-js/codesmith/dist/esm-node/utils/fsExists.js
41722
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.6/node_modules/@modern-js/codesmith/dist/esm-node/utils/fsExists.js
41693
41723
  function fsExists(path11) {
41694
41724
  return __async(this, null, function* () {
41695
41725
  try {
@@ -41701,7 +41731,7 @@ function fsExists(path11) {
41701
41731
  });
41702
41732
  }
41703
41733
 
41704
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.5/node_modules/@modern-js/codesmith/dist/esm-node/utils/nodeRequire.js
41734
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.6/node_modules/@modern-js/codesmith/dist/esm-node/utils/nodeRequire.js
41705
41735
  var nodeRequire = (path11) => {
41706
41736
  try {
41707
41737
  const module2 = __non_webpack_require__(path11);
@@ -41718,13 +41748,13 @@ var nodeRequire = (path11) => {
41718
41748
  }
41719
41749
  };
41720
41750
 
41721
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.5/node_modules/@modern-js/codesmith/dist/esm-node/utils/packageManager.js
41751
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.6/node_modules/@modern-js/codesmith/dist/esm-node/utils/packageManager.js
41722
41752
  var import_path4 = __toESM(require("path"));
41723
41753
 
41724
- // ../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.5/node_modules/@modern-js/codesmith-utils/dist/esm/execa.js
41754
+ // ../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.6/node_modules/@modern-js/codesmith-utils/dist/esm/execa.js
41725
41755
  var import_execa = __toESM(require_execa());
41726
41756
 
41727
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.5/node_modules/@modern-js/codesmith/dist/esm-node/utils/packageManager.js
41757
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.6/node_modules/@modern-js/codesmith/dist/esm-node/utils/packageManager.js
41728
41758
  function canUseYarn() {
41729
41759
  return __async(this, null, function* () {
41730
41760
  try {
@@ -41808,7 +41838,7 @@ function runInstall(targetDir, registryUrl, logger) {
41808
41838
  });
41809
41839
  }
41810
41840
 
41811
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.5/node_modules/@modern-js/codesmith/dist/esm-node/utils/timeoutPromise.js
41841
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.6/node_modules/@modern-js/codesmith/dist/esm-node/utils/timeoutPromise.js
41812
41842
  function timeoutPromise(promise, ms, reason = "Operation") {
41813
41843
  return __async(this, null, function* () {
41814
41844
  let timeoutId = null;
@@ -41832,14 +41862,14 @@ function timeoutPromise(promise, ms, reason = "Operation") {
41832
41862
  });
41833
41863
  }
41834
41864
 
41835
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.5/node_modules/@modern-js/codesmith/dist/esm-node/utils/downloadPackage.js
41865
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.6/node_modules/@modern-js/codesmith/dist/esm-node/utils/downloadPackage.js
41836
41866
  var import_os2 = __toESM(require("os"));
41837
41867
 
41838
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.5/node_modules/@modern-js/codesmith/dist/esm-node/constants.js
41868
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.6/node_modules/@modern-js/codesmith/dist/esm-node/constants.js
41839
41869
  var NPM_API_TIMEOUT = 3e4;
41840
41870
  var CATCHE_VALIDITY_PREIOD = 7 * 24 * 3600 * 1e3;
41841
41871
 
41842
- // ../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.5/node_modules/@modern-js/codesmith-utils/dist/esm/semver.js
41872
+ // ../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.6/node_modules/@modern-js/codesmith-utils/dist/esm/semver.js
41843
41873
  var import_semver = __toESM(require_semver2());
41844
41874
 
41845
41875
  // ../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/bind.js
@@ -45169,10 +45199,10 @@ var {
45169
45199
  mergeConfig: mergeConfig2
45170
45200
  } = axios_default;
45171
45201
 
45172
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.5/node_modules/@modern-js/codesmith/dist/esm-node/utils/downloadPackage.js
45202
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.6/node_modules/@modern-js/codesmith/dist/esm-node/utils/downloadPackage.js
45173
45203
  var import_tar = __toESM(require_tar());
45174
45204
 
45175
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.5/node_modules/@modern-js/codesmith/dist/esm-node/utils/getNpmRegistry.js
45205
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.6/node_modules/@modern-js/codesmith/dist/esm-node/utils/getNpmRegistry.js
45176
45206
  function getNpmRegistry() {
45177
45207
  return __async(this, null, function* () {
45178
45208
  const { stdout } = yield (0, import_execa.default)("npm", [
@@ -45184,7 +45214,7 @@ function getNpmRegistry() {
45184
45214
  });
45185
45215
  }
45186
45216
 
45187
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.5/node_modules/@modern-js/codesmith/dist/esm-node/utils/getNpmPackageInfo.js
45217
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.6/node_modules/@modern-js/codesmith/dist/esm-node/utils/getNpmPackageInfo.js
45188
45218
  var NpmPackageInfoCache = /* @__PURE__ */ new Map();
45189
45219
  function getNpmPackageInfoWithCommand(pkgName, pkgVersion, options) {
45190
45220
  return __async(this, null, function* () {
@@ -45222,6 +45252,9 @@ function getNpmPackageInfo(pkgName, pkgVersion, options) {
45222
45252
  let response;
45223
45253
  try {
45224
45254
  response = (yield timeoutPromise(axios_default.get(url2), NPM_API_TIMEOUT, `Get npm package info of '${pkgName}'`)).data;
45255
+ if (!response.version) {
45256
+ response = yield getNpmPackageInfoWithCommand(pkgName, pkgVersion, options);
45257
+ }
45225
45258
  } catch (e) {
45226
45259
  logger === null || logger === void 0 ? void 0 : logger.error(e);
45227
45260
  response = yield getNpmPackageInfoWithCommand(pkgName, pkgVersion, options);
@@ -45232,7 +45265,7 @@ function getNpmPackageInfo(pkgName, pkgVersion, options) {
45232
45265
  });
45233
45266
  }
45234
45267
 
45235
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.5/node_modules/@modern-js/codesmith/dist/esm-node/utils/getNpmTarballUrl.js
45268
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.6/node_modules/@modern-js/codesmith/dist/esm-node/utils/getNpmTarballUrl.js
45236
45269
  function getNpmTarballUrl(pkgName, pkgVersion, options) {
45237
45270
  return __async(this, null, function* () {
45238
45271
  const packageInfo = yield getNpmPackageInfo(pkgName, pkgVersion, options);
@@ -45240,7 +45273,7 @@ function getNpmTarballUrl(pkgName, pkgVersion, options) {
45240
45273
  });
45241
45274
  }
45242
45275
 
45243
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.5/node_modules/@modern-js/codesmith/dist/esm-node/utils/getNpmVersion.js
45276
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.6/node_modules/@modern-js/codesmith/dist/esm-node/utils/getNpmVersion.js
45244
45277
  function getNpmVersion(packageName, options) {
45245
45278
  return __async(this, null, function* () {
45246
45279
  const { version: version2 = "latest" } = options || {};
@@ -45249,7 +45282,7 @@ function getNpmVersion(packageName, options) {
45249
45282
  });
45250
45283
  }
45251
45284
 
45252
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.5/node_modules/@modern-js/codesmith/dist/esm-node/utils/downloadPackage.js
45285
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.6/node_modules/@modern-js/codesmith/dist/esm-node/utils/downloadPackage.js
45253
45286
  var GeneratorVersionMap = /* @__PURE__ */ new Map();
45254
45287
  function getGeneratorVersion(_0) {
45255
45288
  return __async(this, arguments, function* (pkgName, pkgVersion = "latest", options = {}) {
@@ -45385,7 +45418,7 @@ function downloadPackage(_0) {
45385
45418
  });
45386
45419
  }
45387
45420
 
45388
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.5/node_modules/@modern-js/codesmith/dist/esm-node/utils/getPackageInfo.js
45421
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.6/node_modules/@modern-js/codesmith/dist/esm-node/utils/getPackageInfo.js
45389
45422
  function getPackageInfo(packageName) {
45390
45423
  if (!packageName) {
45391
45424
  throw new Error("package is not exisit");
@@ -45409,7 +45442,7 @@ function getPackageInfo(packageName) {
45409
45442
  };
45410
45443
  }
45411
45444
 
45412
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.5/node_modules/@modern-js/codesmith/dist/esm-node/utils/getGeneratorDir.js
45445
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.6/node_modules/@modern-js/codesmith/dist/esm-node/utils/getGeneratorDir.js
45413
45446
  var import_path5 = __toESM(require("path"));
45414
45447
  var MaxTimes = 5;
45415
45448
  function getGeneratorDir(generator) {
@@ -45431,7 +45464,7 @@ function getGeneratorDir(generator) {
45431
45464
  });
45432
45465
  }
45433
45466
 
45434
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.5/node_modules/@modern-js/codesmith/dist/esm-node/generator/index.js
45467
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.6/node_modules/@modern-js/codesmith/dist/esm-node/generator/index.js
45435
45468
  var GeneratorCore = class {
45436
45469
  get lifeCycleMethod() {
45437
45470
  return {
@@ -45647,7 +45680,7 @@ check path: ${import_chalk.default.blue.underline(generator)} exist a package.js
45647
45680
  }
45648
45681
  };
45649
45682
 
45650
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.5/node_modules/@modern-js/codesmith/dist/esm-node/materials/index.js
45683
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.6/node_modules/@modern-js/codesmith/dist/esm-node/materials/index.js
45651
45684
  var import_path7 = __toESM(require("path"));
45652
45685
  var MaterialsManager = class {
45653
45686
  loadLocalGenerator(generator) {
@@ -45713,7 +45746,7 @@ var MaterialsManager = class {
45713
45746
  }
45714
45747
  };
45715
45748
 
45716
- // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.5/node_modules/@modern-js/codesmith/dist/esm-node/codesmith/index.js
45749
+ // ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.6/node_modules/@modern-js/codesmith/dist/esm-node/codesmith/index.js
45717
45750
  var CodeSmith = class {
45718
45751
  forge(_0) {
45719
45752
  return __async(this, arguments, function* ({ tasks, pwd }) {
@@ -45773,7 +45806,7 @@ var CodeSmith = class {
45773
45806
  };
45774
45807
 
45775
45808
  // package.json
45776
- var version = "2.65.1";
45809
+ var version = "2.65.3";
45777
45810
 
45778
45811
  // src/utils/index.ts
45779
45812
  var import_path9 = __toESM(require("path"));
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.65.1",
18
+ "version": "2.65.3",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/index.js",
@@ -37,18 +37,18 @@
37
37
  }
38
38
  },
39
39
  "devDependencies": {
40
- "@modern-js/codesmith": "2.6.5",
41
- "@modern-js/codesmith-utils": "2.6.5",
40
+ "@modern-js/codesmith": "2.6.6",
41
+ "@modern-js/codesmith-utils": "2.6.6",
42
42
  "@types/jest": "^29",
43
43
  "@types/node": "^14",
44
44
  "commander": "10.0.1",
45
45
  "jest": "^29",
46
46
  "ts-node": "^10.9.1",
47
47
  "typescript": "^5",
48
- "@modern-js/mwa-generator": "3.7.19",
49
- "@modern-js/plugin-i18n": "2.65.1",
50
- "@scripts/build": "2.65.1",
51
- "@scripts/jest-config": "2.65.1"
48
+ "@modern-js/mwa-generator": "3.7.21",
49
+ "@modern-js/plugin-i18n": "2.65.3",
50
+ "@scripts/build": "2.65.3",
51
+ "@scripts/jest-config": "2.65.3"
52
52
  },
53
53
  "publishConfig": {
54
54
  "registry": "https://registry.npmjs.org/",