• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Kikobeats / https-tls / 40733799220
100%

Build:
DEFAULT BRANCH: master
Ran 28 Oct 2026 05:14PM UTC
Jobs 1
Files 4
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Oct 2026 05:14PM UTC coverage: 99.653% (+1.1%) from 98.507%
40733799220

push

github

web-flow
fix(tls): let caller options win over the browser profile (#29)

* fix(tls): let caller options win over the browser profile

tls(userAgent, httpsOpts) copied the caller options and then assigned
ciphers, signatureAlgorithms, ecdhCurve, minVersion and maxVersion from the
browser profile unconditionally. A caller asking for minVersion TLSv1.2 with
a Chrome user agent got TLSv1 back, and through the got hook a caller
ecdhCurve was replaced, since the hook only bails out for the other four.

The profile is a set of defaults, so each field is now assigned only when
the caller left it unset (undefined or null). got 12+ normalizes https
options with every key present and undefined, so treating undefined as
unset keeps the profile working there. A caller secureProtocol already pins
the TLS version, and Node throws ERR_TLS_PROTOCOL_VERSION_CONFLICT when it
is combined with minVersion or maxVersion, so the profile versions are
skipped in that case. The caller object is still copied, never mutated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(tls): lock every nullish profile default

signatureAlgorithms, ecdhCurve, minVersion, and maxVersion could be
overwritten, or skip a null, without a failing test. Empty strings are
caller values, and a null secureProtocol is unset. The hook also skips
decoration when a profile field is already set.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(tls): keep the profile minimum within the caller maximum

A caller maximum below the profile minimum left no protocol Node 18 can negotiate.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>

39 of 40 branches covered (97.5%)

Branch coverage included in aggregate %.

17 of 17 new or added lines in 1 file covered. (100.0%)

248 of 248 relevant lines covered (100.0%)

11.25 hits per line

Jobs
ID Job ID Ran Files Coverage
1 40733799220.1 28 Oct 2026 05:14PM UTC 4
99.65
GitHub Action Run
Source Files on build 40733799220
  • Tree
  • List 4
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #40733799220
  • 6bae081c on github
  • Prev Build on master (#40680053934)
  • Next Build on master (#40734397093)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc