md4ai 0.2.0 → 0.2.1
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.bundled.js +3 -1
- package/package.json +1 -1
package/dist/index.bundled.js
CHANGED
|
@@ -914,7 +914,7 @@ function escapeHtml(text) {
|
|
|
914
914
|
|
|
915
915
|
// dist/check-update.js
|
|
916
916
|
import chalk8 from "chalk";
|
|
917
|
-
var CURRENT_VERSION = "0.2.
|
|
917
|
+
var CURRENT_VERSION = "0.2.1";
|
|
918
918
|
async function checkForUpdate() {
|
|
919
919
|
try {
|
|
920
920
|
const controller = new AbortController();
|
|
@@ -939,6 +939,8 @@ async function checkForUpdate() {
|
|
|
939
939
|
console.log(chalk8.yellow("\u2502") + chalk8.dim(" Changelog: https://www.md4ai.com/how-it-works") + " " + chalk8.yellow("\u2502"));
|
|
940
940
|
console.log(chalk8.yellow("\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518"));
|
|
941
941
|
console.log("");
|
|
942
|
+
} else {
|
|
943
|
+
console.log(chalk8.green(`md4ai v${CURRENT_VERSION} \u2014 you're on the latest version.`));
|
|
942
944
|
}
|
|
943
945
|
} catch {
|
|
944
946
|
}
|