@modern-js/ssg-generator 3.3.3 → 3.3.4

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 +19 -19
  2. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -51065,7 +51065,7 @@ function _define_property(obj, key, value) {
51065
51065
  return obj;
51066
51066
  }
51067
51067
 
51068
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.0.4/node_modules/@modern-js/codesmith-api-app/dist/esm-node/index.js
51068
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/index.js
51069
51069
  var import_utils13 = require("@modern-js/utils");
51070
51070
  var import_lodash5 = require("@modern-js/utils/lodash");
51071
51071
  var import_comment_json = __toESM(require_src2());
@@ -51840,7 +51840,7 @@ function isEmpty(val, strict) {
51840
51840
  return false;
51841
51841
  }
51842
51842
 
51843
- // ../../../../node_modules/.pnpm/tslib@2.4.0/node_modules/tslib/tslib.es6.js
51843
+ // ../../../../node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.mjs
51844
51844
  var __assign = function() {
51845
51845
  __assign = Object.assign || function __assign11(t) {
51846
51846
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -55454,7 +55454,7 @@ var observe = function(target, observer, deep) {
55454
55454
  return addListener(target);
55455
55455
  };
55456
55456
 
55457
- // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/shared.js
55457
+ // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/shared.js
55458
55458
  var REVA_ACTIONS_KEY = Symbol.for("__REVA_ACTIONS");
55459
55459
  var SchemaNestedMap = {
55460
55460
  parent: true,
@@ -55641,7 +55641,7 @@ var patchStateFormSchema = function(targetState, pattern, compiled) {
55641
55641
  });
55642
55642
  };
55643
55643
 
55644
- // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/compiler.js
55644
+ // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/compiler.js
55645
55645
  var ExpRE = /^\s*\{\{([\s\S]*)\}\}\s*$/;
55646
55646
  var Registry = {
55647
55647
  silent: false,
@@ -60408,7 +60408,7 @@ function onFieldInit(pattern, callback) {
60408
60408
  }
60409
60409
  }
60410
60410
 
60411
- // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/transformer.js
60411
+ // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/transformer.js
60412
60412
  var __read7 = function(o, n) {
60413
60413
  var m = typeof Symbol === "function" && o[Symbol.iterator];
60414
60414
  if (!m)
@@ -60633,7 +60633,7 @@ var transformFieldProps = function(schema, options) {
60633
60633
  };
60634
60634
  };
60635
60635
 
60636
- // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/patches.js
60636
+ // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/patches.js
60637
60637
  var __assign9 = function() {
60638
60638
  __assign9 = Object.assign || function(t) {
60639
60639
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -60682,7 +60682,7 @@ var enablePolyfills = function(versions) {
60682
60682
  }
60683
60683
  };
60684
60684
 
60685
- // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/polyfills/SPECIFICATION_1_0.js
60685
+ // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/polyfills/SPECIFICATION_1_0.js
60686
60686
  var __assign10 = function() {
60687
60687
  __assign10 = Object.assign || function(t) {
60688
60688
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -60839,7 +60839,7 @@ var registerTypeDefaultComponents = function(maps) {
60839
60839
  Object.assign(TYPE_DEFAULT_COMPONENTS, maps);
60840
60840
  };
60841
60841
 
60842
- // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/schema.js
60842
+ // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/schema.js
60843
60843
  var Schema = (
60844
60844
  /** @class */
60845
60845
  function() {
@@ -61075,10 +61075,10 @@ var Schema = (
61075
61075
  }()
61076
61076
  );
61077
61077
 
61078
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.0.4/node_modules/@modern-js/codesmith-formily/dist/esm-node/prompt.js
61078
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.3.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/prompt.js
61079
61079
  var import_inquirer = __toESM(require_inquirer());
61080
61080
 
61081
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.0.4/node_modules/@modern-js/codesmith-formily/dist/esm-node/transform.js
61081
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.3.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/transform.js
61082
61082
  var import_lodash = require("@modern-js/utils/lodash");
61083
61083
  function validateSchema(schema) {
61084
61084
  const { type, properties } = schema;
@@ -61170,7 +61170,7 @@ function transformForm(schema, configValue = {}, validateMap, initValue) {
61170
61170
  return getQuestionFromSchema(schema, configValue, validateMap, initValue);
61171
61171
  }
61172
61172
 
61173
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.0.4/node_modules/@modern-js/codesmith-formily/dist/esm-node/prompt.js
61173
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.3.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/prompt.js
61174
61174
  var compileRule = (rule, scope) => {
61175
61175
  const state = Schema.compile(rule, {
61176
61176
  $self: {},
@@ -61274,7 +61274,7 @@ async function prompt(schema, configValue = {}, validateMap, initValue) {
61274
61274
  return answers;
61275
61275
  }
61276
61276
 
61277
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.0.4/node_modules/@modern-js/codesmith-formily/dist/esm-node/inquirer.js
61277
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.3.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/inquirer.js
61278
61278
  var CLIReader = class {
61279
61279
  getAnswers() {
61280
61280
  return this.answers;
@@ -61305,7 +61305,7 @@ var CLIReader = class {
61305
61305
  }
61306
61306
  };
61307
61307
 
61308
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.0.4/node_modules/@modern-js/codesmith-api-app/dist/esm-node/index.js
61308
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/index.js
61309
61309
  var import_inquirer2 = __toESM(require_inquirer2());
61310
61310
 
61311
61311
  // ../../../../node_modules/.pnpm/@modern-js+plugin-i18n@2.37.2/node_modules/@modern-js/plugin-i18n/dist/esm-node/index.js
@@ -61371,7 +61371,7 @@ var I18n = class {
61371
61371
  }
61372
61372
  };
61373
61373
 
61374
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.0.4/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/zh.js
61374
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/zh.js
61375
61375
  var ZH_LOCALE = {
61376
61376
  environment: {
61377
61377
  node_version: "请升级 Node 版本至 LIS",
@@ -61398,7 +61398,7 @@ var ZH_LOCALE = {
61398
61398
  }
61399
61399
  };
61400
61400
 
61401
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.0.4/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/en.js
61401
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/en.js
61402
61402
  var EN_LOCALE = {
61403
61403
  environment: {
61404
61404
  node_version: "please upgrade node to lts version",
@@ -61425,14 +61425,14 @@ var EN_LOCALE = {
61425
61425
  }
61426
61426
  };
61427
61427
 
61428
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.0.4/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/index.js
61428
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/index.js
61429
61429
  var i18n = new I18n();
61430
61430
  var localeKeys = i18n.init("zh", {
61431
61431
  zh: ZH_LOCALE,
61432
61432
  en: EN_LOCALE
61433
61433
  });
61434
61434
 
61435
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.0.4/node_modules/@modern-js/codesmith-api-app/dist/esm-node/utils/transform.js
61435
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/utils/transform.js
61436
61436
  var import_lodash4 = require("@modern-js/utils/lodash");
61437
61437
  function transformInquirerSchema(questions, configValue = {}, validateMap = {}, initValue = {}) {
61438
61438
  for (const question of questions) {
@@ -61460,7 +61460,7 @@ function transformInquirerSchema(questions, configValue = {}, validateMap = {},
61460
61460
  return questions;
61461
61461
  }
61462
61462
 
61463
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.0.4/node_modules/@modern-js/codesmith-api-app/dist/esm-node/utils/checkUseNvm.js
61463
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/utils/checkUseNvm.js
61464
61464
  var import_path4 = __toESM(require("path"));
61465
61465
  var import_utils12 = require("@modern-js/utils");
61466
61466
  var NODE_MAJOR_VERSION_MAP = {
@@ -61508,7 +61508,7 @@ async function checkUseNvm(cwd, logger) {
61508
61508
  }
61509
61509
  }
61510
61510
 
61511
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.0.4/node_modules/@modern-js/codesmith-api-app/dist/esm-node/index.js
61511
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.3.2_@modern-js+codesmith@2.3.2_typescript@5.3.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/index.js
61512
61512
  var AppAPI = class {
61513
61513
  async checkEnvironment(nodeVersion) {
61514
61514
  if (import_utils13.semver.lt(process.versions.node, nodeVersion || "12.22.12")) {
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "3.3.3",
18
+ "version": "3.3.4",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "main": "./dist/index.js",
21
21
  "files": [
@@ -23,7 +23,7 @@
23
23
  "/dist/index.js"
24
24
  ],
25
25
  "dependencies": {
26
- "@modern-js/utils": "2.42.2"
26
+ "@modern-js/utils": "2.43.0"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@modern-js/codesmith": "2.3.2",
@@ -32,12 +32,12 @@
32
32
  "@types/node": "^14",
33
33
  "jest": "^29",
34
34
  "typescript": "^5",
35
- "@modern-js/dependence-generator": "3.3.3",
36
- "@modern-js/generator-common": "3.3.3",
37
- "@modern-js/generator-utils": "3.3.3",
38
- "@scripts/build": "2.42.2",
39
- "@scripts/jest-config": "2.42.2",
40
- "@modern-js/plugin-i18n": "2.42.2"
35
+ "@modern-js/dependence-generator": "3.3.4",
36
+ "@modern-js/generator-common": "3.3.4",
37
+ "@modern-js/generator-utils": "3.3.4",
38
+ "@modern-js/plugin-i18n": "2.43.0",
39
+ "@scripts/build": "2.43.0",
40
+ "@scripts/jest-config": "2.43.0"
41
41
  },
42
42
  "sideEffects": false,
43
43
  "publishConfig": {