[CP Staging] Revert "Enable platform tree shaking in hermes bundle" #167461
Annotations
11 warnings
|
ESLint check
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
ESLint check:
src/libs/OptionsListUtils/index.ts#L219
Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
|
|
ESLint check:
src/libs/OptionsListUtils/index.ts#L210
Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
|
|
ESLint check:
src/libs/LocalePhoneNumber.ts#L9
Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
|
|
ESLint check:
src/libs/CurrencyUtils.ts#L12
Onyx.connect() is deprecated. Use useOnyx() hook instead and pass the data as parameters to a pure function
|
|
ESLint check
React Hook useMemo has a missing dependency: 'shouldShowBusinessBankAccountOptions'. Either include it or remove the dependency array
|
|
ESLint check
React Hook useCallback has a missing dependency: 'ownerBillingGraceEndPeriod'. Either include it or remove the dependency array
|
|
ESLint check
React Hook useMemo has a missing dependency: 'styles.mr3'. Either include it or remove the dependency array
|
|
ESLint check
React Hook useMemo has a missing dependency: 'ownerBillingGraceEndPeriod'. Either include it or remove the dependency array
|
|
ESLint check:
src/components/MoneyRequestReportView/MoneyRequestReportActionsList.tsx#L743
React Hook useCallback has a missing dependency: 'introSelected'. Either include it or remove the dependency array
|
|
ESLint check:
src/components/MoneyReportHeader.tsx#L779
The 'targetPolicyTags' conditional could make the dependencies of useCallback Hook (at line 818) change on every render. Move it inside the useCallback callback. Alternatively, wrap the initialization of 'targetPolicyTags' in its own useMemo() Hook
|