Skip to content

Commit

Permalink
chore(deps): bump kumahq/kuma-gui to edc559d787068e393f197d274354bd23…
Browse files Browse the repository at this point in the history
…5c1b22b6

Bumps kumahq/kuma-gui to version [master@edc559d787068e393f197d274354bd235c1b22b6](https://github.com/kumahq/kuma-gui/tree/edc559d787068e393f197d274354bd235c1b22b6)

Signed-off-by: GitHub <[email protected]>
  • Loading branch information
github-actions[bot] authored Dec 10, 2024
1 parent 86fd97e commit 65f1918
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
18 changes: 15 additions & 3 deletions app/kuma-ui/pkg/resources/data/mockServiceWorker.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
* - Please do NOT serve this file on production.
*/

const PACKAGE_VERSION = '2.6.5'
const INTEGRITY_CHECKSUM = 'ca7800994cc8bfb5eb961e037c877074'
const PACKAGE_VERSION = '2.6.8'
const INTEGRITY_CHECKSUM = '00729d72e3b82faf54ca8b9621dbb96f'
const IS_MOCKED_RESPONSE = Symbol('isMockedResponse')
const activeClientIds = new Set()

Expand Down Expand Up @@ -199,7 +199,19 @@ async function getResponse(event, client, requestId) {
// Remove the "accept" header value that marked this request as passthrough.
// This prevents request alteration and also keeps it compliant with the
// user-defined CORS policies.
headers.delete('accept', 'msw/passthrough')
const acceptHeader = headers.get('accept')
if (acceptHeader) {
const values = acceptHeader.split(',').map((value) => value.trim())
const filteredValues = values.filter(
(value) => value !== 'msw/passthrough',
)

if (filteredValues.length > 0) {
headers.set('accept', filteredValues.join(', '))
} else {
headers.delete('accept')
}
}

return fetch(requestClone, { headers })
}
Expand Down
2 changes: 1 addition & 1 deletion app/kuma-ui/pkg/resources/kuma-gui-cve-report.json
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,6 @@
"checksum": "sha256:c8cce542b0e60be10189a9b8cf77842dd3c306cd6e35b2cd99dfad486e226d11",
"error": null
},
"timestamp": "2024-12-10T13:37:53.719825686Z"
"timestamp": "2024-12-10T15:51:16.647833154Z"
}
}
2 changes: 1 addition & 1 deletion app/kuma-ui/pkg/resources/kuma-gui-sbom.cyclonedx.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/kuma-ui/pkg/resources/kuma-gui-sbom.spdx.json

Large diffs are not rendered by default.

0 comments on commit 65f1918

Please sign in to comment.