@modern-js/entry-generator 3.3.3 → 3.3.5

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 +7 -7
package/dist/index.js CHANGED
@@ -51406,7 +51406,7 @@ function _define_property2(obj, key, value) {
51406
51406
  return obj;
51407
51407
  }
51408
51408
 
51409
- // ../../../../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
51409
+ // ../../../../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
51410
51410
  var import_utils16 = require("@modern-js/utils");
51411
51411
  var import_lodash7 = require("@modern-js/utils/lodash");
51412
51412
  var import_comment_json = __toESM(require_src2());
@@ -52181,7 +52181,7 @@ function isEmpty(val, strict) {
52181
52181
  return false;
52182
52182
  }
52183
52183
 
52184
- // ../../../../node_modules/.pnpm/tslib@2.4.0/node_modules/tslib/tslib.es6.js
52184
+ // ../../../../node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.mjs
52185
52185
  var __assign = function() {
52186
52186
  __assign = Object.assign || function __assign11(t) {
52187
52187
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -55795,7 +55795,7 @@ var observe = function(target, observer, deep) {
55795
55795
  return addListener(target);
55796
55796
  };
55797
55797
 
55798
- // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/shared.js
55798
+ // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/shared.js
55799
55799
  var REVA_ACTIONS_KEY = Symbol.for("__REVA_ACTIONS");
55800
55800
  var SchemaNestedMap = {
55801
55801
  parent: true,
@@ -55982,7 +55982,7 @@ var patchStateFormSchema = function(targetState, pattern, compiled) {
55982
55982
  });
55983
55983
  };
55984
55984
 
55985
- // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/compiler.js
55985
+ // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/compiler.js
55986
55986
  var ExpRE = /^\s*\{\{([\s\S]*)\}\}\s*$/;
55987
55987
  var Registry = {
55988
55988
  silent: false,
@@ -60749,7 +60749,7 @@ function onFieldInit(pattern, callback) {
60749
60749
  }
60750
60750
  }
60751
60751
 
60752
- // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/transformer.js
60752
+ // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/transformer.js
60753
60753
  var __read7 = function(o, n) {
60754
60754
  var m = typeof Symbol === "function" && o[Symbol.iterator];
60755
60755
  if (!m)
@@ -60974,7 +60974,7 @@ var transformFieldProps = function(schema, options) {
60974
60974
  };
60975
60975
  };
60976
60976
 
60977
- // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/patches.js
60977
+ // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/patches.js
60978
60978
  var __assign9 = function() {
60979
60979
  __assign9 = Object.assign || function(t) {
60980
60980
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -61023,7 +61023,7 @@ var enablePolyfills = function(versions) {
61023
61023
  }
61024
61024
  };
61025
61025
 
61026
- // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/polyfills/SPECIFICATION_1_0.js
61026
+ // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/polyfills/SPECIFICATION_1_0.js
61027
61027
  var __assign10 = function() {
61028
61028
  __assign10 = Object.assign || function(t) {
61029
61029
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -61180,7 +61180,7 @@ var registerTypeDefaultComponents = function(maps) {
61180
61180
  Object.assign(TYPE_DEFAULT_COMPONENTS, maps);
61181
61181
  };
61182
61182
 
61183
- // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/schema.js
61183
+ // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/schema.js
61184
61184
  var Schema = (
61185
61185
  /** @class */
61186
61186
  function() {
@@ -61416,10 +61416,10 @@ var Schema = (
61416
61416
  }()
61417
61417
  );
61418
61418
 
61419
- // ../../../../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
61419
+ // ../../../../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
61420
61420
  var import_inquirer = __toESM(require_inquirer());
61421
61421
 
61422
- // ../../../../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
61422
+ // ../../../../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
61423
61423
  var import_lodash3 = require("@modern-js/utils/lodash");
61424
61424
  function validateSchema(schema) {
61425
61425
  const { type, properties } = schema;
@@ -61511,7 +61511,7 @@ function transformForm(schema, configValue = {}, validateMap, initValue) {
61511
61511
  return getQuestionFromSchema(schema, configValue, validateMap, initValue);
61512
61512
  }
61513
61513
 
61514
- // ../../../../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
61514
+ // ../../../../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
61515
61515
  var compileRule = (rule, scope) => {
61516
61516
  const state = Schema.compile(rule, {
61517
61517
  $self: {},
@@ -61615,7 +61615,7 @@ async function prompt(schema, configValue = {}, validateMap, initValue) {
61615
61615
  return answers;
61616
61616
  }
61617
61617
 
61618
- // ../../../../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
61618
+ // ../../../../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
61619
61619
  var CLIReader = class {
61620
61620
  getAnswers() {
61621
61621
  return this.answers;
@@ -61646,7 +61646,7 @@ var CLIReader = class {
61646
61646
  }
61647
61647
  };
61648
61648
 
61649
- // ../../../../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
61649
+ // ../../../../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
61650
61650
  var import_inquirer2 = __toESM(require_inquirer2());
61651
61651
 
61652
61652
  // ../../../../node_modules/.pnpm/@modern-js+plugin-i18n@2.37.2/node_modules/@modern-js/plugin-i18n/dist/esm-node/index.js
@@ -61712,7 +61712,7 @@ var I18n2 = class {
61712
61712
  }
61713
61713
  };
61714
61714
 
61715
- // ../../../../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
61715
+ // ../../../../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
61716
61716
  var ZH_LOCALE2 = {
61717
61717
  environment: {
61718
61718
  node_version: "请升级 Node 版本至 LIS",
@@ -61739,7 +61739,7 @@ var ZH_LOCALE2 = {
61739
61739
  }
61740
61740
  };
61741
61741
 
61742
- // ../../../../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
61742
+ // ../../../../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
61743
61743
  var EN_LOCALE2 = {
61744
61744
  environment: {
61745
61745
  node_version: "please upgrade node to lts version",
@@ -61766,14 +61766,14 @@ var EN_LOCALE2 = {
61766
61766
  }
61767
61767
  };
61768
61768
 
61769
- // ../../../../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
61769
+ // ../../../../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
61770
61770
  var i18n2 = new I18n2();
61771
61771
  var localeKeys2 = i18n2.init("zh", {
61772
61772
  zh: ZH_LOCALE2,
61773
61773
  en: EN_LOCALE2
61774
61774
  });
61775
61775
 
61776
- // ../../../../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
61776
+ // ../../../../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
61777
61777
  var import_lodash6 = require("@modern-js/utils/lodash");
61778
61778
  function transformInquirerSchema(questions, configValue = {}, validateMap = {}, initValue = {}) {
61779
61779
  for (const question of questions) {
@@ -61801,7 +61801,7 @@ function transformInquirerSchema(questions, configValue = {}, validateMap = {},
61801
61801
  return questions;
61802
61802
  }
61803
61803
 
61804
- // ../../../../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
61804
+ // ../../../../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
61805
61805
  var import_path5 = __toESM(require("path"));
61806
61806
  var import_utils15 = require("@modern-js/utils");
61807
61807
  var NODE_MAJOR_VERSION_MAP = {
@@ -61849,7 +61849,7 @@ async function checkUseNvm(cwd, logger) {
61849
61849
  }
61850
61850
  }
61851
61851
 
61852
- // ../../../../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
61852
+ // ../../../../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
61853
61853
  var AppAPI = class {
61854
61854
  async checkEnvironment(nodeVersion) {
61855
61855
  if (import_utils16.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.5",
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.44.0"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@modern-js/codesmith": "2.3.2",
@@ -33,11 +33,11 @@
33
33
  "@types/node": "^14",
34
34
  "jest": "^29",
35
35
  "typescript": "^5",
36
- "@modern-js/generator-common": "3.3.3",
37
- "@modern-js/generator-utils": "3.3.3",
38
- "@scripts/build": "2.42.2",
39
- "@modern-js/plugin-i18n": "2.42.2",
40
- "@scripts/jest-config": "2.42.2"
36
+ "@modern-js/generator-common": "3.3.5",
37
+ "@modern-js/generator-utils": "3.3.5",
38
+ "@modern-js/plugin-i18n": "2.44.0",
39
+ "@scripts/build": "2.44.0",
40
+ "@scripts/jest-config": "2.44.0"
41
41
  },
42
42
  "sideEffects": false,
43
43
  "publishConfig": {