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

2023.4 update deps #975

Merged
merged 4 commits into from
Sep 14, 2023
Merged

2023.4 update deps #975

merged 4 commits into from
Sep 14, 2023

Conversation

sadiqkhoja
Copy link
Contributor

@sadiqkhoja sadiqkhoja commented Sep 13, 2023

Closes #916 & closes #954

What has been done to verify that this works as intended?

All tests are passing

Why is this the best possible solution? Were any other approaches considered?

I have disabled following rules:

  • default-param-last
  • function-call-argument-newline
  • function-paren-newline

There 500+ errors related to these rules impacting 20+ files, didn't feel we should change those.

I will enable default-param-last rule in next release.

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

Nothing special then existing regression tests

Does this change require updates to the API documentation? If so, please update docs/api.md as part of this PR.

No

Before submitting this PR, please make sure you have:

  • run make test-full and confirmed all checks still pass OR confirm CircleCI build passes
  • verified that any code from external sources are properly credited in comments or that everything is internally sourced

@sadiqkhoja sadiqkhoja marked this pull request as ready for review September 13, 2023 13:51
eslint-config-airbnb-base: to fix the peer dependency conflict
nodemon: to fix security vulnerabilities (npm audit)
@@ -173,7 +173,7 @@ const submissionToOData = (fields, table, submission, options = {}) => new Promi
}

// bail out without doing any work if we are encrypted.
if (encrypted === true) return resolve({ data: result, instanceId: submission.instanceId });
if (encrypted === true) resolve({ data: result, instanceId: submission.instanceId });
Copy link
Member

Choose a reason for hiding this comment

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

Don't we still need to return so that the code below isn't run? Maybe we shouldn't return resolve();, but I'm thinking we should resolve(); return;.

@sadiqkhoja sadiqkhoja merged commit 1a970c8 into getodk:master Sep 14, 2023
1 check passed
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.

ESLint: conflicting peer dependency Update dependencies for v2023.4
2 participants