Closed alex-all3dp closed 1 year ago
Fixing this bug should be high priority because it makes the JavaScript library unusable without modifying the package.
This would also close #351 and #242. The invalid URL in the Request constructor is causing an error to be thrown in Node, Deno, and Cloudflare Workers. new Request('')
with an empty string works in the browser because it uses the URL of the current page as a fallback.
Thanks for flagging this! v0.12.2 includes this fix.
After upgrading from 0.11.5 to 0.11.6 our application crashes on startup due to an error in the following line:
https://github.com/Airtable/airtable.js/blob/2d36eb64249a51e99cc7f2ea3dfb59cd3522a188/src/abort-controller.ts#L7
Stacktrace:
Adding a valid URL to the
Request
seems to fix it on my end.