Skip to content

Conversation

@SBoudrias
Copy link
Owner

@SBoudrias SBoudrias commented Oct 18, 2025

Root PR to collect all breaking changes I intend to rollout with our next major version.

TODOs

Anything else I'm missing?

Note about dependency substitutions

I'm very aligned with the efforts within the Node.js community to cut down on transitive dependency size.

That being said, I'm only open to considering alternatives from known and reputable maintainers. Inquirer is a very popular and trusted package. I do not to risk putting the project in the path of a supply chain of attack.

I'll look at PRs the community sends, but you might want to open a ticket first for us to discuss the alternative package you recommend. I'm also very open to rehoming some smaller packages under the Inquirer project and assume future ownership (like we did with external-editor, or @inquirer/figures).

@SBoudrias SBoudrias force-pushed the next-major branch 2 times, most recently from 3a8af47 to 999c4a6 Compare October 18, 2025 19:16
@SBoudrias SBoudrias force-pushed the next-major branch 2 times, most recently from 9841826 to 3d858c7 Compare October 24, 2025 18:17
"packageManager": "yarn@4.9.4+sha512.7b1cb0b62abba6a537b3a2ce00811a843bea02bcf53138581a6ae5b1bf563f734872bd47de49ce32a9ca9dcaff995aa789577ffb16811da7c603dcf69e73750b",
"engines": {
"node": ">=18"
"node": ">=23 ^22.13.0 ^21.7.0 ^20.12.0"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Incorrect format. Here shoule be:

Suggested change
"node": ">=23 ^22.13.0 ^21.7.0 ^20.12.0"
"node": ">=23 || ^22.13.0 || ^21.7.0 || ^20.12.0"

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have a source for that?

The current format parsed properly, and I see that same format over here: https://docs.npmjs.com/cli/v11/configuring-npm/package-json#engines

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like the space between versions means and.

Here we should use or. You can reverse them and try again:

# Run this below with Node.js 23 or later

^20.12 ^20.7 >=23

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.

3 participants