jsonld.js
jsonld.js copied to clipboard
Bump http-client version to 4.1.1
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).
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 )
================================================================================
Fixed in v9.0.0.