
/api/* and another one pointing to /api/og/*https-proxy-agent but getting TypeError: Cannot convert object to primitive value when calling new HttpsProxyAgent(proxyUrl)
/api/*/api/og/*# npm audit report
path-to-regexp 0.2.0 - 7.2.0
Severity: high
path-to-regexp outputs backtracking regular expressions - https://github.com/advisories/GHSA-9wv6-86v2-598j
No fix available
node_modules/path-to-regexp
wrangler <=0.0.0-kickoff-demo || >=0.0.7
Depends on vulnerable versions of path-to-regexp
node_modules/wrangler
@cloudflare/vitest-pool-workers *
Depends on vulnerable versions of wrangler
node_modules/@cloudflare/vitest-pool-workers
3 high severity vulnerabilitieshttps-proxy-agentTypeError: Cannot convert object to primitive valuenew HttpsProxyAgent(proxyUrl)import { createFetch } from "node-fetch-native/proxy";
const fetch = createFetch({ url: proxyUrl });
await fetch(targetUrl);