msw 2.8.6 → 2.8.7
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/README.md +1 -1
- package/cli/init.js +1 -1
- package/lib/browser/index.js +1 -1
- package/lib/browser/index.js.map +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/index.mjs.map +1 -1
- package/lib/core/handlers/HttpHandler.js +1 -1
- package/lib/core/handlers/HttpHandler.js.map +1 -1
- package/lib/core/handlers/HttpHandler.mjs +1 -1
- package/lib/core/handlers/HttpHandler.mjs.map +1 -1
- package/lib/core/utils/request/onUnhandledRequest.js +1 -1
- package/lib/core/utils/request/onUnhandledRequest.js.map +1 -1
- package/lib/core/utils/request/onUnhandledRequest.mjs +1 -1
- package/lib/core/utils/request/onUnhandledRequest.mjs.map +1 -1
- package/lib/iife/index.js +3 -3
- package/lib/iife/index.js.map +1 -1
- package/lib/mockServiceWorker.js +1 -1
- package/package.json +2 -2
- package/src/browser/setupWorker/start/createRequestListener.ts +1 -1
- package/src/core/handlers/HttpHandler.ts +1 -1
- package/src/core/utils/request/onUnhandledRequest.test.ts +3 -3
- package/src/core/utils/request/onUnhandledRequest.ts +1 -1
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
This README will give you a brief overview of the library, but there's no better place to start with Mock Service Worker than its official documentation.
|
|
32
32
|
|
|
33
33
|
- [Documentation](https://mswjs.io/docs)
|
|
34
|
-
- [**
|
|
34
|
+
- [**Quick start**](https://mswjs.io/docs/quick-start)
|
|
35
35
|
- [FAQ](https://mswjs.io/docs/faq)
|
|
36
36
|
|
|
37
37
|
## Examples
|
package/cli/init.js
CHANGED
|
@@ -149,7 +149,7 @@ ${paths.map((path) => colors.gray(` - ${path}\n`))}
|
|
|
149
149
|
Continue by describing the network in your application:
|
|
150
150
|
|
|
151
151
|
|
|
152
|
-
${colors.red(colors.bold('https://mswjs.io/docs/
|
|
152
|
+
${colors.red(colors.bold('https://mswjs.io/docs/quick-start'))}
|
|
153
153
|
`)
|
|
154
154
|
}
|
|
155
155
|
|
package/lib/browser/index.js
CHANGED
|
@@ -363,7 +363,7 @@ var createRequestListener = (context, options) => {
|
|
|
363
363
|
|
|
364
364
|
%s
|
|
365
365
|
|
|
366
|
-
This exception has been gracefully handled as a 500 response, however, it's strongly recommended to resolve this error, as it indicates a mistake in your code. If you wish to mock an error response, please see this guide: https://mswjs.io/docs/
|
|
366
|
+
This exception has been gracefully handled as a 500 response, however, it's strongly recommended to resolve this error, as it indicates a mistake in your code. If you wish to mock an error response, please see this guide: https://mswjs.io/docs/http/mocking-responses/error-responses`,
|
|
367
367
|
request.method,
|
|
368
368
|
request.url,
|
|
369
369
|
error2.stack ?? error2
|