@workos/oagen 0.22.2 → 0.22.4

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.
@@ -4949,7 +4949,7 @@ async function overwriteWithPreservedRegions(existingContent, generatedContent,
4949
4949
  }
4950
4950
  if (entry.lines.some((l) => /^\s*import\s/.test(l))) while (insertLine >= 2 && result[insertLine - 1]?.trim() === "" && /^\s*(import|using|from)\s/.test(result[insertLine - 2] ?? "")) insertLine--;
4951
4951
  const prevLine = insertLine > 0 ? result[insertLine - 1]?.trimStart() ?? "" : "";
4952
- const blockContent = /^import\s/.test(prevLine) || /^using\s/.test(prevLine) || /^from\s/.test(prevLine) || insertLine > 0 && prevLine === "" ? [...entry.lines] : ["", ...entry.lines];
4952
+ const blockContent = /^import\s/.test(prevLine) || /^from\s/.test(prevLine) || insertLine > 0 && prevLine === "" ? [...entry.lines] : ["", ...entry.lines];
4953
4953
  if ((result[insertLine]?.trimStart() ?? "").startsWith("///")) blockContent.push("");
4954
4954
  insertions.push({
4955
4955
  line: insertLine,