-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: compatible verdaccio path style (#723)
兼容Verdaccio下载地址风格,镜像库从Verdaccio切换至cnpmcore后无需大面积调整lock文件 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a comprehensive test suite for the download functionality, ensuring robust behavior for various package retrieval scenarios. - Enhanced validation for CORS requests and CDN redirection during package downloads. - Added new test cases for downloading version tarballs with scoped package handling. - **Bug Fixes** - Improved error handling for non-existent packages and versions, providing clearer error messages. - Ensured proper handling of deprecated download paths and scoped/non-scoped package names. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information
1 parent
4facf90
commit 7158e66
Showing
2 changed files
with
70 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters