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

Prepare for release 1.0.3 #918

Merged
merged 4 commits into from
Jul 16, 2024
Merged

Prepare for release 1.0.3 #918

merged 4 commits into from
Jul 16, 2024

Conversation

chriswilty
Copy link
Member

@chriswilty chriswilty commented Jul 15, 2024

Description

  • Dependencies upgraded, vulnerabilities resolved
  • Our own app version in all package.jsons set to 1.0.3

Part of #917

Checklist

Have you done the following?

  • Linked the relevant Issue
  • Added tests
  • Ensured the workflow steps are passing

const updatedDefence = req.session.levelState[level].defences.find(
(defence) => defence.id === defenceId
);
if (!updatedDefence) {
Copy link
Member Author

@chriswilty chriswilty Jul 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change here is a result of eslint pointing out that updatedDefences in original code could not actually be undefined.

@@ -50,7 +49,7 @@ describe('DocumentViewBox component tests', () => {

const mockDocumentViewer = vi.hoisted(() => vi.fn());
vi.mock('@cyntler/react-doc-viewer', () => ({
default: (props: DocViewerProps) => {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DocViewerProps is no longer available as an export in the latest release, but in any case, in the cloud feature branch I've changed the test to render the actual DocViewer component, instead of mocking it, so soon enough this code will be removed.

@chriswilty chriswilty merged commit 58f0252 into dev Jul 16, 2024
5 checks passed
@chriswilty chriswilty deleted the rc-1.0.3 branch July 16, 2024 08:18
@chriswilty chriswilty linked an issue Jul 16, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Release 1.0.3
1 participant