Skip to content

Chore: shell quote critical fix - #178

Merged
SbsCruz merged 4 commits into
mainfrom
chore/shell-quote-critical-fix
Sep 16, 2026
Merged

SbsCruz merged 4 commits into
mainfrom
chore/shell-quote-critical-fix

Conversation

@SbsCruz

@SbsCruz SbsCruz commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

This PR fixes the critical issue #119 by upgrading the following dependencies:

  • React and related deps to 19.2.3
  • React Native and related deps to 0.84.0
  • react-native-testing-mocks to 1.7.0

It also disables sonarjs/deprecation as react-test-renderer (and its ReactTestInstance type) is deprecated in favor of HostElement, but that type is only available starting in @testing-library/react-native v14. This project currently uses 12.9.0, so HostElement isn't available yet.

Upgrading to v14 is a breaking change on its own (async render/fireEvent/act/renderHook) and needs to be scoped as its own migration

@SbsCruz
SbsCruz requested a review from suany0805 September 2, 2026 18:51
Comment thread eslint.config.mjs
"react/jsx-no-literals": "error",
"react/prop-types": "off",
"sonarjs/cognitive-complexity": "off",
"sonarjs/deprecation": "off",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why are we setting off this one rule

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Quoting the first comment of this PR:

It also disables sonarjs/deprecation as react-test-renderer (and its ReactTestInstance type) is deprecated in favor of HostElement, but that type is only available starting in @testing-library/react-native v14. This project currently uses 12.9.0, so HostElement isn't available yet.

Upgrading to v14 is a breaking change on its own (async render/fireEvent/act/renderHook) and needs to be scoped as its own migration

@SbsCruz
SbsCruz merged commit fc6e2eb into main Sep 16, 2026
4 checks 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.

2 participants