jellyfin / jellyfin-sdk-typescript

TypeScript SDK for Jellyfin
https://typescript-sdk.jellyfin.org
Mozilla Public License 2.0
76 stars 25 forks source link

Add isDefaultPort utility #740

Closed thornbill closed 3 months ago

thornbill commented 3 months ago

Adds a new utility function to check if a URL is using the default port. This fixes a code maintainability issue in sonar and simplifies the code a bit.

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud