Skip to content
GitLab Next
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gitlab-vscode-extension gitlab-vscode-extension
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 146
    • Issues 146
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • gitlab-vscode-extensiongitlab-vscode-extension
  • Merge requests
  • !574

chore(deps): update dependency msw to ^0.44.0

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged GitLab Dependency Bot requested to merge gitlab-renovate-forks/gitlab-vscode-extension:renovate/msw-0.x into main May 30, 2022
  • Overview 2
  • Commits 1
  • Pipelines 6
  • Changes 2

This MR contains the following updates:

Package Type Update Change
msw (source) devDependencies minor ^0.41.0 -> ^0.44.0

MR created with the help of gitlab-org/frontend/renovate-gitlab-bot


Release Notes

mswjs/msw

v0.44.2

Compare Source

v0.44.2 (2022-07-19)

Bug Fixes
  • transfer mocked response as ArrayBuffer to the worker (#​1337) (95be5f8)

v0.44.1

Compare Source

v0.44.1 (2022-07-14)

Bug Fixes
  • super call stack overflow (#​1328) (6a3f442)

v0.44.0

Compare Source

v0.44.0 (2022-07-13)

Breaking changes
  • req.destination default value is now "" (empty string), previously "document".
  • req.redirect default value is now ""follow", previously "manual".
  • The library no longer exports the parseIsomorphicRequest() function (#​1316). Please use MockedRequest class instead.
Features
  • adhere to Fetch API "Request" in response resolver (#​1316, @​95th) (fc7f00c). This means the addition of a few properties on the req instance:
    • req.priority, indicates a priority of request relatively to other requests (default "auto");
    • req.text(), reads the request body as plain text;
    • req.json(), reads the request body as JSON;
    • req.arrayBuffer(), reads the request body as ArrayBuffer;
    • req.clone(), clones a request instance (i.e. so its body could be read multiple times).
  • remove unnecessary stringification of worker-client messages (#​1320) (6990c3a)
Deprecations
  • req.body is deprecated. Please use explicit request body reading methods: req.text(), req.json(), req.arrayBuffer() (other methods, like req.formData() are currently not supported).
rest.post('/user', async (req, res, ctx) => {
  const newUser = await req.json()
})

req.body is still present for compatibility reasons but will be removed in the next releases.

v0.43.1

Compare Source

v0.43.1 (2022-07-07)

Bug Fixes
  • support multiple response cookies using "ctx.cookie()" (#​1311) (66c3ad8)

v0.43.0

Compare Source

v0.43.0 (2022-07-04)

Features
  • send mocked response body as ReadableStream to the worker (#​1288) (78c7d7e)

v0.42.3

Compare Source

v0.42.3 (2022-06-22)

Bug Fixes
  • apply response delay conditionally (#​1300) (496154d)

v0.42.2

Compare Source

v0.42.2 (2022-06-22)

Bug Fixes
  • setupServer: reference interceptors to support fast refresh (#​1299) (72f0b25)

v0.42.1

Compare Source

v0.42.1 (2022-06-07)

Bug Fixes
  • add "ctx.field()" for GraphQL responses (#​1257) (442f48d)

v0.42.0

Compare Source

v0.42.0 (2022-05-30)

Features
  • upgrade to @​mswjs/interceptors 0.16 (#​1262) (2176577)
Bug Fixes
  • remove "esm" build target (#​1263) (61a755a)

v0.41.1

Compare Source

v0.41.1 (2022-05-27)

Bug Fixes
  • support typescript 4.7 (#​1256) (b020270)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, click this checkbox.

This MR has been generated by Renovate Bot.

Edited Jul 19, 2022 by GitLab Dependency Bot
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: renovate/msw-0.x