@modern-js/upgrade-generator 3.7.31 → 3.7.33

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 +50 -44
  2. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -76029,13 +76029,13 @@ __export(src_exports, {
76029
76029
  module.exports = __toCommonJS(src_exports);
76030
76030
  var import_path5 = __toESM(require("path"));
76031
76031
 
76032
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/fs-extra.js
76032
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.8/node_modules/@modern-js/codesmith-utils/dist/esm/fs-extra.js
76033
76033
  var import_fs_extra = __toESM(require_lib());
76034
76034
 
76035
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/materials/FsResource.js
76035
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith/dist/esm-node/materials/FsResource.js
76036
76036
  var FS_RESOURCE = "_codesmith_core_fs_resource";
76037
76037
 
76038
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/fsExists.js
76038
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith/dist/esm-node/utils/fsExists.js
76039
76039
  function fsExists(path5) {
76040
76040
  return __async(this, null, function* () {
76041
76041
  try {
@@ -76047,10 +76047,10 @@ function fsExists(path5) {
76047
76047
  });
76048
76048
  }
76049
76049
 
76050
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/execa.js
76050
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.8/node_modules/@modern-js/codesmith-utils/dist/esm/execa.js
76051
76051
  var import_execa = __toESM(require_execa());
76052
76052
 
76053
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/timeoutPromise.js
76053
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith/dist/esm-node/utils/timeoutPromise.js
76054
76054
  function timeoutPromise(promise, ms, reason = "Operation") {
76055
76055
  return __async(this, null, function* () {
76056
76056
  let timeoutId = null;
@@ -76074,11 +76074,11 @@ function timeoutPromise(promise, ms, reason = "Operation") {
76074
76074
  });
76075
76075
  }
76076
76076
 
76077
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/constants.js
76077
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith/dist/esm-node/constants.js
76078
76078
  var NPM_API_TIMEOUT = 3e4;
76079
76079
  var CATCHE_VALIDITY_PREIOD = 7 * 24 * 3600 * 1e3;
76080
76080
 
76081
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/semver.js
76081
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.8/node_modules/@modern-js/codesmith-utils/dist/esm/semver.js
76082
76082
  var import_semver = __toESM(require_semver2());
76083
76083
 
76084
76084
  // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/bind.js
@@ -79420,19 +79420,24 @@ var {
79420
79420
  mergeConfig: mergeConfig2
79421
79421
  } = axios_default;
79422
79422
 
79423
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/getNpmRegistry.js
79423
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith/dist/esm-node/utils/getNpmRegistry.js
79424
79424
  function getNpmRegistry() {
79425
79425
  return __async(this, null, function* () {
79426
- const { stdout } = yield (0, import_execa.default)("npm", [
79427
- "config",
79428
- "get",
79429
- "registry"
79430
- ]);
79431
- return stdout.replace(/\/$/, "") || "https://registry.npmjs.org";
79426
+ try {
79427
+ const { stdout } = yield (0, import_execa.default)("npm", [
79428
+ "config",
79429
+ "get",
79430
+ "registry",
79431
+ "--no-workspaces"
79432
+ ]);
79433
+ return stdout.replace(/\/$/, "") || "https://registry.npmjs.org";
79434
+ } catch (error) {
79435
+ return "https://registry.npmjs.org";
79436
+ }
79432
79437
  });
79433
79438
  }
79434
79439
 
79435
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/getNpmPackageInfo.js
79440
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith/dist/esm-node/utils/getNpmPackageInfo.js
79436
79441
  var NpmPackageInfoCache = /* @__PURE__ */ new Map();
79437
79442
  function getNpmPackageInfoWithCommand(pkgName, pkgVersion, options) {
79438
79443
  return __async(this, null, function* () {
@@ -79483,7 +79488,7 @@ function getNpmPackageInfo(pkgName, pkgVersion, options) {
79483
79488
  });
79484
79489
  }
79485
79490
 
79486
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/getNpmVersion.js
79491
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith/dist/esm-node/utils/getNpmVersion.js
79487
79492
  function getNpmVersion(packageName, options) {
79488
79493
  return __async(this, null, function* () {
79489
79494
  const { version = "latest" } = options || {};
@@ -79492,7 +79497,7 @@ function getNpmVersion(packageName, options) {
79492
79497
  });
79493
79498
  }
79494
79499
 
79495
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/getPackageInfo.js
79500
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith/dist/esm-node/utils/getPackageInfo.js
79496
79501
  function getPackageInfo(packageName) {
79497
79502
  if (!packageName) {
79498
79503
  throw new Error("package is not exisit");
@@ -79516,16 +79521,16 @@ function getPackageInfo(packageName) {
79516
79521
  };
79517
79522
  }
79518
79523
 
79519
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/ora.js
79524
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.8/node_modules/@modern-js/codesmith-utils/dist/esm/ora.js
79520
79525
  var import_ora = __toESM(require_ora());
79521
79526
 
79522
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-ejs/dist/esm-node/utils/renderString.js
79527
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.6.8_@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith-api-ejs/dist/esm-node/utils/renderString.js
79523
79528
  var import_ejs = __toESM(require_ejs());
79524
79529
  function renderString(template, fullData) {
79525
79530
  return import_ejs.default.render(template, fullData) || "";
79526
79531
  }
79527
79532
 
79528
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-ejs/dist/esm-node/index.js
79533
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.6.8_@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith-api-ejs/dist/esm-node/index.js
79529
79534
  var EjsAPI = class {
79530
79535
  renderTemplate(_0, _1) {
79531
79536
  return __async(this, arguments, function* (templateResource, target, parameters = {}) {
@@ -79560,7 +79565,7 @@ var EjsAPI = class {
79560
79565
  }
79561
79566
  };
79562
79567
 
79563
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-fs/dist/esm-node/index.js
79568
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.6.8_@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith-api-fs/dist/esm-node/index.js
79564
79569
  var import_path = __toESM(require("path"));
79565
79570
  var FsAPI = class {
79566
79571
  renderFile(resource, target) {
@@ -79589,7 +79594,7 @@ var FsAPI = class {
79589
79594
  }
79590
79595
  };
79591
79596
 
79592
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-git/dist/esm-node/utils/index.js
79597
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.6.8_@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith-api-git/dist/esm-node/utils/index.js
79593
79598
  function canUseGit() {
79594
79599
  return __async(this, null, function* () {
79595
79600
  try {
@@ -79673,7 +79678,7 @@ function gitCommit(cwd, commitMessage) {
79673
79678
  });
79674
79679
  }
79675
79680
 
79676
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-git/dist/esm-node/index.js
79681
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.6.8_@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith-api-git/dist/esm-node/index.js
79677
79682
  var GitAPI = class {
79678
79683
  isInGitRepo() {
79679
79684
  return __async(this, arguments, function* (cwd = this.generatorCore.outputPath) {
@@ -79729,7 +79734,7 @@ var GitAPI = class {
79729
79734
  }
79730
79735
  };
79731
79736
 
79732
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-handlebars/dist/esm-node/utils/renderString.js
79737
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.6.8_@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith-api-handlebars/dist/esm-node/utils/renderString.js
79733
79738
  var import_handlebars = __toESM(require_lib2());
79734
79739
  function renderString2(template, fullData, registers) {
79735
79740
  const helpers = __spreadValues({}, registers === null || registers === void 0 ? void 0 : registers.helpers);
@@ -79739,7 +79744,7 @@ function renderString2(template, fullData, registers) {
79739
79744
  return import_handlebars.default.compile(template)(fullData) || "";
79740
79745
  }
79741
79746
 
79742
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-handlebars/dist/esm-node/index.js
79747
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.6.8_@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith-api-handlebars/dist/esm-node/index.js
79743
79748
  var HandlebarsAPI = class {
79744
79749
  registerHelp(helpers) {
79745
79750
  return __async(this, null, function* () {
@@ -79896,7 +79901,7 @@ function __generator(thisArg, body) {
79896
79901
  }
79897
79902
  }
79898
79903
 
79899
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/npm.js
79904
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.8/node_modules/@modern-js/codesmith-utils/dist/esm/npm.js
79900
79905
  var import_execa5 = __toESM(require_execa());
79901
79906
  function canUseNvm() {
79902
79907
  return _canUseNvm.apply(this, arguments);
@@ -80117,7 +80122,7 @@ function _canUsePnpm() {
80117
80122
  return _canUsePnpm.apply(this, arguments);
80118
80123
  }
80119
80124
 
80120
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-npm/dist/esm-node/utils/install.js
80125
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.6.8_@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith-api-npm/dist/esm-node/utils/install.js
80121
80126
  function execaWithStreamLog(command, args, options) {
80122
80127
  const promise = (0, import_execa.default)(command, args, __spreadProps(__spreadValues({}, options), {
80123
80128
  stdin: "inherit",
@@ -80218,7 +80223,7 @@ function pnpmInstall(_0) {
80218
80223
  });
80219
80224
  }
80220
80225
 
80221
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-npm/dist/esm-node/index.js
80226
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.6.8_@modern-js+codesmith@2.6.8/node_modules/@modern-js/codesmith-api-npm/dist/esm-node/index.js
80222
80227
  var NpmAPI = class {
80223
80228
  npmInstall({ cwd, registryUrl, ignoreScripts }) {
80224
80229
  return npmInstall({
@@ -80246,7 +80251,7 @@ var NpmAPI = class {
80246
80251
  }
80247
80252
  };
80248
80253
 
80249
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/lodash.js
80254
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.8/node_modules/@modern-js/codesmith-utils/dist/esm/lodash.js
80250
80255
  var import_lodash = __toESM(require_lodash());
80251
80256
  var import_lodash2 = __toESM(require_lodash2());
80252
80257
  var import_lodash3 = __toESM(require_lodash3());
@@ -86013,10 +86018,10 @@ var Schema = (
86013
86018
  }()
86014
86019
  );
86015
86020
 
86016
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/prompt.js
86021
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/prompt.js
86017
86022
  var import_inquirer = __toESM(require_inquirer());
86018
86023
 
86019
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/transform.js
86024
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/transform.js
86020
86025
  function validateSchema(schema) {
86021
86026
  const { type, properties } = schema;
86022
86027
  if (type !== "object") {
@@ -86103,7 +86108,7 @@ function transformForm(schema, configValue = {}, validateMap, initValue) {
86103
86108
  return getQuestionFromSchema(schema, configValue, validateMap, initValue);
86104
86109
  }
86105
86110
 
86106
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/prompt.js
86111
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/prompt.js
86107
86112
  var compileRule = (rule, scope) => {
86108
86113
  const state = Schema.compile(rule, __spreadValues({
86109
86114
  $self: {},
@@ -86203,7 +86208,7 @@ function prompt(_0) {
86203
86208
  });
86204
86209
  }
86205
86210
 
86206
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/inquirer.js
86211
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/inquirer.js
86207
86212
  var CLIReader = class {
86208
86213
  getAnswers() {
86209
86214
  return this.answers;
@@ -86231,7 +86236,7 @@ var CLIReader = class {
86231
86236
  }
86232
86237
  };
86233
86238
 
86234
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/index.js
86239
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/index.js
86235
86240
  var import_comment_json = __toESM(require_src3());
86236
86241
  var import_inquirer2 = __toESM(require_inquirer2());
86237
86242
 
@@ -86298,7 +86303,7 @@ var I18n = class {
86298
86303
  }
86299
86304
  };
86300
86305
 
86301
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/en.js
86306
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/en.js
86302
86307
  var EN_LOCALE = {
86303
86308
  environment: {
86304
86309
  node_version: "The version of Node.js is too low. Please upgrade to the LTS version: https://nodejs.org/",
@@ -86325,7 +86330,7 @@ var EN_LOCALE = {
86325
86330
  }
86326
86331
  };
86327
86332
 
86328
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/zh.js
86333
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/zh.js
86329
86334
  var ZH_LOCALE = {
86330
86335
  environment: {
86331
86336
  node_version: "Node.js 版本太低,请升级至 LTS 版本: https://nodejs.org/",
@@ -86352,14 +86357,14 @@ var ZH_LOCALE = {
86352
86357
  }
86353
86358
  };
86354
86359
 
86355
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/index.js
86360
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/index.js
86356
86361
  var i18n = new I18n();
86357
86362
  var localeKeys = i18n.init("zh", {
86358
86363
  zh: ZH_LOCALE,
86359
86364
  en: EN_LOCALE
86360
86365
  });
86361
86366
 
86362
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/utils/checkUseNvm.js
86367
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/utils/checkUseNvm.js
86363
86368
  var import_path3 = __toESM(require("path"));
86364
86369
  var NODE_MAJOR_VERSION_MAP = {
86365
86370
  "lts/*": 18,
@@ -86370,7 +86375,8 @@ var NODE_MAJOR_VERSION_MAP = {
86370
86375
  "lts/erbium": 12,
86371
86376
  "lts/fermium": 14,
86372
86377
  "lts/gallium": 16,
86373
- "lts/hydrogen": 18
86378
+ "lts/hydrogen": 18,
86379
+ "lts/jod": 22
86374
86380
  };
86375
86381
  function getNoteVersion() {
86376
86382
  return __async(this, null, function* () {
@@ -86410,7 +86416,7 @@ function checkUseNvm(cwd, logger) {
86410
86416
  });
86411
86417
  }
86412
86418
 
86413
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/utils/transform.js
86419
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/utils/transform.js
86414
86420
  function transformInquirerSchema(questions, configValue = {}, validateMap = {}, initValue = {}) {
86415
86421
  for (const question of questions) {
86416
86422
  question.default = initValue[question.name] || question.default;
@@ -86437,7 +86443,7 @@ function transformInquirerSchema(questions, configValue = {}, validateMap = {},
86437
86443
  return questions;
86438
86444
  }
86439
86445
 
86440
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/index.js
86446
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.8_@modern-js+codesmith@2.6.8_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/index.js
86441
86447
  var AppAPI = class {
86442
86448
  checkEnvironment(nodeVersion) {
86443
86449
  return __async(this, null, function* () {
@@ -86680,11 +86686,11 @@ var AppAPI = class {
86680
86686
  }
86681
86687
  };
86682
86688
 
86683
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.6.7/node_modules/@modern-js/codesmith-api-json/dist/esm-node/index.js
86689
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.6.8/node_modules/@modern-js/codesmith-api-json/dist/esm-node/index.js
86684
86690
  var import_comment_json2 = __toESM(require_src3());
86685
86691
  var declarationUpdate = __toESM(require_dist());
86686
86692
 
86687
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.6.7/node_modules/@modern-js/codesmith-api-json/dist/esm-node/utils/index.js
86693
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.6.8/node_modules/@modern-js/codesmith-api-json/dist/esm-node/utils/index.js
86688
86694
  function editJson(generatorCore, resource, getNewJsonValue) {
86689
86695
  return __async(this, null, function* () {
86690
86696
  const originJsonValue = yield resource.value();
@@ -86699,7 +86705,7 @@ function editJson(generatorCore, resource, getNewJsonValue) {
86699
86705
  });
86700
86706
  }
86701
86707
 
86702
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.6.7/node_modules/@modern-js/codesmith-api-json/dist/esm-node/index.js
86708
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.6.8/node_modules/@modern-js/codesmith-api-json/dist/esm-node/index.js
86703
86709
  var JsonAPI = class {
86704
86710
  get(resource) {
86705
86711
  return __async(this, null, function* () {
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "3.7.31",
18
+ "version": "3.7.33",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "main": "./dist/index.js",
21
21
  "files": [
@@ -23,17 +23,17 @@
23
23
  "/dist/index.js"
24
24
  ],
25
25
  "devDependencies": {
26
- "@modern-js/codesmith": "2.6.7",
27
- "@modern-js/codesmith-api-app": "2.6.7",
28
- "@modern-js/codesmith-api-json": "2.6.7",
29
- "@modern-js/codesmith-utils": "2.6.7",
26
+ "@modern-js/codesmith": "2.6.8",
27
+ "@modern-js/codesmith-api-app": "2.6.8",
28
+ "@modern-js/codesmith-api-json": "2.6.8",
29
+ "@modern-js/codesmith-utils": "2.6.8",
30
30
  "@types/jest": "^29",
31
31
  "@types/node": "^14",
32
32
  "jest": "^29",
33
33
  "typescript": "^5",
34
- "@modern-js/generator-common": "3.7.31",
35
- "@modern-js/generator-utils": "3.7.31",
36
- "@modern-js/plugin-i18n": "2.67.6",
34
+ "@modern-js/generator-common": "3.7.33",
35
+ "@modern-js/generator-utils": "3.7.33",
36
+ "@modern-js/plugin-i18n": "2.67.8",
37
37
  "@scripts/build": "2.66.0",
38
38
  "@scripts/jest-config": "2.66.0"
39
39
  },