Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade dependencies #1059

Merged
merged 2 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 6 additions & 18 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"files": [
"README.md"
],
"files": ["README.md"],
"imageSize": 100,
"commit": false,
"commitType": "docs",
Expand All @@ -25,45 +23,35 @@
"name": "Érico Knapp Lutzer",
"avatar_url": "https://avatars.githubusercontent.com/u/10657645?v=4",
"profile": "http://erico.dev.br",
"contributions": [
"code"
]
"contributions": ["code"]
},
{
"login": "stasadev",
"name": "Stanislav Zhuk",
"avatar_url": "https://avatars.githubusercontent.com/u/24270994?v=4",
"profile": "https://github.com/stasadev",
"contributions": [
"code"
]
"contributions": ["code"]
},
{
"login": "AlejandroPerez92",
"name": "Alejandro Perez",
"avatar_url": "https://avatars.githubusercontent.com/u/112934187?v=4",
"profile": "https://github.com/AlejandroPerez92",
"contributions": [
"code"
]
"contributions": ["code"]
},
{
"login": "adambordas",
"name": "Ádám Bordás",
"avatar_url": "https://avatars.githubusercontent.com/u/6266706?v=4",
"profile": "https://github.com/adambordas",
"contributions": [
"bug"
]
"contributions": ["bug"]
},
{
"login": "bhavishyachandra",
"name": "Bhavishya Chandra Kamineni",
"avatar_url": "https://avatars.githubusercontent.com/u/10553920?v=4",
"profile": "https://github.com/bhavishyachandra",
"contributions": [
"code"
]
"contributions": ["code"]
}
],
"contributorsPerLine": 7,
Expand Down
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ github: pacoVK
#issuehunt: # Replace with a single IssueHunt username
#otechie: # Replace with a single Otechie username
#lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
custom: ['https://www.paypal.com/donate/?hosted_button_id=NC846BADKGTJG']
custom: ["https://www.paypal.com/donate/?hosted_button_id=NC846BADKGTJG"]
1 change: 0 additions & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ This Code of Conduct applies both within project spaces and in public spaces whe
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 2.1, available at [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html](https://www.contributor-covenant.org/version/2/1/code_of_conduct.html).

For answers to common questions about this code of conduct, see [FAQ](https://www.contributor-covenant.org/faq).

4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ To get started with contributing, please follow these steps:
1. Fork the repository on GitHub by clicking the "Fork" button in the top-right corner of the [SQS-Admin repository page](https://github.com/PacoVK/sqs-admin).
2. Clone your forked repository to your local machine
3. Create a new branch for your contribution. Choose a descriptive branch name related to the feature or fix you are working on.
4. Make your changes and test them thoroughly to ensure they work as expected.
4. Make your changes and test them thoroughly to ensure they work as expected.
5. Open a pull request (PR) on the SQS-Admin repository with a clear title and description of your changes.

## Testing
Expand All @@ -32,4 +32,4 @@ Please note that we have a [Code of Conduct](./CODE_OF_CONDUCT.md) that all cont

By contributing to SQS-Admin, you agree that your contributions will be licensed under the project's Apache-2.0 License.

We appreciate your interest in making SQS-Admin better, and we look forward to your contributions!
We appreciate your interest in making SQS-Admin better, and we look forward to your contributions!
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# SQS-Admin

<p>
<a href="https://github.com/PacoVK/sqs-admin?tab=readme-ov-file#contributors-">
<img alt="Contributors" src="https://img.shields.io/github/all-contributors/pacovk/sqs-admin">
Expand Down Expand Up @@ -31,7 +32,7 @@ To start SQS-Admin simply run:
## Compatibility

SQS-Admin >= 0.5.4 does not support Localstack < 2.x. If you need to stick to Localstack 1.x, please use SQS-Admin <= 0.5.3 ([see #928](https://github.com/PacoVK/sqs-admin/issues/928))
**Localstack >= 3.5.0** is currently not supported, due to breaking changes.
**Localstack >= 3.5.0** is currently not supported, due to breaking changes.

## Configuration

Expand Down
11 changes: 6 additions & 5 deletions frontend/components/Alert.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ import { render } from "@testing-library/react";
import Alert from "./Alert";

describe("<Alert /> spec", () => {
it("renders the Alert", () => {
const view = render(<Alert message={"Hello"} severity={"info"} onClose={() => {}} />);
expect(view).toMatchSnapshot();

});
it("renders the Alert", () => {
const view = render(
<Alert message={"Hello"} severity={"info"} onClose={() => {}} />,
);
expect(view).toMatchSnapshot();
});
});
9 changes: 4 additions & 5 deletions frontend/components/CreateQueueDialog.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ import { render } from "@testing-library/react";
import CreateQueueDialog from "./CreateQueueDialog";

describe("<CreateQueueDialog /> spec", () => {
it("renders the CreateQueueDialog", () => {
const view = render(<CreateQueueDialog onSubmit={() => {}} />);
expect(view).toMatchSnapshot();

});
it("renders the CreateQueueDialog", () => {
const view = render(<CreateQueueDialog onSubmit={() => {}} />);
expect(view).toMatchSnapshot();
});
});
2 changes: 1 addition & 1 deletion frontend/components/CreateQueueDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const CreateQueueDialog = (props: CreateQueueDialogProps) => {
const newQueue: Queue = {
QueueName: sanitizedQueueName,
QueueAttributes: {
FifoQueue: `${isFifoQueue}`,
FifoQueue: isFifoQueue ? `${isFifoQueue}` : undefined,
},
};
props.onSubmit(newQueue);
Expand Down
22 changes: 13 additions & 9 deletions frontend/components/MessageItem.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@ import { render } from "@testing-library/react";
import MessageItem from "./MessageItem";

describe("<MessageItem /> spec", () => {
it("renders the MessageItem", () => {
const view = render(<MessageItem data={{
messageBody: "Hello",
messageAttributes: {
SentTimestamp: "fake",
}
}} />);
expect(view).toMatchSnapshot();
});
it("renders the MessageItem", () => {
const view = render(
<MessageItem
data={{
messageBody: "Hello",
messageAttributes: {
SentTimestamp: "fake",
},
}}
/>,
);
expect(view).toMatchSnapshot();
});
});
25 changes: 13 additions & 12 deletions frontend/components/SendMessageDialog.test.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
import { render } from "@testing-library/react";
import SendMessageDialog from "./SendMessageDialog";
import {Queue} from "../types";
import { Queue } from "../types";

describe("<SendMessageDialog /> spec", () => {
it("renders the SendMessageDialog", () => {
const queue: Queue = {
QueueName: "test"
}
const view = render(<div>
<SendMessageDialog disabled={false} onSubmit={()=>{}} queue={queue} />
<SendMessageDialog disabled={true} onSubmit={()=>{}} queue={queue} />
</div>);
expect(view).toMatchSnapshot();

});
it("renders the SendMessageDialog", () => {
const queue: Queue = {
QueueName: "test",
};
const view = render(
<div>
<SendMessageDialog disabled={false} onSubmit={() => {}} queue={queue} />
<SendMessageDialog disabled={true} onSubmit={() => {}} queue={queue} />
</div>,
);
expect(view).toMatchSnapshot();
});
});
15 changes: 8 additions & 7 deletions frontend/components/TabPanel.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ import { render } from "@testing-library/react";
import TabPanel from "./TabPanel";

describe("<TabPanel /> spec", () => {
it("renders the TabPanel", () => {
const view = render(<TabPanel index={0} value={0}>
<div>Test</div>
</TabPanel>);
expect(view).toMatchSnapshot();

});
it("renders the TabPanel", () => {
const view = render(
<TabPanel index={0} value={0}>
<div>Test</div>
</TabPanel>,
);
expect(view).toMatchSnapshot();
});
});
28 changes: 12 additions & 16 deletions frontend/components/__snapshots__/Alert.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Object {
"baseElement": <body>
<div>
<div
class="MuiCollapse-root MuiCollapse-vertical MuiCollapse-entered css-pwcg7p-MuiCollapse-root"
class="MuiCollapse-root MuiCollapse-vertical MuiCollapse-entered css-wz2cs5-MuiCollapse-root"
style="min-height: 0px;"
>
<div
Expand All @@ -16,15 +16,16 @@ Object {
class="MuiCollapse-wrapperInner MuiCollapse-vertical css-9l5vo-MuiCollapse-wrapperInner"
>
<div
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation0 MuiAlert-root MuiAlert-standardInfo MuiAlert-standard css-ethv1g-MuiPaper-root-MuiAlert-root"
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation0 MuiAlert-root MuiAlert-colorInfo MuiAlert-standardInfo MuiAlert-standard css-1vsz597-MuiPaper-root-MuiAlert-root"
role="alert"
style="--Paper-shadow: none;"
>
<div
class="MuiAlert-icon css-1ytlwq5-MuiAlert-icon"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeInherit css-1vooibu-MuiSvgIcon-root"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeInherit css-1lzspe0-MuiSvgIcon-root"
data-testid="InfoOutlinedIcon"
focusable="false"
viewBox="0 0 24 24"
Expand All @@ -44,13 +45,13 @@ Object {
>
<button
aria-label="close"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-colorInherit MuiIconButton-sizeSmall css-1e0d89p-MuiButtonBase-root-MuiIconButton-root"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-colorInherit MuiIconButton-sizeSmall css-18qjhy-MuiButtonBase-root-MuiIconButton-root"
tabindex="0"
type="button"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeInherit css-1vooibu-MuiSvgIcon-root"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeInherit css-1lzspe0-MuiSvgIcon-root"
data-testid="CloseIcon"
focusable="false"
viewBox="0 0 24 24"
Expand All @@ -59,9 +60,6 @@ Object {
d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
/>
</svg>
<span
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</button>
</div>
</div>
Expand All @@ -72,7 +70,7 @@ Object {
</body>,
"container": <div>
<div
class="MuiCollapse-root MuiCollapse-vertical MuiCollapse-entered css-pwcg7p-MuiCollapse-root"
class="MuiCollapse-root MuiCollapse-vertical MuiCollapse-entered css-wz2cs5-MuiCollapse-root"
style="min-height: 0px;"
>
<div
Expand All @@ -82,15 +80,16 @@ Object {
class="MuiCollapse-wrapperInner MuiCollapse-vertical css-9l5vo-MuiCollapse-wrapperInner"
>
<div
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation0 MuiAlert-root MuiAlert-standardInfo MuiAlert-standard css-ethv1g-MuiPaper-root-MuiAlert-root"
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation0 MuiAlert-root MuiAlert-colorInfo MuiAlert-standardInfo MuiAlert-standard css-1vsz597-MuiPaper-root-MuiAlert-root"
role="alert"
style="--Paper-shadow: none;"
>
<div
class="MuiAlert-icon css-1ytlwq5-MuiAlert-icon"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeInherit css-1vooibu-MuiSvgIcon-root"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeInherit css-1lzspe0-MuiSvgIcon-root"
data-testid="InfoOutlinedIcon"
focusable="false"
viewBox="0 0 24 24"
Expand All @@ -110,13 +109,13 @@ Object {
>
<button
aria-label="close"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-colorInherit MuiIconButton-sizeSmall css-1e0d89p-MuiButtonBase-root-MuiIconButton-root"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-colorInherit MuiIconButton-sizeSmall css-18qjhy-MuiButtonBase-root-MuiIconButton-root"
tabindex="0"
type="button"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeInherit css-1vooibu-MuiSvgIcon-root"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeInherit css-1lzspe0-MuiSvgIcon-root"
data-testid="CloseIcon"
focusable="false"
viewBox="0 0 24 24"
Expand All @@ -125,9 +124,6 @@ Object {
d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
/>
</svg>
<span
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</button>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,21 @@ Object {
"baseElement": <body>
<div>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium css-sghohy-MuiButtonBase-root-MuiButton-root"
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary css-142372x-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
>
Create Queue
<span
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</button>
</div>
</body>,
"container": <div>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium css-sghohy-MuiButtonBase-root-MuiButton-root"
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary css-142372x-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
>
Create Queue
<span
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</button>
</div>,
"debug": [Function],
Expand Down
Loading