container-registry / backstage-plugin-harbor-backend

MIT License
5 stars 18 forks source link

Bump msw from 0.21.3 to 0.36.4 #24

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps msw from 0.21.3 to 0.36.4.

Release notes

Sourced from msw's releases.

v0.36.4

Bug fixes

  • Fixes an issue that resulted in port numbers being treated as path parameters (#1036, #1028).

v0.36.3

Bug fixes

  • Fixes an issue that resulted in the CORS policy violation due to the library appending the x-msw-request-id request header (#713, #1022, #1024).

Internal

  • No longer sets the x-msw-request-id header on the request (#1024). Relies on the request.id set by the interceptors (Node.js) or the requestId generated by the worker (browser).

v0.36.2

Bug fixes

  • Fixes an issue that resulted in the "TypeError: expected.toLowerCase() is not a function" exception when using the rest.all() request handler (#1020, #1021).

v0.36.1

Bug fixes

  • Fixes an issue that resulted in the "SyntaxError: Invalid group specified name" exception in Safari (#1018, #1019 ).

v0.36.0

Breaking changes

  • Uses path-to-regexp for URL matching (#691, #888). This makes the path matching experience identical to such in ExpressJS, and enabled various new features:
    • Optional path segments (/foo/bar?);
    • Repeating groups (/foo/bar+).
  • Request path parameters are now annotated as ambiguous string | string[] (#999).
  • The RequestParams generic now follows the RequestBodyType generic, changing its order (#999):
rest.post<RequestBodyType, RequestParams, ResponseBodyType>() {}
  • Removes the RequestParams type (#999). Please use the PathParams type instead.
- import { RequestParams } from 'msw'
+ import { PathParams } from 'msw'
  • Relative requests are now resolved against document.baseURI (previously location.origin) in a browser-like environments (#1007, #1008).

Features

  • Adds a new rest.all() request handler (#896). This handler captures all REST API requests regardless of method.
import { rest } from 'msw'

rest.all('/api/', (req, res, ctx) => { // Intercepts all requests to "/api/" // regardless of their method. }) </tr></table>

... (truncated)

Commits


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)
sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

dependabot[bot] commented 2 years ago

Superseded by #27.