Skip to content

Update react dependencies #1694

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

Merged
merged 1 commit into from
Mar 7, 2025
Merged

Update react dependencies #1694

merged 1 commit into from
Mar 7, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 1, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-plugin-react 7.33.2 -> 7.37.4 age adoption passing confidence
eslint-plugin-react-hooks (source) 4.6.0 -> 4.6.2 age adoption passing confidence
eslint-plugin-react-refresh 0.4.3 -> 0.4.19 age adoption passing confidence
qrcode.react (source) 3.1.0 -> 3.2.0 age adoption passing confidence
react (source) 18.2.0 -> 18.3.1 age adoption passing confidence
react-dom (source) 18.2.0 -> 18.3.1 age adoption passing confidence
react-router-dom (source) 6.16.0 -> 6.30.0 age adoption passing confidence
react-test-renderer (source) 18.2.0 -> 18.3.1 age adoption passing confidence

Release Notes

jsx-eslint/eslint-plugin-react (eslint-plugin-react)

v7.37.4

Compare Source

Fixed

v7.37.3

Compare Source

Fixed
Changed
  • [Tests] [jsx-no-script-url]: Improve tests (#​3849 @​radu2147)
  • [Docs] fix broken links: [default-props-match-prop-types], [jsx-boolean-value], [jsx-curly-brace-presence], [jsx-no-bind], [no-array-index-key], [no-is-mounted], [no-render-return-value], [require-default-props] (#​3841 @​bastiendmt)

v7.37.2

Compare Source

Fixed
  • [destructuring-assignment]: fix false negative when using typeof props.a (#​3835 @​golopot)
Changed
  • [Refactor] [destructuring-assignment]: use getParentStatelessComponent (#​3835 @​golopot)

v7.37.1

Compare Source

Fixed
Changed

v7.37.0

Compare Source

Added
Changed

v7.36.1

Compare Source

Fixed

v7.36.0

Compare Source

Added
Fixed
  • [function-component-definition], [boolean-prop-naming], [jsx-first-prop-new-line], [jsx-props-no-multi-spaces], propTypes: use type args (#​3629 @​HenryBrown0)
  • JSX pragma: fail gracefully (#​3632 @​ljharb)
  • [jsx-props-no-spreading]: add explicitSpread option to schema (#​3799 @​ljharb)
Changed

v7.35.2

Compare Source

Fixed
  • [jsx-curly-brace-presence]: avoid autofixing attributes with double quotes to a double quoted attribute (#​3814 @​ljharb)

v7.35.1

Compare Source

Fixed
  • [jsx-curly-brace-presence]: do not trigger on strings containing a quote character (#​3798 @​akulsr0)

v7.35.0

Compare Source

Added
Fixed
Changed

v7.34.4

Compare Source

Fixed

v7.34.3

Compare Source

Fixed
  • [prop-types]: null-check rootNode before calling getScope (#​3762 @​crnhrv)
  • [boolean-prop-naming]: avoid a crash with a spread prop (#​3733 @​ljharb)
  • [jsx-boolean-value]: assumeUndefinedIsFalse with never must not allow explicit true value (#​3757 @​6uliver)
  • [no-object-type-as-default-prop]: enable rule for components with many parameters (#​3768 @​JulienR1)
  • [jsx-key]: incorrect behavior for checkKeyMustBeforeSpread with map callbacks (#​3769 @​akulsr0)

v7.34.2

Compare Source

Fixed
Changed

v7.34.1

Compare Source

Fixed
Changed
  • [boolean-prop-naming]: improve error message (@​ljharb)

v7.34.0

Compare Source

Added
Fixed
Changed
facebook/react (eslint-plugin-react-hooks)

v4.6.2

Compare Source

v4.6.1

Compare Source

ArnaudBarre/eslint-plugin-react-refresh (eslint-plugin-react-refresh)

v0.4.19

Compare Source

Add name to configs for ESLint Config Inspector

v0.4.18

Compare Source

ESM/CJS interop is the worse that happened to this ecosystem, this is all I have to say.

v0.4.17

Compare Source

  • Fix detection of local components to not generate warning on for variable inside JSX files that follow React component naming (fixes #​75)
  • Update types to not require extra unnecessary .default property access under TS node16 module resolution (fixes #​70)

v0.4.16

Compare Source

Fix CJS/ESM interop issue. Sorry everyone for the trouble.

v0.4.15

Compare Source

Add support for custom HOCs (#​60)

By default, the rule only knows that memo & forwardRef function calls with return a React component. With this option, you can also allow extra function names like Mobx observer to make this code valid:

const Foo = () => <></>;
export default observer(Foo);
{
  "react-refresh/only-export-components": [
    "error",
    { "customHOCs": ["observer"] }
  ]
}

Thanks @​HorusGoul!

Add recommended config and simple types (#​67)

You can now add the recommended config to your ESLint config like this:

import reactRefresh from "eslint-plugin-react-refresh";

export default [
  /* Main config */
  reactRefresh.configs.recommended, // Or reactRefresh.configs.vite for Vite users
];

To follow ESLint recommandations, the rule is added with the error severity.

Some simple types ensure that people typecheking their config won't need @ts-expect-error anymore.

Bump ESLint peer dependency to 8.40

This was actually done by mistake in the previous release when moving from a deprecated API to a new one.

Given that ESLint 8 is officialy end-of-life and the only report (#​56) didn't get likes, I'm going forward and documenting the expected minimum version from ESLin in the package JSON so that people can get warning from their package manager.

v0.4.14

Compare Source

v0.4.13

Compare Source

v0.4.12

Compare Source

  • Support type assertion on default export (fixes #​48)
  • Add default export to fix usage with jiti (fixes #​50)

v0.4.11

Compare Source

  • Ignore type exports (ex. export type foo = string;) (fixes #​47)

v0.4.10

Compare Source

  • Support function Foo() {}; export default React.memo(Foo) (#​46) (thanks @​SukkaW!)

v0.4.9

Compare Source

  • Support function Foo() {}; export default memo(Foo) (fixes #​44) (thanks @​SukkaW!)

v0.4.8

Compare Source

  • Support export const foo = -1 with allowConstantExport (fixes #​43)

v0.4.7

Compare Source

  • Support export { Component as default } (fixes #​41)

v0.4.6

Compare Source

  • Ignore cypress test files (#​39)

v0.4.5

Compare Source

  • Allow TaggedTemplateExpression for styled components (fixes #​32)

v0.4.4

Compare Source

  • Add allowExportNames option (fixes #​29)
  • Support memo default export function components (fixes #​27)
  • Warn on export expressions that are not React component (array, object, logical expression, ...) (fixes #​26)
zpao/qrcode.react (qrcode.react)

v3.2.0

Compare Source

Fixed
  • Improved support for dual publishing of ESM/CJS modules for better compatibility with tools. (#​301, #​368)
  • Mitigated warnings when using QRCodeSVG in server components (#​352)
Changed
  • Added @deprecated JSDoc to default export for additional visibility in editors to TypeScript users.
facebook/react (react)

v18.3.1

Compare Source

  • Export act from react f1338f

v18.3.0

Compare Source

This release is identical to 18.2 but adds warnings for deprecated APIs and other changes that are needed for React 19.

Read the React 19 Upgrade Guide for more info.

React
  • Allow writing to this.refs to support string ref codemod 909071
  • Warn for deprecated findDOMNode outside StrictMode c3b283
  • Warn for deprecated test-utils methods d4ea75
  • Warn for deprecated Legacy Context outside StrictMode 415ee0
  • Warn for deprecated string refs outside StrictMode #​25383
  • Warn for deprecated defaultProps for function components #​25699
  • Warn when spreading key #​25697
  • Warn when using act from test-utils d4ea75
React DOM
  • Warn for deprecated unmountComponentAtNode 8a015b
  • Warn for deprecated renderToStaticNodeStream #​28874
remix-run/react-router (react-router-dom)

v6.30.0

Compare Source

v6.29.0

Compare Source

v6.28.2

Compare Source

v6.28.1

Compare Source

v6.28.0

Compare Source

v6.27.0

Compare Source

v6.26.2

Compare Source

v6.26.1

Compare Source

v6.26.0

Compare Source

v6.25.1

Compare Source

v6.25.0

Compare Source

v6.24.1

Compare Source

v6.24.0

Compare Source

v6.23.1

Compare Source

v6.23.0

Compare Source

v6.22.3

Compare Source

v6.22.2

Compare Source

v6.22.1

Compare Source

v6.22.0

Compare Source

v6.21.3

Compare Source

v6.21.2

Compare Source

v6.21.1

Compare Source

v6.21.0

Compare Source

v6.20.1

Compare Source

v6.20.0

Compare Source

v6.19.0

Compare Source

v6.18.0

Compare Source

v6.17.0

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/react-dependencies branch 2 times, most recently from f8c3654 to ae8a215 Compare October 3, 2023 16:54
@renovate renovate bot changed the title Update dependency @types/react to v17.0.67 Update react dependencies Oct 4, 2023
@renovate renovate bot force-pushed the renovate/react-dependencies branch 11 times, most recently from dc06e3c to fd30c29 Compare October 11, 2023 08:15
@renovate renovate bot force-pushed the renovate/react-dependencies branch 16 times, most recently from e21ef87 to cc4ea26 Compare October 18, 2023 11:43
@github-actions github-actions bot force-pushed the renovate/react-dependencies branch from 029811b to cc3f66b Compare February 21, 2025 16:10
@renovate renovate bot force-pushed the renovate/react-dependencies branch from cc3f66b to 36195ed Compare February 25, 2025 15:41
@github-actions github-actions bot force-pushed the renovate/react-dependencies branch from 36195ed to e80b99d Compare February 25, 2025 15:42
@renovate renovate bot force-pushed the renovate/react-dependencies branch from e80b99d to 492a13c Compare February 27, 2025 16:30
@github-actions github-actions bot force-pushed the renovate/react-dependencies branch from 492a13c to 5e34d08 Compare February 27, 2025 16:30
@renovate renovate bot force-pushed the renovate/react-dependencies branch from 5e34d08 to aa77bf2 Compare March 3, 2025 10:26
@github-actions github-actions bot force-pushed the renovate/react-dependencies branch from aa77bf2 to b8bc9e3 Compare March 3, 2025 10:26
@renovate renovate bot force-pushed the renovate/react-dependencies branch from b8bc9e3 to 17820bc Compare March 4, 2025 15:36
@github-actions github-actions bot force-pushed the renovate/react-dependencies branch from 17820bc to ca86698 Compare March 4, 2025 15:36
@renovate renovate bot force-pushed the renovate/react-dependencies branch from ca86698 to 4491048 Compare March 4, 2025 15:43
@github-actions github-actions bot force-pushed the renovate/react-dependencies branch from 4491048 to a6bed2a Compare March 4, 2025 15:43
@renovate renovate bot force-pushed the renovate/react-dependencies branch from a6bed2a to d080a38 Compare March 4, 2025 16:16
@github-actions github-actions bot force-pushed the renovate/react-dependencies branch from d080a38 to ebc659e Compare March 4, 2025 16:16
@renovate renovate bot force-pushed the renovate/react-dependencies branch from ebc659e to 785f1a6 Compare March 4, 2025 16:58
@github-actions github-actions bot force-pushed the renovate/react-dependencies branch from 785f1a6 to 5de4f04 Compare March 4, 2025 17:00
@renovate renovate bot force-pushed the renovate/react-dependencies branch from 5de4f04 to eeca9b2 Compare March 4, 2025 17:10
@github-actions github-actions bot force-pushed the renovate/react-dependencies branch from eeca9b2 to 3d139a8 Compare March 4, 2025 17:12
@renovate renovate bot force-pushed the renovate/react-dependencies branch from 3d139a8 to 5826f37 Compare March 6, 2025 15:28
@github-actions github-actions bot force-pushed the renovate/react-dependencies branch from 5826f37 to df13a01 Compare March 6, 2025 15:28
@renovate renovate bot force-pushed the renovate/react-dependencies branch from df13a01 to 61b3de8 Compare March 6, 2025 15:34
Copy link

socket-security bot commented Mar 6, 2025

@github-actions github-actions bot force-pushed the renovate/react-dependencies branch from 61b3de8 to c499969 Compare March 6, 2025 15:36
@renovate renovate bot force-pushed the renovate/react-dependencies branch from c499969 to 26c87c5 Compare March 7, 2025 08:52
@github-actions github-actions bot force-pushed the renovate/react-dependencies branch from 26c87c5 to 99c2fff Compare March 7, 2025 08:53
@buberdds buberdds force-pushed the renovate/react-dependencies branch from 99c2fff to 1e056e2 Compare March 7, 2025 10:15
Copy link

github-actions bot commented Mar 7, 2025

Deployed to Cloudflare Pages

Latest commit: 1e056e2ce8e0c145b5bbb130eb2db714a14d098e
Status:✅ Deploy successful!
Preview URL: https://ed7c4f22.oasis-wallet.pages.dev
Alias: https://pr-1694.oasis-wallet.pages.dev

@buberdds buberdds merged commit bd24514 into master Mar 7, 2025
13 checks passed
@buberdds buberdds deleted the renovate/react-dependencies branch March 7, 2025 10:23
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.

1 participant