Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@adobe/fetch Headers can not be used as it is missing in Polyfill #698

Open
maximilianvoss opened this issue May 7, 2024 · 0 comments
Open

Comments

@maximilianvoss
Copy link
Collaborator

Expected Behaviour

@adobe/fetch Headers can be used

Actual Behaviour

breaks due to missing in Polyfill

Reproduce Scenario (including but not limited to)

missing dependency

Steps to Reproduce

build a project and include new Headers from @adobe/fetch

Platform and Version

  • Cloudflare
  • Fastly

Sample Code that illustrates the problem

import { Headers} from "@adobe/fetch";
export async function main(request, context) {
  const headers = new Headers({});
}

Logs taken while reproducing problem

_adobe_fetch__WEBPACK_IMPORTED_MODULE_0__.Headers is not a constructor","stack":"$5413b4e374f939b6$export$a92b506d6c85facb@<stdin>:4494:23
$051f64557a3fd257$export$5817729456681d0a@<stdin>:4520:23
main@<stdin>:11074:41
async*handler@<stdin>:376:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant