Skip to content

v0.1.4: Deno 1.9+ compatibility

Compare
Choose a tag to compare
@danopia danopia released this 24 Aug 16:13
· 8 commits to main since this release
363e32f

Includes #2, fixing an error with GET requests that was introduced in Deno 1.9.1

Thanks to @rodmatos for the contribution.

A sample stack trace of the addressed issue:

TypeError: Request with GET/HEAD method cannot have body.
    at new Request (deno:extensions/fetch/23_request.js:319:15)
    at deno:extensions/fetch/26_fetch.js:412:29
    at new Promise (<anonymous>)
    at fetch (deno:extensions/fetch/26_fetch.js:399:15)
    at DatadogApiClient.fetchJson (https://deno.land/x/[email protected]/client.ts:51:24)