jsonld.js icon indicating copy to clipboard operation
jsonld.js copied to clipboard

Bump http-client version to 4.1.1

Open RinkeHoekstra opened this issue 1 year ago • 1 comments

The package was still relying on an older 3.x version of http-client that depended on a version of ky that required ky-universal which causes issues as it has a top-level await. The latest version of ky no longer has this dependency, and http-client no longer depends on this old version since https://github.com/digitalbazaar/http-client/commit/895bdd25dbc44381b61033bf4611c1da36a90613 (in Sept. 2023).

RinkeHoekstra avatar Dec 19 '24 11:12 RinkeHoekstra

I ran the tests and can confirm that coverage is equivalent with the previous version of http-client:

=============================== Coverage summary ===============================
Statements   : 93.71% ( 2849/3040 )
Branches     : 90.8% ( 2419/2664 )
Functions    : 93.54% ( 174/186 )
Lines        : 93.63% ( 2796/2986 )
================================================================================

RinkeHoekstra avatar Dec 19 '24 11:12 RinkeHoekstra

Fixed in v9.0.0.

davidlehn avatar Nov 21 '25 02:11 davidlehn