Closed wang123screet closed 3 years ago
Merging #2426 (4e95e79) into master (fa5b8a4) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #2426 +/- ##
=======================================
Coverage 85.90% 85.90%
=======================================
Files 18 18
Lines 518 518
Branches 114 114
=======================================
Hits 445 445
Misses 59 59
Partials 14 14
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update fa5b8a4...4e95e79. Read the comment docs.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Checklist
npm test
passesDescription of change
Background
dependencies
中使用的 history 版本是^4.7.2
。^
的语意化是指保持第一个非零版本一致, 这会导致项目中安装的history
永远是 4.x 中的最新版本history
并不想我们想的那样严格遵守语意化比如 4.7.x 中 babel/core 的版本是 6.x
https://github.com/ReactTraining/history/blob/v4.7.1/package.json#L40-L43
但是在 4.9 中
https://github.com/ReactTraining/history/blob/6104a6a2e40ae17a47a297621afff9a6cb184bfc/package.json#L34-L47
reproduction
最小复现由于 history 中 babel 版本导致的问题
error msg