msw 0.48.1 → 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 +2 -2
- package/lib/iife/index.js.map +1 -1
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/lib/mockServiceWorker.js +1 -1
- package/package.json +1 -1
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(
|
|
9611
|
-
return new URL(
|
|
9610
|
+
function getAbsoluteWorkerUrl(workerUrl) {
|
|
9611
|
+
return new URL(workerUrl, location.href).href;
|
|
9612
9612
|
}
|
|
9613
9613
|
|
|
9614
9614
|
// src/utils/internal/devUtils.ts
|