msw 0.47.2 → 0.47.4

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.
@@ -639,7 +639,7 @@ import * as cookieUtils3 from "cookie";
639
639
  import { store } from "@mswjs/cookies";
640
640
  import { IsomorphicRequest } from "@mswjs/interceptors";
641
641
  import { decodeBuffer } from "@mswjs/interceptors/lib/utils/bufferUtils";
642
- import { Headers as Headers2 } from "headers-polyfill/lib";
642
+ import { Headers as Headers2 } from "headers-polyfill";
643
643
 
644
644
  // src/utils/request/getRequestCookies.ts
645
645
  import * as cookieUtils2 from "cookie";
@@ -772,7 +772,7 @@ var response = Object.assign(createResponseComposition(), {
772
772
  });
773
773
 
774
774
  // src/utils/internal/getCallFrame.ts
775
- var SOURCE_FRAME = /\/msw\/src\/(.+)/;
775
+ var SOURCE_FRAME = /[\/\\]msw[\/\\]src[\/\\](.+)/;
776
776
  var BUILD_FRAME = /(node_modules)?[\/\\]lib[\/\\](umd|esm|iief|cjs)[\/\\]|^[^\/\\]*$/;
777
777
  function getCallFrame(error2) {
778
778
  const stack = error2.stack;