New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@modelcontextprotocol/sdk

Package Overview
Dependencies
Maintainers
0
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@modelcontextprotocol/sdk - npm Package Compare versions

Comparing version 0.6.1 to 0.7.0

9

dist/client/stdio.d.ts

@@ -0,1 +1,2 @@

import { IOType } from "node:child_process";
import { JSONRPCMessage } from "../types.js";

@@ -24,3 +25,3 @@ import { Transport } from "../shared/transport.js";

*/
stderr?: "inherit" | "ignore" | Stream;
stderr?: IOType | Stream | number;
};

@@ -53,2 +54,8 @@ /**

start(): Promise<void>;
/**
* The stderr stream of the child process, if `StdioServerParameters.stderr` was set to "pipe" or "overlapped".
*
* This is only available after the process has been started.
*/
get stderr(): Stream | null;
private processReadBuffer;

@@ -55,0 +62,0 @@ close(): Promise<void>;

@@ -108,2 +108,11 @@ import { spawn } from "node:child_process";

}
/**
* The stderr stream of the child process, if `StdioServerParameters.stderr` was set to "pipe" or "overlapped".
*
* This is only available after the process has been started.
*/
get stderr() {
var _a, _b;
return (_b = (_a = this._process) === null || _a === void 0 ? void 0 : _a.stderr) !== null && _b !== void 0 ? _b : null;
}
processReadBuffer() {

@@ -110,0 +119,0 @@ var _a, _b;

2

package.json
{
"name": "@modelcontextprotocol/sdk",
"version": "0.6.1",
"version": "0.7.0",
"description": "Model Context Protocol implementation for TypeScript",

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc