msw 0.49.1 → 0.49.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/iife/index.js CHANGED
@@ -9532,7 +9532,7 @@ Invalid value has been removed from localStorage to prevent subsequent failed pa
9532
9532
 
9533
9533
  // src/context/fetch.ts
9534
9534
  var import_is_node_process2 = __toESM(require_lib());
9535
- var useFetch = (0, import_is_node_process2.isNodeProcess)() ? (input, init) => Promise.resolve().then(() => __toESM(require_browser())).then(({ default: nodeFetch }) => nodeFetch(input, init)) : window.fetch;
9535
+ var useFetch = (0, import_is_node_process2.isNodeProcess)() ? (input, init) => Promise.resolve().then(() => __toESM(require_browser())).then(({ default: nodeFetch }) => nodeFetch(input, init)) : globalThis.fetch;
9536
9536
  var augmentRequestInit = (requestInit) => {
9537
9537
  const headers = new HeadersPolyfill(requestInit.headers);
9538
9538
  headers.set("x-msw-bypass", "true");