@storm-software/git-tools 2.124.61 → 2.124.63

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.
@@ -98,9 +98,9 @@ function isUnicodeSupported() {
98
98
  var useIcon = (c, fallback) => isUnicodeSupported() ? c : fallback;
99
99
  var CONSOLE_ICONS = {
100
100
  [LogLevelLabel.ERROR]: useIcon("\u2718", "\xD7"),
101
- [LogLevelLabel.FATAL]: useIcon("\u2620", "\xD7"),
101
+ [LogLevelLabel.FATAL]: useIcon("\u{1F571}", "\xD7"),
102
102
  [LogLevelLabel.WARN]: useIcon("\u26A0", "\u203C"),
103
- [LogLevelLabel.INFO]: useIcon("\u{1F6C8}", "i"),
103
+ [LogLevelLabel.INFO]: useIcon("\u2139", "i"),
104
104
  [LogLevelLabel.SUCCESS]: useIcon("\u2714", "\u221A"),
105
105
  [LogLevelLabel.DEBUG]: useIcon("\u{1F6E0}", "D"),
106
106
  [LogLevelLabel.TRACE]: useIcon("\u2699", "T"),
@@ -179,7 +179,11 @@ var getLogFn = (logLevel = LogLevel.INFO, config2 = {}, _chalk = getChalk()) =>
179
179
  return (message) => {
180
180
  console.error(
181
181
  `
182
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal)(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
182
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
183
+ colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal
184
+ )(
185
+ `[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `
186
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
183
187
  `
184
188
  );
185
189
  };
@@ -188,7 +192,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? DEFAULT_COLOR_CON
188
192
  return (message) => {
189
193
  console.error(
190
194
  `
191
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger)(`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
195
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
196
+ colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger
197
+ )(
198
+ `[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `
199
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
192
200
  `
193
201
  );
194
202
  };
@@ -197,7 +205,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.danger ?? DEFAULT_COLOR_CO
197
205
  return (message) => {
198
206
  console.warn(
199
207
  `
200
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning)(`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
208
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
209
+ colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning
210
+ )(
211
+ `[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `
212
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
201
213
  `
202
214
  );
203
215
  };
@@ -206,7 +218,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.warning ?? DEFAULT_COLOR_C
206
218
  return (message) => {
207
219
  console.info(
208
220
  `
209
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.success ?? DEFAULT_COLOR_CONFIG.dark.success)(`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
221
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
222
+ colors.success ?? DEFAULT_COLOR_CONFIG.dark.success
223
+ )(
224
+ `[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `
225
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
210
226
  `
211
227
  );
212
228
  };
@@ -215,7 +231,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.success ?? DEFAULT_COLOR_C
215
231
  return (message) => {
216
232
  console.info(
217
233
  `
218
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
234
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
235
+ colors.info ?? DEFAULT_COLOR_CONFIG.dark.info
236
+ )(
237
+ `[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `
238
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
219
239
  `
220
240
  );
221
241
  };
@@ -224,7 +244,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
224
244
  return (message) => {
225
245
  console.debug(
226
246
  `
227
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
247
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
248
+ colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug
249
+ )(
250
+ `[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `
251
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
228
252
  `
229
253
  );
230
254
  };
@@ -233,7 +257,9 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CON
233
257
  return (message) => {
234
258
  console.debug(
235
259
  `
236
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
260
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
261
+ `[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `
262
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
237
263
  `
238
264
  );
239
265
  };
@@ -241,7 +267,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(`[${CONSOLE_ICONS[LogL
241
267
  return (message) => {
242
268
  console.log(
243
269
  `
244
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand)(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
270
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
271
+ colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand
272
+ )(
273
+ `[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `
274
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
245
275
  `
246
276
  );
247
277
  };
@@ -253,7 +283,7 @@ var writeInfo = (message, config2) => getLogFn(LogLevel.INFO, config2)(message);
253
283
  var writeSuccess = (message, config2) => getLogFn(LogLevel.SUCCESS, config2)(message);
254
284
  var writeDebug = (message, config2) => getLogFn(LogLevel.DEBUG, config2)(message);
255
285
  var writeTrace = (message, config2) => getLogFn(LogLevel.TRACE, config2)(message);
256
- var MAX_DEPTH = 4;
286
+ var MAX_DEPTH = 6;
257
287
  var formatLogMessage = (message, options = {}, depth2 = 0) => {
258
288
  if (depth2 > MAX_DEPTH) {
259
289
  return "<max depth>";
@@ -3812,5 +3842,5 @@ exports.writeInfo = writeInfo;
3812
3842
  exports.writeSuccess = writeSuccess;
3813
3843
  exports.writeTrace = writeTrace;
3814
3844
  exports.writeWarning = writeWarning;
3815
- //# sourceMappingURL=chunk-YBTSEKHW.cjs.map
3816
- //# sourceMappingURL=chunk-YBTSEKHW.cjs.map
3845
+ //# sourceMappingURL=chunk-LHLRRAC7.cjs.map
3846
+ //# sourceMappingURL=chunk-LHLRRAC7.cjs.map