Closed davidlehn closed 2 years ago
Looks like ky-universal index.js doesn't make it past node 12 parser. If we have to remove node 12 support, this will need to be a major release.
Merging #484 (69e0582) into v5.x (ee976d2) will decrease coverage by
0.06%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## v5.x #484 +/- ##
==========================================
- Coverage 92.71% 92.64% -0.07%
==========================================
Files 23 23
Lines 2856 2857 +1
==========================================
- Hits 2648 2647 -1
- Misses 208 210 +2
Impacted Files | Coverage Δ | |
---|---|---|
lib/documentLoaders/node.js | 92.30% <100.00%> (-3.01%) |
:arrow_down: |
lib/util.js | 88.48% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update ee976d2...69e0582. Read the comment docs.
The top-level await issue was a blocker. Node.js 12 won't even parse that syntax so pre loading libraries would not work. Removing Node.js 12 support and planning a major release. Will retarget to a v6.x branch. The only part that doesn't work with older versions is the included node document loader. If a solution presents itself we can backport if needed.
ky
andky-universal
that should address security alerts and provide other improvements.ky
will throw errors on redirects even when inmanual
redirect mode. Now usingthrowHttpErrors
option to turn off errors.Location
URLs to be relative references. The globalURL
interface is now used to rebuild a full URL for further redirect processing.node-forge
will output a one-time warning if code even accessesresponse.data
.@digitalbazar/http-client
will forcefully setdata
if it detects a JSON content type. Calling code can't know if that happened, so currently needs to redo content detection to know if JSONdata
can be accessed. This is an issue for sites where JSON-LD was requested but the response is non-JSON with aLink
header pointing to the JSON-LD.