Don't swallow fetch TypeError as CORS in non-browser environments (#1595)

Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
This commit is contained in:
bhosmer-ant 2026-03-25 06:45:59 -04:00 • committed by GitHub
commit 13a0d345c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,8 +30,8 @@
"import": "./dist/shimsWorkerd.mjs"
},
"browser": {
"types": "./dist/shimsWorkerd.d.mts",
"import": "./dist/shimsWorkerd.mjs"
"types": "./dist/shimsBrowser.d.mts",
"import": "./dist/shimsBrowser.mjs"
},
"node": {
"types": "./dist/shimsNode.d.mts",