mcp-proxy 2.14.2 → 2.14.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,14 +4,14 @@ import {
4
4
  proxyServer,
5
5
  startHTTPStreamServer,
6
6
  startSSEServer
7
- } from "../chunk-HIFEKRDE.js";
7
+ } from "../chunk-43AXMLZU.js";
8
8
 
9
9
  // src/bin/mcp-proxy.ts
10
10
  import { Client } from "@modelcontextprotocol/sdk/client/index.js";
11
11
  import { Server } from "@modelcontextprotocol/sdk/server/index.js";
12
12
  import { EventSource } from "eventsource";
13
- import { setTimeout } from "node:timers";
14
- import util from "node:util";
13
+ import { setTimeout } from "timers";
14
+ import util from "util";
15
15
  import yargs from "yargs";
16
16
  import { hideBin } from "yargs/helpers";
17
17
 
@@ -20,7 +20,7 @@ import {
20
20
  ReadBuffer,
21
21
  serializeMessage
22
22
  } from "@modelcontextprotocol/sdk/shared/stdio.js";
23
- import { spawn } from "node:child_process";
23
+ import { spawn } from "child_process";
24
24
  var StdioClientTransport = class {
25
25
  onclose;
26
26
  onerror;
@@ -149,7 +149,7 @@ import {
149
149
  } from "@modelcontextprotocol/sdk/server/streamableHttp.js";
150
150
  import { isInitializeRequest } from "@modelcontextprotocol/sdk/types.js";
151
151
  import http from "http";
152
- import { randomUUID } from "node:crypto";
152
+ import { randomUUID } from "crypto";
153
153
  var startHTTPStreamServer = async ({
154
154
  createServer,
155
155
  endpoint,
@@ -468,4 +468,4 @@ export {
468
468
  startHTTPStreamServer,
469
469
  startSSEServer
470
470
  };
471
- //# sourceMappingURL=chunk-HIFEKRDE.js.map
471
+ //# sourceMappingURL=chunk-43AXMLZU.js.map
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  proxyServer,
4
4
  startHTTPStreamServer,
5
5
  startSSEServer
6
- } from "./chunk-HIFEKRDE.js";
6
+ } from "./chunk-43AXMLZU.js";
7
7
 
8
8
  // src/startStdioServer.ts
9
9
  import { Client } from "@modelcontextprotocol/sdk/client/index.js";
package/jsr.json CHANGED
@@ -3,5 +3,5 @@
3
3
  "include": ["src/index.ts", "src/bin/mcp-proxy.ts"],
4
4
  "license": "MIT",
5
5
  "name": "@punkpeye/mcp-proxy",
6
- "version": "2.14.2"
6
+ "version": "2.14.3"
7
7
  }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "mcp-proxy",
3
- "version": "2.14.2",
3
+ "version": "2.14.3",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "build": "tsup",
7
- "test": "vitest run && tsc && prettier --check . && eslint . && jsr publish --dry-run --allow-dirty",
8
- "format": "prettier --write . && eslint --fix ."
7
+ "test": "vitest run && tsc && eslint . && jsr publish --dry-run --allow-dirty",
8
+ "format": "eslint --fix ."
9
9
  },
10
10
  "bin": {
11
11
  "mcp-proxy": "dist/bin/mcp-proxy.js"
@@ -22,8 +22,8 @@
22
22
  "module": "dist/index.js",
23
23
  "types": "dist/index.d.ts",
24
24
  "dependencies": {
25
- "@modelcontextprotocol/sdk": "^1.10.1",
26
- "eventsource": "^3.0.6",
25
+ "@modelcontextprotocol/sdk": "^1.11.4",
26
+ "eventsource": "^4.0.0",
27
27
  "yargs": "^17.7.2"
28
28
  },
29
29
  "repository": {
@@ -43,26 +43,26 @@
43
43
  ]
44
44
  },
45
45
  "devDependencies": {
46
- "@eslint/js": "^9.25.1",
47
- "@sebbo2002/semantic-release-jsr": "^2.0.5",
48
- "@tsconfig/node22": "^22.0.1",
49
- "@types/express": "^5.0.0",
50
- "@types/node": "^22.14.1",
46
+ "@eslint/js": "^9.27.0",
47
+ "@sebbo2002/semantic-release-jsr": "^3.0.0",
48
+ "@tsconfig/node22": "^22.0.2",
49
+ "@types/express": "^5.0.2",
50
+ "@types/node": "^22.15.21",
51
51
  "@types/yargs": "^17.0.33",
52
- "eslint": "^9.25.0",
53
- "eslint-config-prettier": "^10.1.2",
54
- "eslint-plugin-perfectionist": "^4.11.0",
52
+ "eslint": "^9.27.0",
53
+ "eslint-config-prettier": "^10.1.5",
54
+ "eslint-plugin-perfectionist": "^4.13.0",
55
55
  "express": "^5.0.1",
56
56
  "get-port-please": "^3.1.2",
57
57
  "jiti": "^2.4.2",
58
58
  "jsr": "^0.13.4",
59
59
  "prettier": "^3.5.3",
60
- "semantic-release": "^24.2.3",
61
- "tsup": "^8.4.0",
60
+ "semantic-release": "^24.2.4",
61
+ "tsup": "^8.5.0",
62
62
  "tsx": "^4.19.3",
63
63
  "typescript": "^5.8.3",
64
- "typescript-eslint": "^8.31.1",
65
- "vitest": "^3.1.1"
64
+ "typescript-eslint": "^8.32.1",
65
+ "vitest": "^3.1.4"
66
66
  },
67
67
  "tsup": {
68
68
  "entry": [