expose-kit 0.10.1 → 0.10.3

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/dist/index.js CHANGED
@@ -2217,16 +2217,21 @@ var calmGradienrain = (text) => {
2217
2217
  )(char);
2218
2218
  }).join("");
2219
2219
  };
2220
- var showCredit = (VERSION) => beautify`
2221
- ${calmGradienrain(`Expose Kit v${VERSION}`)}
2220
+ var showCredit = (VERSION, update) => beautify`
2221
+ ${calmGradienrain(`Expose Kit v${VERSION}`)} ${update ? `(Update available: v${update.latest})` : ""}
2222
2222
  `;
2223
2223
 
2224
2224
  // index.ts
2225
2225
  import { readFileSync as readFileSync12 } from "fs";
2226
+ import updateNotifier from "update-notifier";
2226
2227
  var __filename = fileURLToPath(import.meta.url);
2227
2228
  var __dirname = dirname11(__filename);
2228
2229
  var pkg = JSON.parse(readFileSync12(join11(__dirname, "package.json"), "utf8"));
2229
- console.log(showCredit(pkg.version));
2230
+ var notifier = updateNotifier({
2231
+ pkg,
2232
+ updateCheckInterval: 0
2233
+ });
2234
+ console.log(showCredit(pkg.version, notifier.update));
2230
2235
  console.log();
2231
2236
  var program2 = new Command();
2232
2237
  program2.name("expose").description("CLI for Deobfuscating").version(
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expose-kit",
3
- "version": "0.10.1",
3
+ "version": "0.10.3",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "author": "EdamAmex <edame8080@gmail.com> (https://github.com/EdamAme-x)",
@@ -42,9 +42,12 @@
42
42
  "@babel/types": "^7.28.5",
43
43
  "@types/babel__generator": "^7.27.0",
44
44
  "@types/babel__traverse": "^7.28.0",
45
+ "@types/update-notifier": "^6.0.8",
45
46
  "chalk": "^5.6.2",
46
47
  "commander": "^14.0.2",
47
- "loading-cli": "^1.1.2"
48
+ "expose-kit": "^0.10.2",
49
+ "loading-cli": "^1.1.2",
50
+ "update-notifier": "^7.3.1"
48
51
  },
49
52
  "bin": {
50
53
  "expose": "dist/index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expose-kit",
3
- "version": "0.10.1",
3
+ "version": "0.10.3",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "author": "EdamAmex <edame8080@gmail.com> (https://github.com/EdamAme-x)",
@@ -42,9 +42,12 @@
42
42
  "@babel/types": "^7.28.5",
43
43
  "@types/babel__generator": "^7.27.0",
44
44
  "@types/babel__traverse": "^7.28.0",
45
+ "@types/update-notifier": "^6.0.8",
45
46
  "chalk": "^5.6.2",
46
47
  "commander": "^14.0.2",
47
- "loading-cli": "^1.1.2"
48
+ "expose-kit": "^0.10.2",
49
+ "loading-cli": "^1.1.2",
50
+ "update-notifier": "^7.3.1"
48
51
  },
49
52
  "bin": {
50
53
  "expose": "dist/index.js",