@modern-js/repo-generator 0.0.0-next-20240218090823 → 0.0.0-next-20240220105216

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 +160 -190
  2. package/package.json +11 -11
package/dist/index.js CHANGED
@@ -5,9 +5,6 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __getProtoOf = Object.getPrototypeOf;
7
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __esm = (fn, res) => function __init() {
9
- return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
10
- };
11
8
  var __commonJS = (cb, mod) => function __require() {
12
9
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
13
10
  };
@@ -17560,11 +17557,11 @@ var require_ms = __commonJS({
17560
17557
  }
17561
17558
  });
17562
17559
 
17563
- // ../../../../node_modules/.pnpm/debug@4.3.4_supports-color@9.3.1/node_modules/debug/src/common.js
17560
+ // ../../../../node_modules/.pnpm/debug@4.3.4_supports-color@5.5.0/node_modules/debug/src/common.js
17564
17561
  var require_common2 = __commonJS({
17565
- "../../../../node_modules/.pnpm/debug@4.3.4_supports-color@9.3.1/node_modules/debug/src/common.js"(exports, module2) {
17562
+ "../../../../node_modules/.pnpm/debug@4.3.4_supports-color@5.5.0/node_modules/debug/src/common.js"(exports, module2) {
17566
17563
  "use strict";
17567
- function setup(env2) {
17564
+ function setup(env) {
17568
17565
  createDebug.debug = createDebug;
17569
17566
  createDebug.default = createDebug;
17570
17567
  createDebug.coerce = coerce;
@@ -17573,8 +17570,8 @@ var require_common2 = __commonJS({
17573
17570
  createDebug.enabled = enabled;
17574
17571
  createDebug.humanize = require_ms();
17575
17572
  createDebug.destroy = destroy2;
17576
- Object.keys(env2).forEach((key) => {
17577
- createDebug[key] = env2[key];
17573
+ Object.keys(env).forEach((key) => {
17574
+ createDebug[key] = env[key];
17578
17575
  });
17579
17576
  createDebug.names = [];
17580
17577
  createDebug.skips = [];
@@ -17724,9 +17721,9 @@ var require_common2 = __commonJS({
17724
17721
  }
17725
17722
  });
17726
17723
 
17727
- // ../../../../node_modules/.pnpm/debug@4.3.4_supports-color@9.3.1/node_modules/debug/src/browser.js
17724
+ // ../../../../node_modules/.pnpm/debug@4.3.4_supports-color@5.5.0/node_modules/debug/src/browser.js
17728
17725
  var require_browser = __commonJS({
17729
- "../../../../node_modules/.pnpm/debug@4.3.4_supports-color@9.3.1/node_modules/debug/src/browser.js"(exports, module2) {
17726
+ "../../../../node_modules/.pnpm/debug@4.3.4_supports-color@5.5.0/node_modules/debug/src/browser.js"(exports, module2) {
17730
17727
  "use strict";
17731
17728
  exports.formatArgs = formatArgs;
17732
17729
  exports.save = save;
@@ -17894,147 +17891,120 @@ var require_browser = __commonJS({
17894
17891
  }
17895
17892
  });
17896
17893
 
17897
- // ../../../../node_modules/.pnpm/supports-color@9.3.1/node_modules/supports-color/index.js
17898
- var supports_color_exports = {};
17899
- __export(supports_color_exports, {
17900
- createSupportsColor: () => createSupportsColor,
17901
- default: () => supports_color_default
17902
- });
17903
- function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : import_node_process.default.argv) {
17904
- const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
17905
- const position = argv.indexOf(prefix + flag);
17906
- const terminatorPosition = argv.indexOf("--");
17907
- return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
17908
- }
17909
- function envForceColor() {
17910
- if ("FORCE_COLOR" in env) {
17911
- if (env.FORCE_COLOR === "true") {
17912
- return 1;
17913
- }
17914
- if (env.FORCE_COLOR === "false") {
17915
- return 0;
17916
- }
17917
- return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
17918
- }
17919
- }
17920
- function translateLevel(level) {
17921
- if (level === 0) {
17922
- return false;
17923
- }
17924
- return {
17925
- level,
17926
- hasBasic: true,
17927
- has256: level >= 2,
17928
- has16m: level >= 3
17929
- };
17930
- }
17931
- function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
17932
- const noFlagForceColor = envForceColor();
17933
- if (noFlagForceColor !== void 0) {
17934
- flagForceColor = noFlagForceColor;
17935
- }
17936
- const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
17937
- if (forceColor === 0) {
17938
- return 0;
17939
- }
17940
- if (sniffFlags) {
17941
- if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
17942
- return 3;
17943
- }
17944
- if (hasFlag("color=256")) {
17945
- return 2;
17946
- }
17947
- }
17948
- if ("TF_BUILD" in env && "AGENT_NAME" in env) {
17949
- return 1;
17950
- }
17951
- if (haveStream && !streamIsTTY && forceColor === void 0) {
17952
- return 0;
17953
- }
17954
- const min = forceColor || 0;
17955
- if (env.TERM === "dumb") {
17956
- return min;
17894
+ // ../../../../node_modules/.pnpm/has-flag@3.0.0/node_modules/has-flag/index.js
17895
+ var require_has_flag = __commonJS({
17896
+ "../../../../node_modules/.pnpm/has-flag@3.0.0/node_modules/has-flag/index.js"(exports, module2) {
17897
+ "use strict";
17898
+ module2.exports = (flag, argv) => {
17899
+ argv = argv || process.argv;
17900
+ const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
17901
+ const pos = argv.indexOf(prefix + flag);
17902
+ const terminatorPos = argv.indexOf("--");
17903
+ return pos !== -1 && (terminatorPos === -1 ? true : pos < terminatorPos);
17904
+ };
17957
17905
  }
17958
- if (import_node_process.default.platform === "win32") {
17959
- const osRelease = import_node_os.default.release().split(".");
17960
- if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
17961
- return Number(osRelease[2]) >= 14931 ? 3 : 2;
17906
+ });
17907
+
17908
+ // ../../../../node_modules/.pnpm/supports-color@5.5.0/node_modules/supports-color/index.js
17909
+ var require_supports_color = __commonJS({
17910
+ "../../../../node_modules/.pnpm/supports-color@5.5.0/node_modules/supports-color/index.js"(exports, module2) {
17911
+ "use strict";
17912
+ var os2 = require("os");
17913
+ var hasFlag = require_has_flag();
17914
+ var env = process.env;
17915
+ var forceColor;
17916
+ if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false")) {
17917
+ forceColor = false;
17918
+ } else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
17919
+ forceColor = true;
17962
17920
  }
17963
- return 1;
17964
- }
17965
- if ("CI" in env) {
17966
- if ("GITHUB_ACTIONS" in env) {
17967
- return 3;
17921
+ if ("FORCE_COLOR" in env) {
17922
+ forceColor = env.FORCE_COLOR.length === 0 || parseInt(env.FORCE_COLOR, 10) !== 0;
17968
17923
  }
17969
- if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
17970
- return 1;
17924
+ function translateLevel(level) {
17925
+ if (level === 0) {
17926
+ return false;
17927
+ }
17928
+ return {
17929
+ level,
17930
+ hasBasic: true,
17931
+ has256: level >= 2,
17932
+ has16m: level >= 3
17933
+ };
17971
17934
  }
17972
- return min;
17973
- }
17974
- if ("TEAMCITY_VERSION" in env) {
17975
- return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
17976
- }
17977
- if (env.COLORTERM === "truecolor") {
17978
- return 3;
17979
- }
17980
- if (env.TERM === "xterm-kitty") {
17981
- return 3;
17982
- }
17983
- if ("TERM_PROGRAM" in env) {
17984
- const version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
17985
- switch (env.TERM_PROGRAM) {
17986
- case "iTerm.app": {
17987
- return version >= 3 ? 3 : 2;
17935
+ function supportsColor(stream4) {
17936
+ if (forceColor === false) {
17937
+ return 0;
17938
+ }
17939
+ if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
17940
+ return 3;
17941
+ }
17942
+ if (hasFlag("color=256")) {
17943
+ return 2;
17944
+ }
17945
+ if (stream4 && !stream4.isTTY && forceColor !== true) {
17946
+ return 0;
17947
+ }
17948
+ const min = forceColor ? 1 : 0;
17949
+ if (process.platform === "win32") {
17950
+ const osRelease = os2.release().split(".");
17951
+ if (Number(process.versions.node.split(".")[0]) >= 8 && Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
17952
+ return Number(osRelease[2]) >= 14931 ? 3 : 2;
17953
+ }
17954
+ return 1;
17955
+ }
17956
+ if ("CI" in env) {
17957
+ if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
17958
+ return 1;
17959
+ }
17960
+ return min;
17961
+ }
17962
+ if ("TEAMCITY_VERSION" in env) {
17963
+ return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
17964
+ }
17965
+ if (env.COLORTERM === "truecolor") {
17966
+ return 3;
17988
17967
  }
17989
- case "Apple_Terminal": {
17968
+ if ("TERM_PROGRAM" in env) {
17969
+ const version = parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
17970
+ switch (env.TERM_PROGRAM) {
17971
+ case "iTerm.app":
17972
+ return version >= 3 ? 3 : 2;
17973
+ case "Apple_Terminal":
17974
+ return 2;
17975
+ }
17976
+ }
17977
+ if (/-256(color)?$/i.test(env.TERM)) {
17990
17978
  return 2;
17991
17979
  }
17980
+ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
17981
+ return 1;
17982
+ }
17983
+ if ("COLORTERM" in env) {
17984
+ return 1;
17985
+ }
17986
+ if (env.TERM === "dumb") {
17987
+ return min;
17988
+ }
17989
+ return min;
17992
17990
  }
17993
- }
17994
- if (/-256(color)?$/i.test(env.TERM)) {
17995
- return 2;
17996
- }
17997
- if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
17998
- return 1;
17999
- }
18000
- if ("COLORTERM" in env) {
18001
- return 1;
18002
- }
18003
- return min;
18004
- }
18005
- function createSupportsColor(stream4, options = {}) {
18006
- const level = _supportsColor(stream4, {
18007
- streamIsTTY: stream4 && stream4.isTTY,
18008
- ...options
18009
- });
18010
- return translateLevel(level);
18011
- }
18012
- var import_node_process, import_node_os, import_node_tty, env, flagForceColor, supportsColor, supports_color_default;
18013
- var init_supports_color = __esm({
18014
- "../../../../node_modules/.pnpm/supports-color@9.3.1/node_modules/supports-color/index.js"() {
18015
- "use strict";
18016
- import_node_process = __toESM(require("process"));
18017
- import_node_os = __toESM(require("os"));
18018
- import_node_tty = __toESM(require("tty"));
18019
- ({ env } = import_node_process.default);
18020
- if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
18021
- flagForceColor = 0;
18022
- } else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
18023
- flagForceColor = 1;
17991
+ function getSupportLevel(stream4) {
17992
+ const level = supportsColor(stream4);
17993
+ return translateLevel(level);
18024
17994
  }
18025
- supportsColor = {
18026
- stdout: createSupportsColor({ isTTY: import_node_tty.default.isatty(1) }),
18027
- stderr: createSupportsColor({ isTTY: import_node_tty.default.isatty(2) })
17995
+ module2.exports = {
17996
+ supportsColor: getSupportLevel,
17997
+ stdout: getSupportLevel(process.stdout),
17998
+ stderr: getSupportLevel(process.stderr)
18028
17999
  };
18029
- supports_color_default = supportsColor;
18030
18000
  }
18031
18001
  });
18032
18002
 
18033
- // ../../../../node_modules/.pnpm/debug@4.3.4_supports-color@9.3.1/node_modules/debug/src/node.js
18003
+ // ../../../../node_modules/.pnpm/debug@4.3.4_supports-color@5.5.0/node_modules/debug/src/node.js
18034
18004
  var require_node = __commonJS({
18035
- "../../../../node_modules/.pnpm/debug@4.3.4_supports-color@9.3.1/node_modules/debug/src/node.js"(exports, module2) {
18005
+ "../../../../node_modules/.pnpm/debug@4.3.4_supports-color@5.5.0/node_modules/debug/src/node.js"(exports, module2) {
18036
18006
  "use strict";
18037
- var tty2 = require("tty");
18007
+ var tty = require("tty");
18038
18008
  var util2 = require("util");
18039
18009
  exports.init = init;
18040
18010
  exports.log = log;
@@ -18049,8 +18019,8 @@ var require_node = __commonJS({
18049
18019
  );
18050
18020
  exports.colors = [6, 2, 3, 4, 5, 1];
18051
18021
  try {
18052
- const supportsColor2 = (init_supports_color(), __toCommonJS(supports_color_exports));
18053
- if (supportsColor2 && (supportsColor2.stderr || supportsColor2).level >= 2) {
18022
+ const supportsColor = require_supports_color();
18023
+ if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
18054
18024
  exports.colors = [
18055
18025
  20,
18056
18026
  21,
@@ -18152,7 +18122,7 @@ var require_node = __commonJS({
18152
18122
  return obj;
18153
18123
  }, {});
18154
18124
  function useColors() {
18155
- return "colors" in exports.inspectOpts ? Boolean(exports.inspectOpts.colors) : tty2.isatty(process.stderr.fd);
18125
+ return "colors" in exports.inspectOpts ? Boolean(exports.inspectOpts.colors) : tty.isatty(process.stderr.fd);
18156
18126
  }
18157
18127
  function formatArgs(args) {
18158
18128
  const { namespace: name, useColors: useColors2 } = this;
@@ -18205,9 +18175,9 @@ var require_node = __commonJS({
18205
18175
  }
18206
18176
  });
18207
18177
 
18208
- // ../../../../node_modules/.pnpm/debug@4.3.4_supports-color@9.3.1/node_modules/debug/src/index.js
18178
+ // ../../../../node_modules/.pnpm/debug@4.3.4_supports-color@5.5.0/node_modules/debug/src/index.js
18209
18179
  var require_src3 = __commonJS({
18210
- "../../../../node_modules/.pnpm/debug@4.3.4_supports-color@9.3.1/node_modules/debug/src/index.js"(exports, module2) {
18180
+ "../../../../node_modules/.pnpm/debug@4.3.4_supports-color@5.5.0/node_modules/debug/src/index.js"(exports, module2) {
18211
18181
  "use strict";
18212
18182
  if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
18213
18183
  module2.exports = require_browser();
@@ -25664,15 +25634,15 @@ var require_runtime = __commonJS({
25664
25634
  throw new _exception2["default"]("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version (" + compilerInfo[1] + ").");
25665
25635
  }
25666
25636
  }
25667
- function template(templateSpec, env2) {
25668
- if (!env2) {
25637
+ function template(templateSpec, env) {
25638
+ if (!env) {
25669
25639
  throw new _exception2["default"]("No environment passed to template");
25670
25640
  }
25671
25641
  if (!templateSpec || !templateSpec.main) {
25672
25642
  throw new _exception2["default"]("Unknown template object: " + typeof templateSpec);
25673
25643
  }
25674
25644
  templateSpec.main.decorator = templateSpec.main_d;
25675
- env2.VM.checkRevision(templateSpec.compiler);
25645
+ env.VM.checkRevision(templateSpec.compiler);
25676
25646
  var templateWasPrecompiledWithCompilerV7 = templateSpec.compiler && templateSpec.compiler[0] === 7;
25677
25647
  function invokePartialWrapper(partial, context, options) {
25678
25648
  if (options.hash) {
@@ -25681,14 +25651,14 @@ var require_runtime = __commonJS({
25681
25651
  options.ids[0] = true;
25682
25652
  }
25683
25653
  }
25684
- partial = env2.VM.resolvePartial.call(this, partial, context, options);
25654
+ partial = env.VM.resolvePartial.call(this, partial, context, options);
25685
25655
  var extendedOptions = Utils.extend({}, options, {
25686
25656
  hooks: this.hooks,
25687
25657
  protoAccessControl: this.protoAccessControl
25688
25658
  });
25689
- var result = env2.VM.invokePartial.call(this, partial, context, extendedOptions);
25690
- if (result == null && env2.compile) {
25691
- options.partials[options.name] = env2.compile(partial, templateSpec.compilerOptions, env2);
25659
+ var result = env.VM.invokePartial.call(this, partial, context, extendedOptions);
25660
+ if (result == null && env.compile) {
25661
+ options.partials[options.name] = env.compile(partial, templateSpec.compilerOptions, env);
25692
25662
  result = options.partials[options.name](context, extendedOptions);
25693
25663
  }
25694
25664
  if (result != null) {
@@ -25773,7 +25743,7 @@ var require_runtime = __commonJS({
25773
25743
  },
25774
25744
  // An empty object to use as replacement for null-contexts
25775
25745
  nullContext: Object.seal({}),
25776
- noop: env2.VM.noop,
25746
+ noop: env.VM.noop,
25777
25747
  compilerInfo: templateSpec.compiler
25778
25748
  };
25779
25749
  function ret(context) {
@@ -25800,14 +25770,14 @@ var require_runtime = __commonJS({
25800
25770
  ret.isTop = true;
25801
25771
  ret._setup = function(options) {
25802
25772
  if (!options.partial) {
25803
- var mergedHelpers = Utils.extend({}, env2.helpers, options.helpers);
25773
+ var mergedHelpers = Utils.extend({}, env.helpers, options.helpers);
25804
25774
  wrapHelpersToPassLookupProperty(mergedHelpers, container);
25805
25775
  container.helpers = mergedHelpers;
25806
25776
  if (templateSpec.usePartial) {
25807
- container.partials = container.mergeIfNeeded(options.partials, env2.partials);
25777
+ container.partials = container.mergeIfNeeded(options.partials, env.partials);
25808
25778
  }
25809
25779
  if (templateSpec.usePartial || templateSpec.useDecorators) {
25810
- container.decorators = Utils.extend({}, env2.decorators, options.decorators);
25780
+ container.decorators = Utils.extend({}, env.decorators, options.decorators);
25811
25781
  }
25812
25782
  container.hooks = {};
25813
25783
  container.protoAccessControl = _internalProtoAccess.createProtoAccessControl(options);
@@ -27609,7 +27579,7 @@ var require_compiler = __commonJS({
27609
27579
  }
27610
27580
  }
27611
27581
  };
27612
- function precompile(input, options, env2) {
27582
+ function precompile(input, options, env) {
27613
27583
  if (input == null || typeof input !== "string" && input.type !== "Program") {
27614
27584
  throw new _exception2["default"]("You must pass a string or Handlebars AST to Handlebars.precompile. You passed " + input);
27615
27585
  }
@@ -27620,10 +27590,10 @@ var require_compiler = __commonJS({
27620
27590
  if (options.compat) {
27621
27591
  options.useDepths = true;
27622
27592
  }
27623
- var ast = env2.parse(input, options), environment = new env2.Compiler().compile(ast, options);
27624
- return new env2.JavaScriptCompiler().compile(environment, options);
27593
+ var ast = env.parse(input, options), environment = new env.Compiler().compile(ast, options);
27594
+ return new env.JavaScriptCompiler().compile(environment, options);
27625
27595
  }
27626
- function compile3(input, options, env2) {
27596
+ function compile3(input, options, env) {
27627
27597
  if (options === void 0)
27628
27598
  options = {};
27629
27599
  if (input == null || typeof input !== "string" && input.type !== "Program") {
@@ -27638,8 +27608,8 @@ var require_compiler = __commonJS({
27638
27608
  }
27639
27609
  var compiled = void 0;
27640
27610
  function compileInput() {
27641
- var ast = env2.parse(input, options), environment = new env2.Compiler().compile(ast, options), templateSpec = new env2.JavaScriptCompiler().compile(environment, options, void 0, true);
27642
- return env2.template(templateSpec);
27611
+ var ast = env.parse(input, options), environment = new env.Compiler().compile(ast, options), templateSpec = new env.JavaScriptCompiler().compile(environment, options, void 0, true);
27612
+ return env.template(templateSpec);
27643
27613
  }
27644
27614
  function ret(context, execOptions) {
27645
27615
  if (!compiled) {
@@ -32565,13 +32535,13 @@ var require_chalk = __commonJS({
32565
32535
  c = l.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(l.FORCE_COLOR, 10), 3);
32566
32536
  }
32567
32537
  }
32568
- function translateLevel2(e3) {
32538
+ function translateLevel(e3) {
32569
32539
  if (e3 === 0) {
32570
32540
  return false;
32571
32541
  }
32572
32542
  return { level: e3, hasBasic: true, has256: e3 >= 2, has16m: e3 >= 3 };
32573
32543
  }
32574
- function supportsColor2(e3, t3) {
32544
+ function supportsColor(e3, t3) {
32575
32545
  if (c === 0) {
32576
32546
  return 0;
32577
32547
  }
@@ -32628,10 +32598,10 @@ var require_chalk = __commonJS({
32628
32598
  return n3;
32629
32599
  }
32630
32600
  function getSupportLevel(e3) {
32631
- const t3 = supportsColor2(e3, e3 && e3.isTTY);
32632
- return translateLevel2(t3);
32601
+ const t3 = supportsColor(e3, e3 && e3.isTTY);
32602
+ return translateLevel(t3);
32633
32603
  }
32634
- e2.exports = { supportsColor: getSupportLevel, stdout: translateLevel2(supportsColor2(true, s.isatty(1))), stderr: translateLevel2(supportsColor2(true, s.isatty(2))) };
32604
+ e2.exports = { supportsColor: getSupportLevel, stdout: translateLevel(supportsColor(true, s.isatty(1))), stderr: translateLevel(supportsColor(true, s.isatty(2))) };
32635
32605
  }, 37: (e2) => {
32636
32606
  "use strict";
32637
32607
  e2.exports = require("os");
@@ -37557,7 +37527,7 @@ var require_innerFrom = __commonJS({
37557
37527
  exports.fromIterable = fromIterable;
37558
37528
  function fromAsyncIterable(asyncIterable) {
37559
37529
  return new Observable_1.Observable(function(subscriber) {
37560
- process3(asyncIterable, subscriber).catch(function(err) {
37530
+ process2(asyncIterable, subscriber).catch(function(err) {
37561
37531
  return subscriber.error(err);
37562
37532
  });
37563
37533
  });
@@ -37567,7 +37537,7 @@ var require_innerFrom = __commonJS({
37567
37537
  return fromAsyncIterable(isReadableStreamLike_1.readableStreamLikeToAsyncGenerator(readableStream));
37568
37538
  }
37569
37539
  exports.fromReadableStreamLike = fromReadableStreamLike;
37570
- function process3(asyncIterable, subscriber) {
37540
+ function process2(asyncIterable, subscriber) {
37571
37541
  var asyncIterable_1, asyncIterable_1_1;
37572
37542
  var e_2, _a2;
37573
37543
  return __awaiter6(this, void 0, void 0, function() {
@@ -44848,11 +44818,11 @@ var require_signals = __commonJS({
44848
44818
  var require_signal_exit = __commonJS({
44849
44819
  "../../../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js"(exports, module2) {
44850
44820
  "use strict";
44851
- var process3 = global.process;
44852
- var processOk = function(process4) {
44853
- return process4 && typeof process4 === "object" && typeof process4.removeListener === "function" && typeof process4.emit === "function" && typeof process4.reallyExit === "function" && typeof process4.listeners === "function" && typeof process4.kill === "function" && typeof process4.pid === "number" && typeof process4.on === "function";
44821
+ var process2 = global.process;
44822
+ var processOk = function(process3) {
44823
+ return process3 && typeof process3 === "object" && typeof process3.removeListener === "function" && typeof process3.emit === "function" && typeof process3.reallyExit === "function" && typeof process3.listeners === "function" && typeof process3.kill === "function" && typeof process3.pid === "number" && typeof process3.on === "function";
44854
44824
  };
44855
- if (!processOk(process3)) {
44825
+ if (!processOk(process2)) {
44856
44826
  module2.exports = function() {
44857
44827
  return function() {
44858
44828
  };
@@ -44860,15 +44830,15 @@ var require_signal_exit = __commonJS({
44860
44830
  } else {
44861
44831
  assert = require("assert");
44862
44832
  signals = require_signals();
44863
- isWin = /^win/i.test(process3.platform);
44833
+ isWin = /^win/i.test(process2.platform);
44864
44834
  EE = require("events");
44865
44835
  if (typeof EE !== "function") {
44866
44836
  EE = EE.EventEmitter;
44867
44837
  }
44868
- if (process3.__signal_exit_emitter__) {
44869
- emitter = process3.__signal_exit_emitter__;
44838
+ if (process2.__signal_exit_emitter__) {
44839
+ emitter = process2.__signal_exit_emitter__;
44870
44840
  } else {
44871
- emitter = process3.__signal_exit_emitter__ = new EE();
44841
+ emitter = process2.__signal_exit_emitter__ = new EE();
44872
44842
  emitter.count = 0;
44873
44843
  emitter.emitted = {};
44874
44844
  }
@@ -44905,12 +44875,12 @@ var require_signal_exit = __commonJS({
44905
44875
  loaded = false;
44906
44876
  signals.forEach(function(sig) {
44907
44877
  try {
44908
- process3.removeListener(sig, sigListeners[sig]);
44878
+ process2.removeListener(sig, sigListeners[sig]);
44909
44879
  } catch (er) {
44910
44880
  }
44911
44881
  });
44912
- process3.emit = originalProcessEmit;
44913
- process3.reallyExit = originalProcessReallyExit;
44882
+ process2.emit = originalProcessEmit;
44883
+ process2.reallyExit = originalProcessReallyExit;
44914
44884
  emitter.count -= 1;
44915
44885
  };
44916
44886
  module2.exports.unload = unload;
@@ -44927,7 +44897,7 @@ var require_signal_exit = __commonJS({
44927
44897
  if (!processOk(global.process)) {
44928
44898
  return;
44929
44899
  }
44930
- var listeners = process3.listeners(sig);
44900
+ var listeners = process2.listeners(sig);
44931
44901
  if (listeners.length === emitter.count) {
44932
44902
  unload();
44933
44903
  emit("exit", null, sig);
@@ -44935,7 +44905,7 @@ var require_signal_exit = __commonJS({
44935
44905
  if (isWin && sig === "SIGHUP") {
44936
44906
  sig = "SIGINT";
44937
44907
  }
44938
- process3.kill(process3.pid, sig);
44908
+ process2.kill(process2.pid, sig);
44939
44909
  }
44940
44910
  };
44941
44911
  });
@@ -44951,36 +44921,36 @@ var require_signal_exit = __commonJS({
44951
44921
  emitter.count += 1;
44952
44922
  signals = signals.filter(function(sig) {
44953
44923
  try {
44954
- process3.on(sig, sigListeners[sig]);
44924
+ process2.on(sig, sigListeners[sig]);
44955
44925
  return true;
44956
44926
  } catch (er) {
44957
44927
  return false;
44958
44928
  }
44959
44929
  });
44960
- process3.emit = processEmit;
44961
- process3.reallyExit = processReallyExit;
44930
+ process2.emit = processEmit;
44931
+ process2.reallyExit = processReallyExit;
44962
44932
  };
44963
44933
  module2.exports.load = load;
44964
- originalProcessReallyExit = process3.reallyExit;
44934
+ originalProcessReallyExit = process2.reallyExit;
44965
44935
  processReallyExit = function processReallyExit2(code) {
44966
44936
  if (!processOk(global.process)) {
44967
44937
  return;
44968
44938
  }
44969
- process3.exitCode = code || /* istanbul ignore next */
44939
+ process2.exitCode = code || /* istanbul ignore next */
44970
44940
  0;
44971
- emit("exit", process3.exitCode, null);
44972
- emit("afterexit", process3.exitCode, null);
44973
- originalProcessReallyExit.call(process3, process3.exitCode);
44941
+ emit("exit", process2.exitCode, null);
44942
+ emit("afterexit", process2.exitCode, null);
44943
+ originalProcessReallyExit.call(process2, process2.exitCode);
44974
44944
  };
44975
- originalProcessEmit = process3.emit;
44945
+ originalProcessEmit = process2.emit;
44976
44946
  processEmit = function processEmit2(ev, arg) {
44977
44947
  if (ev === "exit" && processOk(global.process)) {
44978
44948
  if (arg !== void 0) {
44979
- process3.exitCode = arg;
44949
+ process2.exitCode = arg;
44980
44950
  }
44981
44951
  var ret = originalProcessEmit.apply(this, arguments);
44982
- emit("exit", process3.exitCode, null);
44983
- emit("afterexit", process3.exitCode, null);
44952
+ emit("exit", process2.exitCode, null);
44953
+ emit("afterexit", process2.exitCode, null);
44984
44954
  return ret;
44985
44955
  } else {
44986
44956
  return originalProcessEmit.apply(this, arguments);
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "0.0.0-next-20240218090823",
18
+ "version": "0.0.0-next-20240220105216",
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": "0.0.0-next-20240218090823"
26
+ "@modern-js/utils": "0.0.0-next-20240220105216"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@modern-js/codesmith": "2.3.4",
@@ -32,15 +32,15 @@
32
32
  "@types/node": "^14",
33
33
  "jest": "^29",
34
34
  "typescript": "^5",
35
- "@modern-js/base-generator": "0.0.0-next-20240218090823",
36
- "@modern-js/generator-common": "0.0.0-next-20240218090823",
37
- "@modern-js/generator-utils": "0.0.0-next-20240218090823",
38
- "@modern-js/module-generator": "0.0.0-next-20240218090823",
39
- "@modern-js/generator-plugin": "0.0.0-next-20240218090823",
40
- "@modern-js/monorepo-generator": "0.0.0-next-20240218090823",
41
- "@modern-js/mwa-generator": "0.0.0-next-20240218090823",
42
- "@scripts/build": "0.0.0-next-20240218090823",
43
- "@scripts/jest-config": "0.0.0-next-20240218090823"
35
+ "@modern-js/base-generator": "0.0.0-next-20240220105216",
36
+ "@modern-js/generator-common": "0.0.0-next-20240220105216",
37
+ "@modern-js/generator-plugin": "0.0.0-next-20240220105216",
38
+ "@modern-js/generator-utils": "0.0.0-next-20240220105216",
39
+ "@modern-js/monorepo-generator": "0.0.0-next-20240220105216",
40
+ "@modern-js/module-generator": "0.0.0-next-20240220105216",
41
+ "@modern-js/mwa-generator": "0.0.0-next-20240220105216",
42
+ "@scripts/build": "0.0.0-next-20240220105216",
43
+ "@scripts/jest-config": "0.0.0-next-20240220105216"
44
44
  },
45
45
  "sideEffects": false,
46
46
  "publishConfig": {