fastmcp 2.2.3 → 2.2.4

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.
@@ -0,0 +1 @@
1
+ pnpm-lock.yaml
package/jsr.json CHANGED
@@ -3,5 +3,5 @@
3
3
  "include": ["src/FastMCP.ts", "src/bin/fastmcp.ts"],
4
4
  "license": "MIT",
5
5
  "name": "@punkpeye/fastmcp",
6
- "version": "2.2.3"
6
+ "version": "2.2.4"
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fastmcp",
3
- "version": "2.2.3",
3
+ "version": "2.2.4",
4
4
  "main": "dist/FastMCP.js",
5
5
  "scripts": {
6
6
  "build": "tsup",
@@ -22,18 +22,18 @@
22
22
  "module": "dist/FastMCP.js",
23
23
  "types": "dist/FastMCP.d.ts",
24
24
  "dependencies": {
25
- "@modelcontextprotocol/sdk": "^1.10.2",
25
+ "@modelcontextprotocol/sdk": "^1.12.1",
26
26
  "@standard-schema/spec": "^1.0.0",
27
- "execa": "^9.5.2",
28
- "file-type": "^20.4.1",
27
+ "execa": "^9.6.0",
28
+ "file-type": "^21.0.0",
29
29
  "fuse.js": "^7.1.0",
30
30
  "mcp-proxy": "^3.0.3",
31
31
  "strict-event-emitter-types": "^2.0.0",
32
- "undici": "^7.8.0",
32
+ "undici": "^7.10.0",
33
33
  "uri-templates": "^0.2.0",
34
- "xsschema": "0.3.0-beta.1",
35
- "yargs": "^17.7.2",
36
- "zod": "^3.25.12",
34
+ "xsschema": "0.3.0-beta.3",
35
+ "yargs": "^18.0.0",
36
+ "zod": "^3.25.56",
37
37
  "zod-to-json-schema": "^3.24.5"
38
38
  },
39
39
  "repository": {
@@ -53,31 +53,31 @@
53
53
  ]
54
54
  },
55
55
  "devDependencies": {
56
- "@eslint/js": "^9.27.0",
57
- "@modelcontextprotocol/inspector": "^0.11.0",
58
- "@sebbo2002/semantic-release-jsr": "^2.0.5",
59
- "@tsconfig/node22": "^22.0.1",
60
- "@types/node": "^22.14.1",
56
+ "@eslint/js": "^9.28.0",
57
+ "@modelcontextprotocol/inspector": "^0.14.0",
58
+ "@sebbo2002/semantic-release-jsr": "^3.0.0",
59
+ "@tsconfig/node22": "^22.0.2",
60
+ "@types/node": "^22.15.30",
61
61
  "@types/uri-templates": "^0.1.34",
62
62
  "@types/yargs": "^17.0.33",
63
- "@valibot/to-json-schema": "^1.0.0",
63
+ "@valibot/to-json-schema": "^1.3.0",
64
64
  "@wong2/mcp-cli": "^1.10.0",
65
65
  "arktype": "^2.1.20",
66
- "eslint": "^9.27.0",
66
+ "eslint": "^9.28.0",
67
67
  "eslint-config-prettier": "^10.1.5",
68
- "eslint-plugin-perfectionist": "^4.13.0",
69
- "eslint-plugin-prettier": "^5.4.0",
68
+ "eslint-plugin-perfectionist": "^4.14.0",
69
+ "eslint-plugin-prettier": "^5.4.1",
70
70
  "eventsource-client": "^1.1.3",
71
71
  "get-port-please": "^3.1.2",
72
72
  "jiti": "^2.4.2",
73
73
  "jsr": "^0.13.4",
74
74
  "prettier": "^3.5.3",
75
- "semantic-release": "^24.2.3",
76
- "tsup": "^8.4.0",
75
+ "semantic-release": "^24.2.5",
76
+ "tsup": "^8.5.0",
77
77
  "typescript": "^5.8.3",
78
- "typescript-eslint": "^8.32.1",
79
- "valibot": "^1.0.0",
80
- "vitest": "^3.1.2"
78
+ "typescript-eslint": "^8.33.1",
79
+ "valibot": "^1.1.0",
80
+ "vitest": "^3.2.2"
81
81
  },
82
82
  "tsup": {
83
83
  "entry": [
@@ -148,7 +148,8 @@ test("adds tools with Zod v4 schema", async () => {
148
148
  {
149
149
  description: "Add two numbers (using Zod v4 schema)",
150
150
  inputSchema: {
151
- $schema: "https://json-schema.org/draft-2020-12/schema",
151
+ $schema: "https://json-schema.org/draft/2020-12/schema",
152
+ additionalProperties: false,
152
153
  properties: {
153
154
  a: { type: "number" },
154
155
  b: { type: "number" },