msw 2.8.5 → 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 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
- - [**Getting started**](https://mswjs.io/docs/getting-started)
34
+ - [**Quick start**](https://mswjs.io/docs/quick-start)
35
35
  - [FAQ](https://mswjs.io/docs/faq)
36
36
 
37
37
  ## Examples
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "type": "module",
3
- "main": "../lib/browser/index.mjs",
4
- "types": "../lib/browser/index.d.mts",
3
+ "main": "../lib/browser/index.js",
4
+ "module": "../lib/browser/index.mjs",
5
+ "types": "../lib/browser/index.d.ts",
5
6
  "exports": {
6
7
  ".": {
7
8
  "module-sync": {
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/getting-started'))}
152
+ ${colors.red(colors.bold('https://mswjs.io/docs/quick-start'))}
153
153
  `)
154
154
  }
155
155
 
@@ -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/recipes/mocking-error-responses`,
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