@mintlify/common 1.0.743 → 1.0.744

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.
@@ -19,7 +19,9 @@ export const getV4FeedUpdates = (rssFile) => __awaiter(void 0, void 0, void 0, f
19
19
  if (!content) {
20
20
  return [];
21
21
  }
22
- const effectiveLineBlame = Object.keys(lineBlame).length > 0 ? lineBlame : { 1: new Date().toISOString() };
22
+ if (Object.keys(lineBlame).length === 0) {
23
+ return [];
24
+ }
23
25
  let ast;
24
26
  try {
25
27
  ast = getAST(content);
@@ -40,8 +42,8 @@ export const getV4FeedUpdates = (rssFile) => __awaiter(void 0, void 0, void 0, f
40
42
  }
41
43
  const allUpdates = [];
42
44
  for (const updateComponent of updateComponents) {
43
- const componentDate = getDateForNode(updateComponent, effectiveLineBlame);
44
- const representativeDate = getMostRepresentativeDate(updateComponent, effectiveLineBlame, componentDate);
45
+ const componentDate = getDateForNode(updateComponent, lineBlame);
46
+ const representativeDate = getMostRepresentativeDate(updateComponent, lineBlame, componentDate);
45
47
  const updates = processUpdateNode({
46
48
  updateNode: updateComponent,
47
49
  date: representativeDate,