taro
taro copied to clipboard
fix(mini):修复V4版本小程序的window和document读取失败的问题
这个 PR 做了什么? (简要描述所做更改)
这个 PR 是什么类型? (至少选择一个)
- [x] 错误修复(Bugfix) issue: fix #
- [ ] 新功能(Feature)
- [ ] 代码重构(Refactor)
- [ ] TypeScript 类型定义修改(Typings)
- [ ] 文档修改(Docs)
- [ ] 代码风格更新(Code style update)
- [ ] 其他,请描述(Other, please describe):
这个 PR 涉及以下平台:
- [x] 所有小程序
- [ ] 微信小程序
- [ ] 支付宝小程序
- [ ] 百度小程序
- [ ] 字节跳动小程序
- [ ] QQ 轻应用
- [ ] 京东小程序
- [ ] 快应用平台(QuickApp)
- [ ] Web 平台(H5)
- [ ] 移动端(React-Native)
- [ ] 鸿蒙(harmony)
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 58.52%. Comparing base (0828d8d) to head (b1cb4b1).
:warning: Report is 279 commits behind head on main.
:x: Your project check has failed because the head coverage (58.52%) is below the target coverage (75.00%). You can increase the head coverage or adjust the target coverage.
Additional details and impacted files
@@ Coverage Diff @@
## main #16461 +/- ##
========================================
Coverage 58.52% 58.52%
========================================
Files 466 466
Lines 27102 27102
Branches 5722 5938 +216
========================================
Hits 15861 15861
- Misses 9765 9864 +99
+ Partials 1476 1377 -99
| Flag | Coverage Δ | |
|---|---|---|
| taro-cli | 73.67% <ø> (ø) |
|
| taro-runtime | 59.87% <ø> (ø) |
|
| taro-web | 53.97% <ø> (+0.24%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more. see 29 files with indirect coverage changes
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.