Skip to content

Commit

Permalink
feat(remix-node)!: don't export fetch API
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey committed Aug 29, 2023
1 parent 3e36c8d commit 0c77a0e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .changeset/heavy-items-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@remix-run/node": major
---

Don't export fetch API
8 changes: 0 additions & 8 deletions packages/remix-node/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
export type {
HeadersInit,
RequestInfo,
RequestInit,
ResponseInit,
} from "./fetch";
export { fetch, FormData, Headers, Request, Response } from "./fetch";

export { installGlobals } from "./globals";

export { createFileSessionStorage } from "./sessions/fileStorage";
Expand Down

0 comments on commit 0c77a0e

Please sign in to comment.