ant-design-mobile icon indicating copy to clipboard operation
ant-design-mobile copied to clipboard

refactor: f2elint

Open guoyunhe opened this issue 7 months ago • 7 comments

使用 f2elint 工具接入最新的 ESLint, Stylelint, Prettier, Commitlint, Husky 工具链

guoyunhe avatar Apr 26 '25 03:04 guoyunhe

Preview is ready

github-actions[bot] avatar Apr 26 '25 03:04 github-actions[bot]

[!WARNING] Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert (click for details)
Warn High
[email protected] is Protestware or potentially unwanted behavior.

Note: The script attempts to run a local post-install script, which could potentially contain malicious code. The error handling suggests that it is designed to fail silently, which is a common tactic in malicious scripts.

Source

ℹ Read more on: This package | This alert | What is protestware?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at [email protected].

Suggestion: Consider that consuming this package may come along with functionality unrelated to its primary purpose.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

socket-security[bot] avatar Apr 26 '25 03:04 socket-security[bot]

ci 挂了,要处理一下。

afc163 avatar Apr 26 '25 14:04 afc163

Deploying ant-design-mobile with  Cloudflare Pages  Cloudflare Pages

Latest commit: 776dfba
Status:🚫  Build failed.

View logs

Codecov Report

:x: Patch coverage is 89.62264% with 11 lines in your changes missing coverage. Please review. :white_check_mark: Project coverage is 92.76%. Comparing base (d3b3bae) to head (776dfba). :warning: Report is 51 commits behind head on master.

Files with missing lines Patch % Lines
src/components/form/form-item.tsx 0.00% 6 Missing :warning:
src/components/floating-panel/floating-panel.tsx 50.00% 2 Missing :warning:
src/components/collapse/collapse.tsx 80.00% 1 Missing :warning:
src/components/image-uploader/image-uploader.tsx 80.00% 1 Missing :warning:
src/components/image-viewer/slides.tsx 66.66% 1 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6861      +/-   ##
==========================================
- Coverage   92.76%   92.76%   -0.01%     
==========================================
  Files         336      336              
  Lines        7214     7211       -3     
  Branches     1799     1807       +8     
==========================================
- Hits         6692     6689       -3     
- Misses        486      514      +28     
+ Partials       36        8      -28     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

: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.

codecov[bot] avatar Apr 26 '25 15:04 codecov[bot]

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
./lib/bundle/antd-mobile.es.js 0 B (-109.12 KB 🔽) 0 ms (-100% 🔽) 0 ms (-100% 🔽) 0 ms
lib/bundle/antd-mobile.es.js 109.49 KB (+109.49 KB 🔺) 2.2 s (+100% 🔺) 308 ms (+100% 🔺) 2.5 s

github-actions[bot] avatar Apr 26 '25 16:04 github-actions[bot]