build: build with vite (major cleanup part2) #67

Merged
teidesu merged 3 commits from vite-build into master 2024-08-27 23:05:21 +03:00
teidesu commented 2024-08-19 14:09:06 +03:00 (Migrated from github.com)
No description provided.
codecov[bot] commented 2024-08-19 14:11:56 +03:00 (Migrated from github.com)

Codecov Report

Attention: Patch coverage is 57.14286% with 66 lines in your changes missing coverage. Please review.

Project coverage is 52.51%. Comparing base (748517a) to head (8f0a4ec).
Report is 4 commits behind head on master.

Files Patch % Lines
packages/core/src/highlevel/types/conversation.ts 10.00% 9 Missing ⚠️
packages/core/src/network/session-connection.ts 27.27% 8 Missing ⚠️
packages/core/src/highlevel/updates/manager.ts 33.33% 6 Missing ⚠️
packages/core/src/utils/timers.ts 72.72% 6 Missing ⚠️
packages/tl/scripts/fetch-api.ts 0.00% 5 Missing ⚠️
packages/core/src/network/mtproto-session.ts 42.85% 4 Missing ⚠️
packages/core/src/network/persistent-connection.ts 66.66% 4 Missing ⚠️
packages/core/src/utils/misc-utils.ts 40.00% 3 Missing ⚠️
packages/dispatcher/src/context/callback-query.ts 0.00% 3 Missing ⚠️
packages/dispatcher/src/state/service.ts 25.00% 3 Missing ⚠️
... and 13 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #67      +/-   ##
==========================================
- Coverage   52.52%   52.51%   -0.02%     
==========================================
  Files         785      786       +1     
  Lines       49085    49101      +16     
  Branches     4924     4918       -6     
==========================================
+ Hits        25782    25783       +1     
- Misses      23303    23318      +15     

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

## [Codecov](https://app.codecov.io/gh/mtcute/mtcute/pull/67?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) Report Attention: Patch coverage is `57.14286%` with `66 lines` in your changes missing coverage. Please review. > Project coverage is 52.51%. Comparing base [(`748517a`)](https://app.codecov.io/gh/mtcute/mtcute/commit/748517a8fc6041f8d21f447d0603f0ca79368219?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) to head [(`8f0a4ec`)](https://app.codecov.io/gh/mtcute/mtcute/commit/8f0a4ec4aacf3dc098c3b576a4cb86b8037a8767?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute). > Report is 4 commits behind head on master. | [Files](https://app.codecov.io/gh/mtcute/mtcute/pull/67?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) | Patch % | Lines | |---|---|---| | [packages/core/src/highlevel/types/conversation.ts](https://app.codecov.io/gh/mtcute/mtcute/pull/67?src=pr&el=tree&filepath=packages%2Fcore%2Fsrc%2Fhighlevel%2Ftypes%2Fconversation.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute#diff-cGFja2FnZXMvY29yZS9zcmMvaGlnaGxldmVsL3R5cGVzL2NvbnZlcnNhdGlvbi50cw==) | 10.00% | [9 Missing :warning: ](https://app.codecov.io/gh/mtcute/mtcute/pull/67?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) | | [packages/core/src/network/session-connection.ts](https://app.codecov.io/gh/mtcute/mtcute/pull/67?src=pr&el=tree&filepath=packages%2Fcore%2Fsrc%2Fnetwork%2Fsession-connection.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute#diff-cGFja2FnZXMvY29yZS9zcmMvbmV0d29yay9zZXNzaW9uLWNvbm5lY3Rpb24udHM=) | 27.27% | [8 Missing :warning: ](https://app.codecov.io/gh/mtcute/mtcute/pull/67?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) | | [packages/core/src/highlevel/updates/manager.ts](https://app.codecov.io/gh/mtcute/mtcute/pull/67?src=pr&el=tree&filepath=packages%2Fcore%2Fsrc%2Fhighlevel%2Fupdates%2Fmanager.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute#diff-cGFja2FnZXMvY29yZS9zcmMvaGlnaGxldmVsL3VwZGF0ZXMvbWFuYWdlci50cw==) | 33.33% | [6 Missing :warning: ](https://app.codecov.io/gh/mtcute/mtcute/pull/67?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) | | [packages/core/src/utils/timers.ts](https://app.codecov.io/gh/mtcute/mtcute/pull/67?src=pr&el=tree&filepath=packages%2Fcore%2Fsrc%2Futils%2Ftimers.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute#diff-cGFja2FnZXMvY29yZS9zcmMvdXRpbHMvdGltZXJzLnRz) | 72.72% | [6 Missing :warning: ](https://app.codecov.io/gh/mtcute/mtcute/pull/67?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) | | [packages/tl/scripts/fetch-api.ts](https://app.codecov.io/gh/mtcute/mtcute/pull/67?src=pr&el=tree&filepath=packages%2Ftl%2Fscripts%2Ffetch-api.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute#diff-cGFja2FnZXMvdGwvc2NyaXB0cy9mZXRjaC1hcGkudHM=) | 0.00% | [5 Missing :warning: ](https://app.codecov.io/gh/mtcute/mtcute/pull/67?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) | | [packages/core/src/network/mtproto-session.ts](https://app.codecov.io/gh/mtcute/mtcute/pull/67?src=pr&el=tree&filepath=packages%2Fcore%2Fsrc%2Fnetwork%2Fmtproto-session.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute#diff-cGFja2FnZXMvY29yZS9zcmMvbmV0d29yay9tdHByb3RvLXNlc3Npb24udHM=) | 42.85% | [4 Missing :warning: ](https://app.codecov.io/gh/mtcute/mtcute/pull/67?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) | | [packages/core/src/network/persistent-connection.ts](https://app.codecov.io/gh/mtcute/mtcute/pull/67?src=pr&el=tree&filepath=packages%2Fcore%2Fsrc%2Fnetwork%2Fpersistent-connection.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute#diff-cGFja2FnZXMvY29yZS9zcmMvbmV0d29yay9wZXJzaXN0ZW50LWNvbm5lY3Rpb24udHM=) | 66.66% | [4 Missing :warning: ](https://app.codecov.io/gh/mtcute/mtcute/pull/67?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) | | [packages/core/src/utils/misc-utils.ts](https://app.codecov.io/gh/mtcute/mtcute/pull/67?src=pr&el=tree&filepath=packages%2Fcore%2Fsrc%2Futils%2Fmisc-utils.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute#diff-cGFja2FnZXMvY29yZS9zcmMvdXRpbHMvbWlzYy11dGlscy50cw==) | 40.00% | [3 Missing :warning: ](https://app.codecov.io/gh/mtcute/mtcute/pull/67?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) | | [packages/dispatcher/src/context/callback-query.ts](https://app.codecov.io/gh/mtcute/mtcute/pull/67?src=pr&el=tree&filepath=packages%2Fdispatcher%2Fsrc%2Fcontext%2Fcallback-query.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute#diff-cGFja2FnZXMvZGlzcGF0Y2hlci9zcmMvY29udGV4dC9jYWxsYmFjay1xdWVyeS50cw==) | 0.00% | [3 Missing :warning: ](https://app.codecov.io/gh/mtcute/mtcute/pull/67?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) | | [packages/dispatcher/src/state/service.ts](https://app.codecov.io/gh/mtcute/mtcute/pull/67?src=pr&el=tree&filepath=packages%2Fdispatcher%2Fsrc%2Fstate%2Fservice.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute#diff-cGFja2FnZXMvZGlzcGF0Y2hlci9zcmMvc3RhdGUvc2VydmljZS50cw==) | 25.00% | [3 Missing :warning: ](https://app.codecov.io/gh/mtcute/mtcute/pull/67?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) | | ... and [13 more](https://app.codecov.io/gh/mtcute/mtcute/pull/67?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) | | <details><summary>Additional details and impacted files</summary> ```diff @@ Coverage Diff @@ ## master #67 +/- ## ========================================== - Coverage 52.52% 52.51% -0.02% ========================================== Files 785 786 +1 Lines 49085 49101 +16 Branches 4924 4918 -6 ========================================== + Hits 25782 25783 +1 - Misses 23303 23318 +15 ``` </details> [:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/mtcute/mtcute/pull/67?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute). :loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute).
github-advanced-security[bot] (Migrated from github.com) reviewed 2024-08-21 11:08:09 +03:00
github-advanced-security[bot] (Migrated from github.com) commented 2024-08-21 11:08:09 +03:00

Shell command built from environment values

This shell command depends on an uncontrolled file name.

Show more details

## Shell command built from environment values This shell command depends on an uncontrolled [file name](1). [Show more details](https://github.com/mtcute/mtcute/security/code-scanning/43)
Sign in to join this conversation.
No description provided.