md4ai 0.5.0 → 0.5.2
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 +5 -3
- package/package.json +1 -1
package/dist/index.bundled.js
CHANGED
|
@@ -865,7 +865,9 @@ function detectFromCli(projectRoot) {
|
|
|
865
865
|
timeout: 3e3,
|
|
866
866
|
stdio: ["pipe", "pipe", "pipe"]
|
|
867
867
|
}).trim();
|
|
868
|
-
const
|
|
868
|
+
const firstLine = output.replace(/^v/, "").split("\n")[0].trim();
|
|
869
|
+
const versionMatch = firstLine.match(/^(\d+\.\d+[^\s]*)/);
|
|
870
|
+
const version = versionMatch?.[1] ?? firstLine;
|
|
869
871
|
if (version) {
|
|
870
872
|
toolings.push({
|
|
871
873
|
tool_name: name,
|
|
@@ -1159,7 +1161,7 @@ function escapeHtml(text) {
|
|
|
1159
1161
|
|
|
1160
1162
|
// dist/check-update.js
|
|
1161
1163
|
import chalk8 from "chalk";
|
|
1162
|
-
var CURRENT_VERSION = "0.5.
|
|
1164
|
+
var CURRENT_VERSION = "0.5.2";
|
|
1163
1165
|
async function checkForUpdate() {
|
|
1164
1166
|
try {
|
|
1165
1167
|
const controller = new AbortController();
|
|
@@ -1826,7 +1828,7 @@ var VERSION_SOURCES = {
|
|
|
1826
1828
|
"turborepo": { type: "npm", package: "turbo" },
|
|
1827
1829
|
"npm": { type: "npm", package: "npm" },
|
|
1828
1830
|
"node": { type: "github", repo: "nodejs/node" },
|
|
1829
|
-
"supabase-cli": { type: "
|
|
1831
|
+
"supabase-cli": { type: "npm", package: "supabase" }
|
|
1830
1832
|
};
|
|
1831
1833
|
|
|
1832
1834
|
// dist/commands/admin-fetch-versions.js
|