Skip to content

Conversation

@brunocroh
Copy link
Member

@brunocroh brunocroh commented Jan 3, 2026

Add a getModuleDependencies utility to replace cases like the one below:

  return [
		...getNodeRequireCalls(node, name),
		...getNodeImportStatements(node, name),
		...getNodeImportCalls(node, name),
	];

Also update the recipes to use it.

@brunocroh brunocroh changed the title Feat/add get dep nodes Feat: add getModuleDependencies utillity Jan 3, 2026
@AugustinMauroy
Copy link
Member

Noice !

could you document it in the utils readme ?

@brunocroh
Copy link
Member Author

Noice !

could you document it in the utils readme ?

good catch, done. 🚀

@brunocroh brunocroh requested a review from a team January 9, 2026 09:40
@brunocroh brunocroh added the awaiting reviewer Author has responded and needs action from the reviewer label Jan 9, 2026
Copy link
Member

@JakobJingleheimer JakobJingleheimer left a comment

Choose a reason for hiding this comment

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

w00t! 🙌

@JakobJingleheimer JakobJingleheimer added g2g No outstanding concerns, discussions, or issues. and removed awaiting reviewer Author has responded and needs action from the reviewer labels Jan 17, 2026
@JakobJingleheimer
Copy link
Member

@brunocroh shall we land this? (not sure if there are other migrations that have since landed that should be included here too)

@brunocroh
Copy link
Member Author

@brunocroh shall we land this? (not sure if there are other migrations that have since landed that should be included here too)

I checked here, and we didn’t have anything new. Since it’s been merged, should we release new versions of all the impacted recipes?

@JakobJingleheimer
Copy link
Member

Yep, sounds good 🙂

@brunocroh brunocroh merged commit 7b3af25 into nodejs:main Jan 17, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

g2g No outstanding concerns, discussions, or issues.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants