[PR #4010] [MERGED] fix: use importRuntime from import-utils #13381

Closed
opened 2026-04-13 08:53:51 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/4010
Author: @Kinfe123
Created: 8/14/2025
Status: Merged
Merged: 8/15/2025
Merged by: @Bekacru

Base: canaryHead: fix/import-utils-use


📝 Commits (1)

📊 Changes

1 file changed (+7 additions, -16 deletions)

View changed files

📝 packages/better-auth/src/telemetry/detectors/detect-system-info.ts (+7 -16)

📄 Description

Summary by cubic

Updated system info detection to use the shared importRuntime utility from import-utils for dynamic imports, improving code consistency.

  • Refactors
  • Removed duplicate importRuntime function definitions.
  • Replaced all instances with the shared utility.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/4010 **Author:** [@Kinfe123](https://github.com/Kinfe123) **Created:** 8/14/2025 **Status:** ✅ Merged **Merged:** 8/15/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `fix/import-utils-use` --- ### 📝 Commits (1) - [`d35faf5`](https://github.com/better-auth/better-auth/commit/d35faf500b6a706a38280fe21fa75501caf5abbc) fix: use import-utils ### 📊 Changes **1 file changed** (+7 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/telemetry/detectors/detect-system-info.ts` (+7 -16) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Updated system info detection to use the shared importRuntime utility from import-utils for dynamic imports, improving code consistency. - **Refactors** - Removed duplicate importRuntime function definitions. - Replaced all instances with the shared utility. <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-13 08:53:51 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#13381