@lynx-js/qrcode-rsbuild-plugin 0.4.4 → 0.4.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @lynx-js/qrcode-rsbuild-plugin
2
2
 
3
+ ## 0.4.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Only register console shortcuts when running in TTY environments ([#2202](https://github.com/lynx-family/lynx-stack/pull/2202))
8
+
3
9
  ## 0.4.4
4
10
 
5
11
  ### Patch Changes
package/dist/390.js CHANGED
@@ -27,7 +27,7 @@ async function registerConsoleShortcuts(options) {
27
27
  await options.onPrint?.(value);
28
28
  showQRCode(value);
29
29
  gExistingShortcuts.add(options);
30
- loop(options, value, devUrls);
30
+ if (process.stdin.isTTY && process.stdout.isTTY) loop(options, value, devUrls);
31
31
  function off() {
32
32
  gExistingShortcuts.delete(options);
33
33
  }
@@ -35,63 +35,63 @@ async function registerConsoleShortcuts(options) {
35
35
  }
36
36
  async function loop(options, value, devUrls) {
37
37
  const [{ autocomplete, select, selectKey, isCancel, cancel }, { default: showQRCode }] = await Promise.all([
38
- import("./8.js").then((mod)=>({
39
- S_BAR: mod.dist_h,
38
+ import("./413.js").then((mod)=>({
39
+ S_BAR: mod.dist_d,
40
40
  S_BAR_END: mod.dist_x,
41
- S_BAR_END_RIGHT: mod.Oe,
42
- S_BAR_H: mod.se,
43
- S_BAR_START: mod.$e,
44
- S_BAR_START_RIGHT: mod.Re,
45
- S_CHECKBOX_ACTIVE: mod.te,
46
- S_CHECKBOX_INACTIVE: mod.dist_z,
47
- S_CHECKBOX_SELECTED: mod.dist_G,
48
- S_CONNECT_LEFT: mod.Ne,
49
- S_CORNER_BOTTOM_LEFT: mod.pe,
50
- S_CORNER_BOTTOM_RIGHT: mod.me,
51
- S_CORNER_TOP_LEFT: mod.We,
52
- S_CORNER_TOP_RIGHT: mod.he,
53
- S_ERROR: mod.ye,
54
- S_INFO: mod.ge,
55
- S_PASSWORD_MASK: mod.Pe,
56
- S_RADIO_ACTIVE: mod.dist_Y,
57
- S_RADIO_INACTIVE: mod.dist_K,
58
- S_STEP_ACTIVE: mod.Me,
59
- S_STEP_CANCEL: mod.ce,
60
- S_STEP_ERROR: mod.de,
61
- S_STEP_SUBMIT: mod.k,
62
- S_SUCCESS: mod.fe,
63
- S_WARN: mod.Fe,
64
- autocomplete: mod.Je,
65
- autocompleteMultiselect: mod.dist_bt,
66
- box: mod.dist_Tt,
67
- cancel: mod.Pt,
68
- confirm: mod.dist_Mt,
69
- group: mod.Rt,
70
- groupMultiselect: mod.Ot,
71
- intro: mod.Nt,
72
- isCI: mod.ue,
41
+ S_BAR_END_RIGHT: mod.Pt,
42
+ S_BAR_H: mod.dist_rt,
43
+ S_BAR_START: mod.dist_ht,
44
+ S_BAR_START_RIGHT: mod.Ot,
45
+ S_CHECKBOX_ACTIVE: mod.dist_st,
46
+ S_CHECKBOX_INACTIVE: mod.q,
47
+ S_CHECKBOX_SELECTED: mod.dist_U,
48
+ S_CONNECT_LEFT: mod.dist_Wt,
49
+ S_CORNER_BOTTOM_LEFT: mod.dist_gt,
50
+ S_CORNER_BOTTOM_RIGHT: mod.dist_pt,
51
+ S_CORNER_TOP_LEFT: mod.dist_Lt,
52
+ S_CORNER_TOP_RIGHT: mod.dist_mt,
53
+ S_ERROR: mod.dist_Et,
54
+ S_INFO: mod.dist_ft,
55
+ S_PASSWORD_MASK: mod.Nt,
56
+ S_RADIO_ACTIVE: mod.dist_Q,
57
+ S_RADIO_INACTIVE: mod.dist_H,
58
+ S_STEP_ACTIVE: mod.Rt,
59
+ S_STEP_CANCEL: mod.dist_dt,
60
+ S_STEP_ERROR: mod.dist_$t,
61
+ S_STEP_SUBMIT: mod.dist_V,
62
+ S_SUCCESS: mod.dist_Ft,
63
+ S_WARN: mod.dist_yt,
64
+ autocomplete: mod.Xt,
65
+ autocompleteMultiselect: mod.xe,
66
+ box: mod.Me,
67
+ cancel: mod.Ne,
68
+ confirm: mod.Re,
69
+ group: mod.Oe,
70
+ groupMultiselect: mod.Pe,
71
+ intro: mod.We,
72
+ isCI: mod.dist_ct,
73
73
  isCancel: mod.Ct,
74
- isTTY: mod.Te,
75
- limitOptions: mod.J,
74
+ isTTY: mod.dist_Mt,
75
+ limitOptions: mod.dist_X,
76
76
  log: mod.R,
77
- multiselect: mod.dist_Lt,
78
- note: mod.dist_kt,
79
- outro: mod.dist_Wt,
80
- password: mod.Gt,
81
- path: mod.Ht,
82
- progress: mod.Kt,
83
- select: mod.qt,
84
- selectKey: mod.Jt,
77
+ multiselect: mod.je,
78
+ note: mod.Ve,
79
+ outro: mod.Le,
80
+ password: mod.He,
81
+ path: mod.Ue,
82
+ progress: mod.qe,
83
+ select: mod.Je,
84
+ selectKey: mod.Xe,
85
85
  settings: mod.dist_,
86
- spinner: mod.Ie,
87
- stream: mod.dist_H,
88
- symbol: mod.N,
89
- symbolBar: mod.Ee,
90
- taskLog: mod.zt,
91
- tasks: mod.Xt,
92
- text: mod.Qt,
93
- unicode: mod.ee,
94
- unicodeOr: mod.w,
86
+ spinner: mod.dist_bt,
87
+ stream: mod.dist_K,
88
+ symbol: mod.dist_W,
89
+ symbolBar: mod.dist_vt,
90
+ taskLog: mod.Qe,
91
+ tasks: mod.Ye,
92
+ text: mod.Ze,
93
+ unicode: mod.dist_et,
94
+ unicodeOr: mod.dist_C,
95
95
  updateSettings: mod.It
96
96
  })),
97
97
  import("./760.js").then((mod)=>({