transmute-industries / verifiable-data

Open Source Decentralized Identifiers and Verifiable Credentials Infrastructure and Tooling
https://transmute-industries.github.io/verifiable-data/smoke-test-react/
Apache License 2.0
51 stars 21 forks source link

Upgrade to latest version jsonld #242

Open zbarbuto opened 12 months ago

zbarbuto commented 12 months ago

jsonld@5.2.0 used by most packages in this repo imports @digitalbazaar/http-client@1.2.0 which has issues running in a jest environment with node > 18.

image

This has since been fixed with the @digitalbazaar/http-client@3.4.0 used in jsonld@8.x.y.

While most packages in this repo depend on jsonld@5.2.0 directly, there is also a dependency chain of

@transmute/did-key-common->@did-core/did-ld-json->jsonld-checker->jsonld@5.2.0

jsonld-checker hasn't been updated in a while so would be tricky to get around that direct dependency on jsonld@5.2.0.

OR13 commented 12 months ago

Thanks for reporting this, I've encountered it was well.

There are some issues with typescript I think that may have prevented us from doing this sooner