-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: force detect unpkg-white-list #695
Conversation
Important Review SkippedMore than 25% of the files skipped due to max files limit. The review is being skipped to prevent a low-quality review. 50 files out of 104 files are above the max files limit of 50. Please upgrade to Pro plan to get higher limits. You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
ddce7f0
to
619544b
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #695 +/- ##
==========================================
- Coverage 96.82% 96.80% -0.03%
==========================================
Files 181 181
Lines 18018 18026 +8
Branches 2339 2336 -3
==========================================
+ Hits 17446 17450 +4
- Misses 572 576 +4 ☔ View full report in Codecov by Sentry. |
[skip ci] ## [3.61.3](v3.61.2...v3.61.3) (2024-05-30) ### Bug Fixes * force detect unpkg-white-list ([#695](#695)) ([9664504](9664504))
> 目前已请求全量 manifest 元信息 #46,可以直接使用 readme 字段 * 优先读取 package.json 中的 readme 信息 * 针对 cnpm/cnpmcore#695 添加报错信息展示 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced `ReadmeContent` component to accept and display custom content. - Improved `useReadme` hook to fetch README content more flexibly with an additional `content` parameter. - Added error handling in directory fetching for better reliability. - **Bug Fixes** - Ensured proper error handling in the `useDirs` function to prevent crashes. - **Refactor** - Updated `PackageManifest` type to include a `readme` field for better data consistency. - **UI Improvements** - Added conditional error messages in the file directory view to inform users of issues. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
No description provided.