md4ai 0.9.0 → 0.9.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 +2 -2
- package/package.json +1 -1
package/dist/index.bundled.js
CHANGED
|
@@ -229,7 +229,7 @@ async function parseFileReferences(filePath, projectRoot) {
|
|
|
229
229
|
const content = await readFile2(filePath, "utf-8");
|
|
230
230
|
const relPath = filePath.startsWith(projectRoot) ? filePath.slice(projectRoot.length + 1) : filePath;
|
|
231
231
|
const markdownLinkPattern = /\[.*?\]\(([^)]+)\)/g;
|
|
232
|
-
const bareFilePattern = new RegExp(`(
|
|
232
|
+
const bareFilePattern = new RegExp(`(?:^|[\\s\`(\\[,])((?:\\.\\.?\\/)?[\\w./-]+\\.(?:${FILE_EXT_PATTERN}))(?:\\b|[\`),\\]])`, "gm");
|
|
233
233
|
const claudeDirQuotedPattern = new RegExp(`"\\$CLAUDE_PROJECT_DIR"\\/([\\w./-]+\\.(?:${FILE_EXT_PATTERN}))`, "g");
|
|
234
234
|
const claudeDirUnquotedPattern = new RegExp(`\\$CLAUDE_PROJECT_DIR\\/([\\w./-]+\\.(?:${FILE_EXT_PATTERN}))`, "g");
|
|
235
235
|
const patterns = [
|
|
@@ -1262,7 +1262,7 @@ var CURRENT_VERSION;
|
|
|
1262
1262
|
var init_check_update = __esm({
|
|
1263
1263
|
"dist/check-update.js"() {
|
|
1264
1264
|
"use strict";
|
|
1265
|
-
CURRENT_VERSION = true ? "0.9.
|
|
1265
|
+
CURRENT_VERSION = true ? "0.9.1" : "0.0.0-dev";
|
|
1266
1266
|
}
|
|
1267
1267
|
});
|
|
1268
1268
|
|