chore: replace live-server with Vite, bump deps, remove stale test libs, add .nvmrc - #58
chore: replace live-server with Vite, bump deps, remove stale test libs, add .nvmrc#58lmken wants to merge 2 commits into
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
…x CORS - Bump vite 6.0.0 → 7.3.1 and @vitejs/plugin-react 4.3.4 → 5.2.0 (fixes esbuild/rollup CVEs) - Bump express 4.21.0 → 4.22.1 (fixes cookie, path-to-regexp, qs, body-parser CVEs) - Bump react-router-dom 6.26.2 → 6.30.3 (fixes XSS via open redirect GHSA-2w69-qvjg-hvjx) - Remove unused @moonpay/moonpay-node from 3 frontend projects (backend SDK, never imported) - Add http://localhost:8080 to default CORS origins so WebSDK demos work out of the box Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
43ad606 to
70fa99b
Compare
…bs, add .nvmrc SE-1055: Replace unmaintained live-server with Vite in moonpay-websdk-buy and moonpay-websdk-sell. Adds vite.config.js to each, updates root build script to include both WebSDK projects. SE-1056: Bump dotenv 16.4.5 → 17.3.1 in server. SE-1057: Bump web3 4.13.0 → 4.16.0 in hosted-wallet-page. SE-1058: Remove unused @testing-library/jest-dom, @testing-library/react, and @testing-library/user-event from all four React projects (no test files exist). SE-1059: Add .nvmrc (Node 20) to repo root. Closes #53, #54, #55, #56, #57 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
5343b0c to
bfd2c29
Compare
Summary
Addresses SE-1055 through SE-1059. Branched off #51 to layer on top of those dependency bumps.
live-serverwith Vite 7.3.1 inmoonpay-websdk-buyandmoonpay-websdk-sell. Addsvite.config.jsto each project (port 8080, auto-open). Updates rootbuildscript to include both WebSDK projects. Eliminates alllive-serveraudit vulnerabilities and makes the WebSDK projects consistent with the 4 React projects.dotenv16.4.5 → 17.3.1 inserver/.web34.13.0 → 4.16.0 inhosted-wallet-page/.@testing-library/jest-dom,@testing-library/react, and@testing-library/user-eventfrom all 4 React projects. No test files exist in the repo — these were CRA scaffolding leftovers..nvmrc(Node 20) to repo root.Test plan
npm installcompletes cleanlynpm run buildsucceeds for all 6 projects (4 React + 2 WebSDK)npm start --workspace=moonpay-websdk-buyserves on port 8080npm start --workspace=moonpay-websdk-sellserves on port 8080npm start --workspace=serverstarts the signing servernpm auditshows only the 2 false-positive name-squatting alerts (unfixable)Closes #53, #54, #55, #56, #57
🤖 Generated with Claude Code