We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95b38e9 commit 54f1fedCopy full SHA for 54f1fed
bun.lockb
-32 Bytes
packages/connect/happy-dom.ts
@@ -1,10 +1,5 @@
1
import { GlobalRegistrator } from "@happy-dom/global-registrator";
2
-import { BrowserNavigationCrossOriginPolicyEnum } from "happy-dom";
3
4
-GlobalRegistrator.register({
5
- settings: {
6
- navigation: {
7
- crossOriginPolicy: BrowserNavigationCrossOriginPolicyEnum.anyOrigin,
8
- },
9
10
-});
+const bunFetch = fetch;
+GlobalRegistrator.register();
+window.fetch = bunFetch;
packages/connect/package.json
@@ -29,8 +29,7 @@
29
"zod": "3.23.8"
30
},
31
"devDependencies": {
32
- "@happy-dom/global-registrator": "15.7.4",
33
- "happy-dom": "^15.7.4"
+ "@happy-dom/global-registrator": "15.7.4"
34
35
"peerDependencies": {
36
"typescript": "^5.0.0"
0 commit comments