Taliayaya / Apando

Apando est un projet de création d'une plateforme de communication pour les étudiants et enseignants offrant divers outils comme un chat, des API comme Ecole DIrecte, des rôles, et ce, gratuitement pour l'utilisateur.
https://apando.fr
GNU General Public License v3.0
5 stars 0 forks source link

Bump msw from 0.36.8 to 0.44.1 #98

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps msw from 0.36.8 to 0.44.1.

Release notes

Sourced from msw's releases.

v0.44.1 (2022-07-14)

Bug Fixes

  • super call stack overflow (#1328) (6a3f442bdea1d4ba615020ccece22a9e091e5f3c)

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) (fc7f00c96e79ad0be83cbaf7c82ceff23f0c4355). 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) (6990c3a57a1f515fe977c2eaa7741005b885b8af)

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 (2022-07-07)

Bug Fixes

  • support multiple response cookies using "ctx.cookie()" (#1311) (66c3ad888058f92db7dc94ad9d1c408a4ea9e14f)

v0.43.0 (2022-07-04)

Features

  • send mocked response body as ReadableStream to the worker (#1288) (78c7d7eee84b961eb29b2591bd78f81e0c48deef)

v0.42.3 (2022-06-22)

Bug Fixes

... (truncated)

Commits
  • 6b8466f chore(release): v0.44.1
  • 6a3f442 fix: super call stack overflow (#1328)
  • 83d4f7d chore: add new package keywords
  • ec57fbf chore(release): v0.44.0
  • 6990c3a feat: dont stringify worker-client messages (#1320)
  • fc7f00c feat: adhere to Fetch API "Request" in response resolver (#1316)
  • bb4bfac chore(release): v0.43.1
  • 66c3ad8 fix: support multiple response cookies using "ctx.cookie()" (#1311)
  • b736dcc chore(release): v0.43.0
  • 78c7d7e feat: send mocked response body as ReadableStream to the worker (#1288)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 2 years ago

Superseded by #101.