fix: bump incur to fix downstream dep#84
Merged
Merged
Conversation
curl.md
@curl.md/amp
@curl.md/claude
@curl.md/opencode
@curl.md/pi
commit: |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Contributor
|
The latest preview deployment for bbfeaf6
Services |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
tl;dr
npx --yes curl.md@latest --version file:///Users/o/.npm/_npx/cd079c9f8cb86f54/node_modules/incur/dist/Mcp.js:1 import { McpServer, StdioServerTransport } from '@modelcontextprotocol/server'; ^^^^^^^^^^^^^^^^^^^^ SyntaxError: The requested module '@modelcontextprotocol/server' does not provide an export named 'StdioServerTransport' at #asyncInstantiate (node:internal/modules/esm/module_job:326:21) at async ModuleJob.run (node:internal/modules/esm/module_job:429:5) at async node:internal/modules/esm/loader:639:26 at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:101:5)Last working version is
curl.md@0.0.13:Cause:
curl.md -> incur -> @modelcontextprotocol/sdkbreaking API change. Fix: bumpincur.curl.md@0.0.13pinnedincur@0.3.20, which depended on@modelcontextprotocol/sdk@^1.27.1(the v1 SDK).0.0.14bumped toincur@0.3.23, which switched its dependency to@modelcontextprotocol/server@^2.0.0-alpha.2(the new v2 package).incur@0.3.23'sdist/Mcp.js:1statically importsStdioServerTransportfrom the package root:import { McpServer, StdioServerTransport } from '@modelcontextprotocol/server'. The^2.0.0-alpha.2range floats to the newest prerelease, which today resolves to2.0.0-beta.2. In2.0.0-alpha.4(Jun 30),@modelcontextprotocol/servermovedStdioServerTransportout of the root export into a./stdiosubpath, so the static root import throwsSyntaxError: ... does not provide an export named 'StdioServerTransport'. The fix: bumpincurto0.4.11, which replaced the static root import with a dynamicimport('@modelcontextprotocol/server')plusimportModule('@modelcontextprotocol/server/stdio')indist/Mcp.js.