yarnpkg/yarn

Files are extracted before their hashes are checked.

Open

#4,638 创建于 2017年10月5日

在 GitHub 查看
 (13 评论) (0 反应) (0 负责人)JavaScript (41,514 star) (2,731 fork)batch import
cat-featuregood first issuehelp wantedtriaged

描述

Do you want to request a feature or report a bug? A bug.

What is the current behavior? Currently, downloaded files are extracted before their hashes are checked. https://github.com/yarnpkg/yarn/blob/master/src/fetchers/tarball-fetcher.js#L75

What is the expected behavior? Files should be verified before they are extracted.

贡献者指南

Files are extracted before their hashes are checked. · yarnpkg/yarn#4638 | Good First Issue