configcat / js-ssr-sdk

ConfigCat SDK for JavaScript Server Side Rendered applications like NuxtJS. ConfigCat is a hosted feature flag service: https://configcat.com. Manage feature toggles across frontend, backend, mobile, desktop apps. Alternative to LaunchDarkly. Management app + feature flag SDKs.
https://configcat.com/docs/sdk-reference/js-ssr
MIT License
12 stars 6 forks source link

Updates project to upcoming configcat-common v7.0 #53

Closed adams85 closed 1 year ago

adams85 commented 1 year ago

Describe the purpose of your pull request

Also, revises the test runner (karma) configuration because package resolution in karma-typescript seems kind of broken, which blocks using/upgrading to newer packages (e.g. mocha 9.0.0+ or mock-xmlhttprequest 8.0.0+):

Requirement checklist (only if applicable)

codecov[bot] commented 1 year ago

Codecov Report

Base: 95.37% // Head: 84.90% // Decreases project coverage by -10.47% :warning:

Coverage data is based on head (d544e78) compared to base (1422b7d). Patch coverage: 76.47% of modified lines in pull request are covered.

:exclamation: Current head d544e78 differs from pull request most recent head d4425ea. Consider uploading reports for the commit d4425ea to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #53 +/- ## =========================================== - Coverage 95.37% 84.90% -10.48% =========================================== Files 6 3 -3 Lines 346 53 -293 Branches 15 10 -5 =========================================== - Hits 330 45 -285 + Misses 11 4 -7 + Partials 5 4 -1 ``` | [Impacted Files](https://codecov.io/gh/configcat/js-ssr-sdk/pull/53?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=configcat) | Coverage Δ | | |---|---|---| | [src/index.ts](https://codecov.io/gh/configcat/js-ssr-sdk/pull/53/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=configcat#diff-c3JjL2luZGV4LnRz) | `75.00% <50.00%> (-19.45%)` | :arrow_down: | | [src/ConfigFetcher.ts](https://codecov.io/gh/configcat/js-ssr-sdk/pull/53/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=configcat#diff-c3JjL0NvbmZpZ0ZldGNoZXIudHM=) | `80.00% <78.26%> (+33.84%)` | :arrow_up: | | [src/Cache.ts](https://codecov.io/gh/configcat/js-ssr-sdk/pull/53/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=configcat#diff-c3JjL0NhY2hlLnRz) | `95.00% <85.71%> (+0.26%)` | :arrow_up: | | [test/IndexTests.ts](https://codecov.io/gh/configcat/js-ssr-sdk/pull/53/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=configcat#diff-dGVzdC9JbmRleFRlc3RzLnRz) | | | | [test/IntegrationTests.ts](https://codecov.io/gh/configcat/js-ssr-sdk/pull/53/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=configcat#diff-dGVzdC9JbnRlZ3JhdGlvblRlc3RzLnRz) | | | | [src/Version.ts](https://codecov.io/gh/configcat/js-ssr-sdk/pull/53/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=configcat#diff-c3JjL1ZlcnNpb24udHM=) | | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=configcat). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=configcat)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

sonarcloud[bot] commented 1 year ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 18 Code Smells

No Coverage information No Coverage information
20.7% 20.7% Duplication