major cleanup (part 1) #66

Merged
teidesu merged 8 commits from bump-deps into master 2024-08-18 15:36:34 +03:00
teidesu commented 2024-08-12 05:24:06 +03:00 (Migrated from github.com)
No description provided.
codecov[bot] commented 2024-08-12 05:27:34 +03:00 (Migrated from github.com)

Codecov Report

Attention: Patch coverage is 50.38911% with 255 lines in your changes missing coverage. Please review.

Project coverage is 52.75%. Comparing base (12861d6) to head (657fea8).
Report is 9 commits behind head on master.

Files Patch % Lines
...c/highlevel/methods/files/normalize-input-media.ts 0.00% 20 Missing ⚠️
packages/core/src/highlevel/methods/auth/start.ts 0.00% 15 Missing ⚠️
...core/src/highlevel/methods/dialogs/iter-dialogs.ts 10.00% 9 Missing ⚠️
packages/bun/src/client.ts 0.00% 8 Missing ⚠️
packages/bun/src/utils/normalize-file.ts 0.00% 8 Missing ⚠️
.../src/highlevel/methods/bots/answer-inline-query.ts 11.11% 8 Missing ⚠️
...ore/src/highlevel/methods/chats/get-chat-member.ts 12.50% 7 Missing ⚠️
...e/src/highlevel/methods/files/download-iterable.ts 12.50% 7 Missing ⚠️
...e/src/highlevel/methods/messages/find-in-update.ts 30.00% 7 Missing ⚠️
...es/core/src/highlevel/methods/files/upload-file.ts 25.00% 6 Missing ⚠️
... and 67 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #66      +/-   ##
==========================================
- Coverage   56.31%   52.75%   -3.56%     
==========================================
  Files         684      780      +96     
  Lines       74198    48755   -25443     
  Branches     3262     4924    +1662     
==========================================
- Hits        41782    25723   -16059     
+ Misses      32416    23032    -9384     

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

## [Codecov](https://app.codecov.io/gh/mtcute/mtcute/pull/66?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 `50.38911%` with `255 lines` in your changes missing coverage. Please review. > Project coverage is 52.75%. Comparing base [(`12861d6`)](https://app.codecov.io/gh/mtcute/mtcute/commit/12861d6d02c1d4e06b42bbad1b591997d67b5492?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) to head [(`657fea8`)](https://app.codecov.io/gh/mtcute/mtcute/commit/657fea85181a61e2441522929088d98b4802a60b?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute). > Report is 9 commits behind head on master. | [Files](https://app.codecov.io/gh/mtcute/mtcute/pull/66?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) | Patch % | Lines | |---|---|---| | [...c/highlevel/methods/files/normalize-input-media.ts](https://app.codecov.io/gh/mtcute/mtcute/pull/66?src=pr&el=tree&filepath=packages%2Fcore%2Fsrc%2Fhighlevel%2Fmethods%2Ffiles%2Fnormalize-input-media.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute#diff-cGFja2FnZXMvY29yZS9zcmMvaGlnaGxldmVsL21ldGhvZHMvZmlsZXMvbm9ybWFsaXplLWlucHV0LW1lZGlhLnRz) | 0.00% | [20 Missing :warning: ](https://app.codecov.io/gh/mtcute/mtcute/pull/66?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) | | [packages/core/src/highlevel/methods/auth/start.ts](https://app.codecov.io/gh/mtcute/mtcute/pull/66?src=pr&el=tree&filepath=packages%2Fcore%2Fsrc%2Fhighlevel%2Fmethods%2Fauth%2Fstart.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute#diff-cGFja2FnZXMvY29yZS9zcmMvaGlnaGxldmVsL21ldGhvZHMvYXV0aC9zdGFydC50cw==) | 0.00% | [15 Missing :warning: ](https://app.codecov.io/gh/mtcute/mtcute/pull/66?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) | | [...core/src/highlevel/methods/dialogs/iter-dialogs.ts](https://app.codecov.io/gh/mtcute/mtcute/pull/66?src=pr&el=tree&filepath=packages%2Fcore%2Fsrc%2Fhighlevel%2Fmethods%2Fdialogs%2Fiter-dialogs.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute#diff-cGFja2FnZXMvY29yZS9zcmMvaGlnaGxldmVsL21ldGhvZHMvZGlhbG9ncy9pdGVyLWRpYWxvZ3MudHM=) | 10.00% | [9 Missing :warning: ](https://app.codecov.io/gh/mtcute/mtcute/pull/66?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) | | [packages/bun/src/client.ts](https://app.codecov.io/gh/mtcute/mtcute/pull/66?src=pr&el=tree&filepath=packages%2Fbun%2Fsrc%2Fclient.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute#diff-cGFja2FnZXMvYnVuL3NyYy9jbGllbnQudHM=) | 0.00% | [8 Missing :warning: ](https://app.codecov.io/gh/mtcute/mtcute/pull/66?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) | | [packages/bun/src/utils/normalize-file.ts](https://app.codecov.io/gh/mtcute/mtcute/pull/66?src=pr&el=tree&filepath=packages%2Fbun%2Fsrc%2Futils%2Fnormalize-file.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute#diff-cGFja2FnZXMvYnVuL3NyYy91dGlscy9ub3JtYWxpemUtZmlsZS50cw==) | 0.00% | [8 Missing :warning: ](https://app.codecov.io/gh/mtcute/mtcute/pull/66?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) | | [.../src/highlevel/methods/bots/answer-inline-query.ts](https://app.codecov.io/gh/mtcute/mtcute/pull/66?src=pr&el=tree&filepath=packages%2Fcore%2Fsrc%2Fhighlevel%2Fmethods%2Fbots%2Fanswer-inline-query.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute#diff-cGFja2FnZXMvY29yZS9zcmMvaGlnaGxldmVsL21ldGhvZHMvYm90cy9hbnN3ZXItaW5saW5lLXF1ZXJ5LnRz) | 11.11% | [8 Missing :warning: ](https://app.codecov.io/gh/mtcute/mtcute/pull/66?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) | | [...ore/src/highlevel/methods/chats/get-chat-member.ts](https://app.codecov.io/gh/mtcute/mtcute/pull/66?src=pr&el=tree&filepath=packages%2Fcore%2Fsrc%2Fhighlevel%2Fmethods%2Fchats%2Fget-chat-member.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute#diff-cGFja2FnZXMvY29yZS9zcmMvaGlnaGxldmVsL21ldGhvZHMvY2hhdHMvZ2V0LWNoYXQtbWVtYmVyLnRz) | 12.50% | [7 Missing :warning: ](https://app.codecov.io/gh/mtcute/mtcute/pull/66?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) | | [...e/src/highlevel/methods/files/download-iterable.ts](https://app.codecov.io/gh/mtcute/mtcute/pull/66?src=pr&el=tree&filepath=packages%2Fcore%2Fsrc%2Fhighlevel%2Fmethods%2Ffiles%2Fdownload-iterable.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute#diff-cGFja2FnZXMvY29yZS9zcmMvaGlnaGxldmVsL21ldGhvZHMvZmlsZXMvZG93bmxvYWQtaXRlcmFibGUudHM=) | 12.50% | [7 Missing :warning: ](https://app.codecov.io/gh/mtcute/mtcute/pull/66?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) | | [...e/src/highlevel/methods/messages/find-in-update.ts](https://app.codecov.io/gh/mtcute/mtcute/pull/66?src=pr&el=tree&filepath=packages%2Fcore%2Fsrc%2Fhighlevel%2Fmethods%2Fmessages%2Ffind-in-update.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute#diff-cGFja2FnZXMvY29yZS9zcmMvaGlnaGxldmVsL21ldGhvZHMvbWVzc2FnZXMvZmluZC1pbi11cGRhdGUudHM=) | 30.00% | [7 Missing :warning: ](https://app.codecov.io/gh/mtcute/mtcute/pull/66?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) | | [...es/core/src/highlevel/methods/files/upload-file.ts](https://app.codecov.io/gh/mtcute/mtcute/pull/66?src=pr&el=tree&filepath=packages%2Fcore%2Fsrc%2Fhighlevel%2Fmethods%2Ffiles%2Fupload-file.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute#diff-cGFja2FnZXMvY29yZS9zcmMvaGlnaGxldmVsL21ldGhvZHMvZmlsZXMvdXBsb2FkLWZpbGUudHM=) | 25.00% | [6 Missing :warning: ](https://app.codecov.io/gh/mtcute/mtcute/pull/66?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) | | ... and [67 more](https://app.codecov.io/gh/mtcute/mtcute/pull/66?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 #66 +/- ## ========================================== - Coverage 56.31% 52.75% -3.56% ========================================== Files 684 780 +96 Lines 74198 48755 -25443 Branches 3262 4924 +1662 ========================================== - Hits 41782 25723 -16059 + Misses 32416 23032 -9384 ``` </details> [:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/mtcute/mtcute/pull/66?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-13 04:55:36 +03:00
github-advanced-security[bot] (Migrated from github.com) commented 2024-08-13 04:55:36 +03:00

Shell command built from environment values

This shell command depends on an uncontrolled absolute path.
This shell command depends on an uncontrolled absolute path.

Show more details

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