Skip to content

breaking: use parseArgs from Node 18.3+ instead of sade/mri #2814

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

aewing
Copy link

@aewing aewing commented Aug 6, 2025

  • Replace sade dependency with Node.js built-in parseArgs from node:util
  • Update engines requirement to Node.js >= 18.3.0 (when parseArgs was added)
  • Remove sade and @types/sade dependencies
  • Implement custom help and version handling to match original behavior
  • Add proper TypeScript types for parseArgs options

Resolves #2521

aewing added 3 commits August 6, 2025 16:16
- Replace sade dependency with Node.js built-in parseArgs from node:util
- Update engines requirement to Node.js >= 18.3.0 (when parseArgs was added)
- Remove sade and @types/sade dependencies
- Implement custom help and version handling to match original behavior
- Add proper TypeScript types for parseArgs options

Resolves sveltejs#2521
@aewing aewing marked this pull request as ready for review August 6, 2025 23:23
@aewing
Copy link
Author

aewing commented Aug 6, 2025

@benmccann @jasonlyu123 let me know if you had something else in mind, happy to address any feedback.

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.

breaking: use parseArgs from Node 18.3
1 participant