Consider unifying cache verification for modern Yarn
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, node.js, rust
Hướng nghiên cứu
Start by reading the package manager cache and integrity verification code, then inspect the existing Yarn 2+ handling and the tests added for #2227. Define how a shared verification record would interact with Corepack-style pins and network access, while preserving verification of the extracted bin/yarn.js. Done means missing or mismatched records trigger download, verification, and replacement, with tests covering existing valid Yarn pins.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Vite+ no longer depends on Corepack, but it still supports integrity pins that Corepack writes to the packageManager field.
For Yarn 2 and later, these pins cover bin/yarn.js, not the npm tarball. Changing the hash target would break existing valid pins, as previously reported in #2209 and fixed in #2227.
Could we use a common cache verification policy for all package managers? When the verification record is missing or differs from the requested pin, Vite+ would download, verify, and replace the installation instead of rehashing the cached Yarn CLI.
Modern Yarn would still verify the extracted bin/yarn.js to preserve existing pin compatibility. This would require network access in cases where local verification currently works.
- Ngôn ngữ chính
- Rust
- Star
- 6.3k
- Fork
- 283
- Merge trung bình
- 1 ngày 16 giờ
- Pull request đã merge (30 ngày)
- 214
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của voidzero-dev/vite-plus
-
pending triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
voidzero-dev/vite-plus#2882 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
voidzero-dev/vite-plus#2097 · 10 bình luận · 2 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
defineConfig drops own properties of Promise plugins (breaks Vike discovery)Có thể đã có người làm @liangmiQwQ đã nhận hôm nay. Đang mởbug
voidzero-dev/vite-plus#3152 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
vpx: watch reports for `vpx --watch`, and `vpx watch` on oxc-node's watcherCó thể đã có người làm @fengmk2 đã nhận hôm nay. Đang mở
voidzero-dev/vite-plus#3141 · 1 reaction · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Document cross-platform `FOO=bar cmd` in task commands and scriptsCó thể đã có người làm @hyunbinseo đã nhận hôm nay. Đang mởdocumentation
voidzero-dev/vite-plus#3140 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của voidzero-dev/vite-plus
Issue tương tự
-
proxy: include denial_category in the "proxy request denied" log lineCó thể đã có người làm @sreyas-endor đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
nolabs-ai/nono#2172 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
metasequoiaime/msime#9113 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:desktop priority:p2 type:chore
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area: supply-chain
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 73/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100