Skip to content

Conversation

@matz3
Copy link
Contributor

@matz3 matz3 commented Sep 1, 2025

This fixes the usage of esmock with the latest version of @modelcontextprotocol/sdk, which introduced new exports entries.

See: modelcontextprotocol/typescript-sdk#851

This fixes the usage of `esmock` with the latest version of
`@modelcontextprotocol/sdk`, which introduced new exports entries.

See: modelcontextprotocol/typescript-sdk#851
@matz3 matz3 force-pushed the fix-exports-matching branch from 6f13213 to a2c2773 Compare September 1, 2025 11:33
@iambumblehead
Copy link
Owner

Thanks for submitting this.

Haven't looked at this locally, so excuse me if I'm missing something obvious --could the new assertions and test be added without removing or modifying the existing assertions/tests?

@matz3
Copy link
Contributor Author

matz3 commented Sep 1, 2025

@iambumblehead thanks for the quick feedback. I've posted some comments in the code.

@iambumblehead
Copy link
Owner

thanks for the response. Would like to investigate this later (today) to better understand why the existing test fails

@iambumblehead
Copy link
Owner

all esmock tests pass using changes here. will merge and publish soon

@iambumblehead iambumblehead merged commit 0fe9572 into iambumblehead:main Sep 1, 2025
5 checks passed
@iambumblehead
Copy link
Owner

updating esmock to use latest version with this change iambumblehead/esmock#325

@iambumblehead
Copy link
Owner

[email protected] is published

@matz3 matz3 deleted the fix-exports-matching branch September 1, 2025 14:14
@matz3
Copy link
Contributor Author

matz3 commented Sep 1, 2025

@iambumblehead wow, thank you for the quick release 👍🏻

@iambumblehead
Copy link
Owner

@matz3 thanks for spending energy looking at the sources and resolving the issue with them

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