@modern-js/bff-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 +7 -7
package/dist/index.js CHANGED
@@ -53416,7 +53416,7 @@ function _define_property2(obj, key, value) {
53416
53416
  return obj;
53417
53417
  }
53418
53418
 
53419
- // ../../../../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
53419
+ // ../../../../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
53420
53420
  var import_utils18 = require("@modern-js/utils");
53421
53421
  var import_lodash7 = require("@modern-js/utils/lodash");
53422
53422
  var import_comment_json = __toESM(require_src2());
@@ -54191,7 +54191,7 @@ function isEmpty(val, strict) {
54191
54191
  return false;
54192
54192
  }
54193
54193
 
54194
- // ../../../../node_modules/.pnpm/tslib@2.4.0/node_modules/tslib/tslib.es6.js
54194
+ // ../../../../node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.mjs
54195
54195
  var __assign = function() {
54196
54196
  __assign = Object.assign || function __assign11(t) {
54197
54197
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -57805,7 +57805,7 @@ var observe = function(target, observer, deep) {
57805
57805
  return addListener(target);
57806
57806
  };
57807
57807
 
57808
- // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/shared.js
57808
+ // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/shared.js
57809
57809
  var REVA_ACTIONS_KEY = Symbol.for("__REVA_ACTIONS");
57810
57810
  var SchemaNestedMap = {
57811
57811
  parent: true,
@@ -57992,7 +57992,7 @@ var patchStateFormSchema = function(targetState, pattern, compiled) {
57992
57992
  });
57993
57993
  };
57994
57994
 
57995
- // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/compiler.js
57995
+ // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/compiler.js
57996
57996
  var ExpRE = /^\s*\{\{([\s\S]*)\}\}\s*$/;
57997
57997
  var Registry = {
57998
57998
  silent: false,
@@ -62759,7 +62759,7 @@ function onFieldInit(pattern, callback) {
62759
62759
  }
62760
62760
  }
62761
62761
 
62762
- // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/transformer.js
62762
+ // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/transformer.js
62763
62763
  var __read7 = function(o, n) {
62764
62764
  var m = typeof Symbol === "function" && o[Symbol.iterator];
62765
62765
  if (!m)
@@ -62984,7 +62984,7 @@ var transformFieldProps = function(schema, options) {
62984
62984
  };
62985
62985
  };
62986
62986
 
62987
- // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/patches.js
62987
+ // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/patches.js
62988
62988
  var __assign9 = function() {
62989
62989
  __assign9 = Object.assign || function(t) {
62990
62990
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -63033,7 +63033,7 @@ var enablePolyfills = function(versions) {
63033
63033
  }
63034
63034
  };
63035
63035
 
63036
- // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/polyfills/SPECIFICATION_1_0.js
63036
+ // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/polyfills/SPECIFICATION_1_0.js
63037
63037
  var __assign10 = function() {
63038
63038
  __assign10 = Object.assign || function(t) {
63039
63039
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -63190,7 +63190,7 @@ var registerTypeDefaultComponents = function(maps) {
63190
63190
  Object.assign(TYPE_DEFAULT_COMPONENTS, maps);
63191
63191
  };
63192
63192
 
63193
- // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.0.4/node_modules/@formily/json-schema/esm/schema.js
63193
+ // ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.3.3/node_modules/@formily/json-schema/esm/schema.js
63194
63194
  var Schema = (
63195
63195
  /** @class */
63196
63196
  function() {
@@ -63426,10 +63426,10 @@ var Schema = (
63426
63426
  }()
63427
63427
  );
63428
63428
 
63429
- // ../../../../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
63429
+ // ../../../../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
63430
63430
  var import_inquirer = __toESM(require_inquirer());
63431
63431
 
63432
- // ../../../../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
63432
+ // ../../../../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
63433
63433
  var import_lodash3 = require("@modern-js/utils/lodash");
63434
63434
  function validateSchema(schema) {
63435
63435
  const { type, properties } = schema;
@@ -63521,7 +63521,7 @@ function transformForm(schema, configValue = {}, validateMap, initValue) {
63521
63521
  return getQuestionFromSchema(schema, configValue, validateMap, initValue);
63522
63522
  }
63523
63523
 
63524
- // ../../../../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
63524
+ // ../../../../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
63525
63525
  var compileRule = (rule, scope) => {
63526
63526
  const state = Schema.compile(rule, {
63527
63527
  $self: {},
@@ -63625,7 +63625,7 @@ async function prompt(schema, configValue = {}, validateMap, initValue) {
63625
63625
  return answers;
63626
63626
  }
63627
63627
 
63628
- // ../../../../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
63628
+ // ../../../../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
63629
63629
  var CLIReader = class {
63630
63630
  getAnswers() {
63631
63631
  return this.answers;
@@ -63656,7 +63656,7 @@ var CLIReader = class {
63656
63656
  }
63657
63657
  };
63658
63658
 
63659
- // ../../../../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
63659
+ // ../../../../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
63660
63660
  var import_inquirer2 = __toESM(require_inquirer2());
63661
63661
 
63662
63662
  // ../../../../node_modules/.pnpm/@modern-js+plugin-i18n@2.37.2/node_modules/@modern-js/plugin-i18n/dist/esm-node/index.js
@@ -63722,7 +63722,7 @@ var I18n2 = class {
63722
63722
  }
63723
63723
  };
63724
63724
 
63725
- // ../../../../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
63725
+ // ../../../../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
63726
63726
  var ZH_LOCALE2 = {
63727
63727
  environment: {
63728
63728
  node_version: "请升级 Node 版本至 LIS",
@@ -63749,7 +63749,7 @@ var ZH_LOCALE2 = {
63749
63749
  }
63750
63750
  };
63751
63751
 
63752
- // ../../../../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
63752
+ // ../../../../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
63753
63753
  var EN_LOCALE2 = {
63754
63754
  environment: {
63755
63755
  node_version: "please upgrade node to lts version",
@@ -63776,14 +63776,14 @@ var EN_LOCALE2 = {
63776
63776
  }
63777
63777
  };
63778
63778
 
63779
- // ../../../../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
63779
+ // ../../../../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
63780
63780
  var i18n2 = new I18n2();
63781
63781
  var localeKeys2 = i18n2.init("zh", {
63782
63782
  zh: ZH_LOCALE2,
63783
63783
  en: EN_LOCALE2
63784
63784
  });
63785
63785
 
63786
- // ../../../../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
63786
+ // ../../../../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
63787
63787
  var import_lodash6 = require("@modern-js/utils/lodash");
63788
63788
  function transformInquirerSchema(questions, configValue = {}, validateMap = {}, initValue = {}) {
63789
63789
  for (const question of questions) {
@@ -63811,7 +63811,7 @@ function transformInquirerSchema(questions, configValue = {}, validateMap = {},
63811
63811
  return questions;
63812
63812
  }
63813
63813
 
63814
- // ../../../../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
63814
+ // ../../../../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
63815
63815
  var import_path5 = __toESM(require("path"));
63816
63816
  var import_utils17 = require("@modern-js/utils");
63817
63817
  var NODE_MAJOR_VERSION_MAP = {
@@ -63859,7 +63859,7 @@ async function checkUseNvm(cwd, logger2) {
63859
63859
  }
63860
63860
  }
63861
63861
 
63862
- // ../../../../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
63862
+ // ../../../../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
63863
63863
  var AppAPI = class {
63864
63864
  async checkEnvironment(nodeVersion) {
63865
63865
  if (import_utils18.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
  "types": "./src/index.ts",
21
21
  "main": "./dist/index.js",
@@ -24,7 +24,7 @@
24
24
  "/dist/index.js"
25
25
  ],
26
26
  "dependencies": {
27
- "@modern-js/utils": "2.42.2"
27
+ "@modern-js/utils": "2.43.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@modern-js/codesmith": "2.3.2",
@@ -34,11 +34,11 @@
34
34
  "@types/node": "^14",
35
35
  "jest": "^29",
36
36
  "typescript": "^5",
37
- "@modern-js/generator-common": "3.3.3",
38
- "@modern-js/plugin-i18n": "2.42.2",
39
- "@modern-js/generator-utils": "3.3.3",
40
- "@scripts/build": "2.42.2",
41
- "@scripts/jest-config": "2.42.2"
37
+ "@modern-js/generator-common": "3.3.4",
38
+ "@scripts/build": "2.43.0",
39
+ "@scripts/jest-config": "2.43.0",
40
+ "@modern-js/generator-utils": "3.3.4",
41
+ "@modern-js/plugin-i18n": "2.43.0"
42
42
  },
43
43
  "sideEffects": false,
44
44
  "publishConfig": {