Skip to content

fix: add default conditions for moduleResolve as documented#32

Merged
wooorm merged 2 commits intowooorm:mainfrom
JounQin:patch-1
Aug 29, 2025
Merged

fix: add default conditions for moduleResolve as documented#32
wooorm merged 2 commits intowooorm:mainfrom
JounQin:patch-1

Conversation

@JounQin
Copy link
Copy Markdown
Contributor

@JounQin JounQin commented Aug 28, 2025

Signed-off-by: JounQin <admin@1stg.me>
@wooorm
Copy link
Copy Markdown
Owner

wooorm commented Aug 28, 2025

Hey! Good to have tests to make sure something is actually fixed.

I imagine that it does not need to be defaulted at the top, but that lower down, the undefined gets defaulted to this Set?

And, build needs to pass. And: can you match the existing style of not using = but just having a regular variable in the function body to take the parameter or the default? Thanks!

@JounQin
Copy link
Copy Markdown
Contributor Author

JounQin commented Aug 29, 2025

@wooorm Done.

@wooorm wooorm merged commit 2514cb5 into wooorm:main Aug 29, 2025
3 checks passed
@wooorm
Copy link
Copy Markdown
Owner

wooorm commented Aug 29, 2025

Released in 4.2.0!

Really appreciate in Joun! I hope you are doing well :)

@JounQin JounQin deleted the patch-1 branch August 31, 2025 02:46
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.

2 participants