expose-kit 0.2.2 → 0.2.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.
package/README.md CHANGED
@@ -36,6 +36,8 @@ Everything you need is documented right here in this [README](README.md).
36
36
  <!-- For Highlight -->
37
37
  ```regex
38
38
  npm i -g expose-kit
39
+ # or
40
+ bun i -g expose-kit
39
41
  ```
40
42
 
41
43
  <!-- For Highlight -->
package/dist/index.js CHANGED
@@ -31,7 +31,7 @@ var _prompt = "prompt" in globalThis ? globalThis.prompt : (question, defaultVal
31
31
  output: process.stdout
32
32
  });
33
33
  return new Promise((resolve) => {
34
- const q = defaultValue ? `${question} (${defaultValue}): ` : `${question}: `;
34
+ const q = defaultValue ? `${question} [${defaultValue}] ` : `${question} `;
35
35
  rl.question(q, (answer) => {
36
36
  rl.close();
37
37
  resolve(answer || defaultValue || "");
@@ -219,7 +219,7 @@ var beautify = (strings, ...values) => {
219
219
  return result;
220
220
  };
221
221
  var isNoColor = () => {
222
- return Bun.env.NO_COLOR !== void 0 && Bun.argv.includes("--no-color");
222
+ return process.env.NO_COLOR !== void 0 && process.argv.includes("--no-color");
223
223
  };
224
224
  var calmGradienrain = (text) => {
225
225
  if (isNoColor()) {
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expose-kit",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "author": "EdamAmex <edame8080@gmail.com> (https://github.com/EdamAme-x)",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expose-kit",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "author": "EdamAmex <edame8080@gmail.com> (https://github.com/EdamAme-x)",