msw 0.48.0 → 0.48.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
@@ -9607,8 +9607,8 @@ Invalid value has been removed from localStorage to prevent subsequent failed pa
9607
9607
  };
9608
9608
 
9609
9609
  // src/utils/url/getAbsoluteWorkerUrl.ts
9610
- function getAbsoluteWorkerUrl(relativeUrl) {
9611
- return new URL(relativeUrl, location.origin).href;
9610
+ function getAbsoluteWorkerUrl(workerUrl) {
9611
+ return new URL(workerUrl, location.href).href;
9612
9612
  }
9613
9613
 
9614
9614
  // src/utils/internal/devUtils.ts