Repository navigation
依存パッケージのパッチ更新と脆弱性修正 - #5847
依存パッケージのパッチ更新と脆弱性修正#5847
Conversation
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughWalkthrough
Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
package.json (1)
33-114:⚠️ Potential issue | 🟡 Minor
docs/changelog.mdを作成し、依存更新後の検証結果を記録してくださいExpo SDK アップグレード後、
expo-doctor、npm run lint、npm test、npm run typecheckの実行結果をdocs/changelog.mdに記録する必要があります。🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@package.json` around lines 33 - 114, Create docs/changelog.md and record the verification results after the dependency/Expo SDK upgrade: run expo-doctor, npm run lint, npm test, and npm run typecheck, paste the full console outputs (or summarize failures with exact error messages), add the date, the package.json changes (brief list of updated packages or link to the PR), and a short pass/fail status for each command so reviewers can reproduce and validate; ensure the file is committed alongside the package.json changes.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@package.json`:
- Line 71: Update devDependencies to match the installed react-native version:
change the `@react-native/js-polyfills` and `@react-native/metro-config` entries in
package.json to 0.83.x to match react-native (currently 0.83.4). Locate the
devDependencies keys "@react-native/js-polyfills" and
"@react-native/metro-config" and bump their versions to the corresponding 0.83
patch (e.g., ^0.83.4) so only the 0.83 series is installed and avoids duplicate
versions in node_modules.
---
Outside diff comments:
In `@package.json`:
- Around line 33-114: Create docs/changelog.md and record the verification
results after the dependency/Expo SDK upgrade: run expo-doctor, npm run lint,
npm test, and npm run typecheck, paste the full console outputs (or summarize
failures with exact error messages), add the date, the package.json changes
(brief list of updated packages or link to the PR), and a short pass/fail status
for each command so reviewers can reproduce and validate; ensure the file is
committed alongside the package.json changes.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 2d6e026d-f74e-4868-a613-223560a66ae9
⛔ Files ignored due to path filters (1)
package-lock.jsonis excluded by!**/package-lock.json
📒 Files selected for processing (1)
package.json
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Fixes Applied SuccessfullyCodeRabbit の未解決コメント 1 件を解消しました。その過程で、先行コミット( 変更サマリ
変更ファイル
コミット
ローカル検証
|
…との互換性を回復 Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
概要
Expo SDK 55 系と React Native、jest-expo のパッチ更新、および
npm auditによる脆弱性修正を適用する。CodeRabbit の指摘対応に加え、その検証過程で露呈したexpo-modules-coreの型解決エラー・Jest setup 失敗も本 PR 内で解消した。変更の種類
変更内容
npx expo install --fixにより Expo SDK 55 系の各パッケージを最新パッチ版へ更新react-nativeを 0.83.2 → 0.83.4 に更新jest-expoを ~55.0.11 → ~55.0.16 に更新npm audit fixで検出された脆弱性を解消@react-native/js-polyfills/@react-native/metro-configを^0.81.x→^0.83.4に更新(react-native 0.83.4 との重複インストール解消、CodeRabbit 指摘対応)jestのmoduleDirectoriesにnode_modules/expo/node_modulesを追加し、expo-modules-coreが nested 位置にあってもjest-expoの setup が解決できるように修正tsconfig.jsonのpathsにexpo-modules-coreの nested パスマッピングを追加し、expo-audioの型宣言経由の参照を tsc が解決できるように修正テスト
npm run lintが通ることnpm testが通ること(148 suites / 1398 tests pass)npm run typecheckが通ることnpx expo install --fixが "Dependencies are up to date" で完了すること関連Issue
スクリーンショット(任意)
Summary by CodeRabbit
リリースノート