@modern-js/base-generator 3.1.26 → 3.1.27

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 +0 -44
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -115712,49 +115712,6 @@ var require_prettyInstructions = __commonJS({
115712
115712
  }
115713
115713
  });
115714
115714
 
115715
- // ../../../toolkit/utils/dist/cjs/cli/print.js
115716
- var require_print = __commonJS({
115717
- "../../../toolkit/utils/dist/cjs/cli/print.js"(exports) {
115718
- "use strict";
115719
- Object.defineProperty(exports, "__esModule", {
115720
- value: true
115721
- });
115722
- Object.defineProperty(exports, "printBuildError", {
115723
- enumerable: true,
115724
- get: function() {
115725
- return printBuildError;
115726
- }
115727
- });
115728
- var _compiled = require_compiled();
115729
- var _logger = require_logger2();
115730
- function printBuildError(err) {
115731
- const message = err != null && err.message;
115732
- const stack = err != null && err.stack;
115733
- if (stack && typeof message === "string" && message.indexOf("from Terser") !== -1) {
115734
- try {
115735
- const matched = /(.+)\[(.+):(.+),(.+)\]\[.+\]/.exec(stack);
115736
- if (!matched) {
115737
- throw new Error("Using errors for control flow is bad.");
115738
- }
115739
- const problemPath = matched[2];
115740
- const line = matched[3];
115741
- const column = matched[4];
115742
- _logger.logger.error(`Failed to minify the code from this file:
115743
-
115744
- ${_compiled.chalk.yellow(` ${problemPath}:${line}${column !== "0" ? ":" + column : ""}`)}
115745
- `);
115746
- } catch (ignored) {
115747
- _logger.logger.error(`Failed to minify the bundle. ${err}
115748
- `);
115749
- }
115750
- } else {
115751
- _logger.logger.error((message || err) + "\n");
115752
- }
115753
- _logger.logger.log();
115754
- }
115755
- }
115756
- });
115757
-
115758
115715
  // ../../../toolkit/utils/dist/cjs/cli/require.js
115759
115716
  var require_require = __commonJS({
115760
115717
  "../../../toolkit/utils/dist/cjs/cli/require.js"(exports, module2) {
@@ -115987,7 +115944,6 @@ var require_cli = __commonJS({
115987
115944
  _export_star._(require_pathSerializer(), exports);
115988
115945
  _export_star._(require_port(), exports);
115989
115946
  _export_star._(require_prettyInstructions(), exports);
115990
- _export_star._(require_print(), exports);
115991
115947
  _export_star._(require_require(), exports);
115992
115948
  _export_star._(require_runtimeExports(), exports);
115993
115949
  _export_star._(require_watch(), exports);
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "3.1.26",
18
+ "version": "3.1.27",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./src/index.ts",
21
21
  "main": "./dist/index.js",
@@ -30,10 +30,10 @@
30
30
  "@types/node": "^14",
31
31
  "jest": "^29",
32
32
  "typescript": "^5",
33
- "@modern-js/generator-utils": "3.1.26",
34
- "@modern-js/generator-common": "3.1.26",
35
- "@scripts/build": "2.25.1",
36
- "@scripts/jest-config": "2.25.1"
33
+ "@modern-js/generator-utils": "3.1.27",
34
+ "@scripts/build": "2.25.2",
35
+ "@modern-js/generator-common": "3.1.27",
36
+ "@scripts/jest-config": "2.25.2"
37
37
  },
38
38
  "sideEffects": false,
39
39
  "publishConfig": {