platform-agnostic sqlite implementation + bun support #26

Merged
teidesu merged 5 commits from sqlite-abstract into master 2024-03-23 23:14:11 +03:00
teidesu commented 2024-03-20 01:20:15 +03:00 (Migrated from github.com)
No description provided.
codecov[bot] commented 2024-03-20 01:28:26 +03:00 (Migrated from github.com)

Codecov Report

Attention: Patch coverage is 19.36275% with 658 lines in your changes are missing coverage. Please review.

Project coverage is 60.12%. Comparing base (0a072ce) to head (9d34d90).

Files Patch % Lines
packages/bun/src/client.ts 0.00% 147 Missing ⚠️
packages/bun/src/utils/tcp.ts 0.00% 126 Missing ⚠️
packages/bun/src/utils/crypto.ts 0.00% 119 Missing ⚠️
packages/bun/src/worker.ts 0.00% 67 Missing ⚠️
packages/bun/src/methods/download-file.ts 0.00% 39 Missing ⚠️
packages/bun/src/sqlite/driver.ts 0.00% 36 Missing ⚠️
packages/bun/src/utils/normalize-file.ts 0.00% 33 Missing ⚠️
packages/create-bot/src/features/cli.ts 0.00% 24 Missing ⚠️
packages/bun/src/methods/download-node-stream.ts 0.00% 19 Missing ⚠️
packages/node/src/utils/stream-utils.ts 7.14% 13 Missing ⚠️
... and 8 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #26      +/-   ##
==========================================
- Coverage   60.66%   60.12%   -0.54%     
==========================================
  Files         609      621      +12     
  Lines       67272    67929     +657     
  Branches     2967     2981      +14     
==========================================
+ Hits        40810    40845      +35     
- Misses      26462    27084     +622     

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

## [Codecov](https://app.codecov.io/gh/mtcute/mtcute/pull/26?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 `19.36275%` with `658 lines` in your changes are missing coverage. Please review. > Project coverage is 60.12%. Comparing base [(`0a072ce`)](https://app.codecov.io/gh/mtcute/mtcute/commit/0a072ce6a56fa50ab07e909d9b02d1b3461e45b7?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) to head [(`9d34d90`)](https://app.codecov.io/gh/mtcute/mtcute/pull/26?dropdown=coverage&src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute). | [Files](https://app.codecov.io/gh/mtcute/mtcute/pull/26?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/bun/src/client.ts](https://app.codecov.io/gh/mtcute/mtcute/pull/26?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute#diff-cGFja2FnZXMvYnVuL3NyYy9jbGllbnQudHM=) | 0.00% | [147 Missing :warning: ](https://app.codecov.io/gh/mtcute/mtcute/pull/26?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) | | [packages/bun/src/utils/tcp.ts](https://app.codecov.io/gh/mtcute/mtcute/pull/26?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute#diff-cGFja2FnZXMvYnVuL3NyYy91dGlscy90Y3AudHM=) | 0.00% | [126 Missing :warning: ](https://app.codecov.io/gh/mtcute/mtcute/pull/26?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) | | [packages/bun/src/utils/crypto.ts](https://app.codecov.io/gh/mtcute/mtcute/pull/26?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute#diff-cGFja2FnZXMvYnVuL3NyYy91dGlscy9jcnlwdG8udHM=) | 0.00% | [119 Missing :warning: ](https://app.codecov.io/gh/mtcute/mtcute/pull/26?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) | | [packages/bun/src/worker.ts](https://app.codecov.io/gh/mtcute/mtcute/pull/26?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute#diff-cGFja2FnZXMvYnVuL3NyYy93b3JrZXIudHM=) | 0.00% | [67 Missing :warning: ](https://app.codecov.io/gh/mtcute/mtcute/pull/26?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) | | [packages/bun/src/methods/download-file.ts](https://app.codecov.io/gh/mtcute/mtcute/pull/26?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute#diff-cGFja2FnZXMvYnVuL3NyYy9tZXRob2RzL2Rvd25sb2FkLWZpbGUudHM=) | 0.00% | [39 Missing :warning: ](https://app.codecov.io/gh/mtcute/mtcute/pull/26?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) | | [packages/bun/src/sqlite/driver.ts](https://app.codecov.io/gh/mtcute/mtcute/pull/26?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute#diff-cGFja2FnZXMvYnVuL3NyYy9zcWxpdGUvZHJpdmVyLnRz) | 0.00% | [36 Missing :warning: ](https://app.codecov.io/gh/mtcute/mtcute/pull/26?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/26?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute#diff-cGFja2FnZXMvYnVuL3NyYy91dGlscy9ub3JtYWxpemUtZmlsZS50cw==) | 0.00% | [33 Missing :warning: ](https://app.codecov.io/gh/mtcute/mtcute/pull/26?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) | | [packages/create-bot/src/features/cli.ts](https://app.codecov.io/gh/mtcute/mtcute/pull/26?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute#diff-cGFja2FnZXMvY3JlYXRlLWJvdC9zcmMvZmVhdHVyZXMvY2xpLnRz) | 0.00% | [24 Missing :warning: ](https://app.codecov.io/gh/mtcute/mtcute/pull/26?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) | | [packages/bun/src/methods/download-node-stream.ts](https://app.codecov.io/gh/mtcute/mtcute/pull/26?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute#diff-cGFja2FnZXMvYnVuL3NyYy9tZXRob2RzL2Rvd25sb2FkLW5vZGUtc3RyZWFtLnRz) | 0.00% | [19 Missing :warning: ](https://app.codecov.io/gh/mtcute/mtcute/pull/26?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) | | [packages/node/src/utils/stream-utils.ts](https://app.codecov.io/gh/mtcute/mtcute/pull/26?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute#diff-cGFja2FnZXMvbm9kZS9zcmMvdXRpbHMvc3RyZWFtLXV0aWxzLnRz) | 7.14% | [13 Missing :warning: ](https://app.codecov.io/gh/mtcute/mtcute/pull/26?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mtcute) | | ... and [8 more](https://app.codecov.io/gh/mtcute/mtcute/pull/26?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 #26 +/- ## ========================================== - Coverage 60.66% 60.12% -0.54% ========================================== Files 609 621 +12 Lines 67272 67929 +657 Branches 2967 2981 +14 ========================================== + Hits 40810 40845 +35 - Misses 26462 27084 +622 ``` </details> [:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/mtcute/mtcute/pull/26?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).
Sign in to join this conversation.
No description provided.