fix: pin axios to 1.15.0 (1.14.0 has a few CVEs)#351
Conversation
📝 WalkthroughWalkthroughA patch release (0.44.2) updates axios from 1.14.0 to 1.15.0 to address a critical vulnerability, with an accompanying minor Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 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 31: The import of WalletContractV4 from the internal path
'@ton/ton/dist/wallets/WalletContractV4' is fragile; update
src/network/send/wallets.ts to import WalletContractV4 (and any other symbols
currently pulled from '@ton/ton/dist/*') from the package's documented top-level
exports (e.g. import { WalletContractV4 } from '@ton/ton') and remove direct
references to internal dist paths, and scan the repo for other '@ton/ton/dist/*'
imports and replace them with the corresponding public exports before upgrading
to v16.2.4.
🪄 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: defaults
Review profile: CHILL
Plan: Pro
Run ID: 64dc20b3-c170-46c5-a6e5-a2070fef8b70
⛔ Files ignored due to path filters (1)
yarn.lockis excluded by!**/yarn.lock,!**/*.lock
📒 Files selected for processing (2)
CHANGELOG.mdpackage.json
|
🎉 @mnemotiv, your reward is ready! Claim it here |
Currently used axios version (=1.14.0) is affected by these CRITICAL CVEs:
This PR bumps up axios and @ton/ton versions.
Summary by CodeRabbit