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.
- package/.prettierignore +1 -0
- package/jsr.json +1 -1
- package/package.json +22 -22
- package/src/FastMCP.test.ts +2 -1
package/.prettierignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
pnpm-lock.yaml
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fastmcp",
|
|
3
|
-
"version": "2.2.
|
|
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.
|
|
25
|
+
"@modelcontextprotocol/sdk": "^1.12.1",
|
|
26
26
|
"@standard-schema/spec": "^1.0.0",
|
|
27
|
-
"execa": "^9.
|
|
28
|
-
"file-type": "^
|
|
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.
|
|
32
|
+
"undici": "^7.10.0",
|
|
33
33
|
"uri-templates": "^0.2.0",
|
|
34
|
-
"xsschema": "0.3.0-beta.
|
|
35
|
-
"yargs": "^
|
|
36
|
-
"zod": "^3.25.
|
|
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.
|
|
57
|
-
"@modelcontextprotocol/inspector": "^0.
|
|
58
|
-
"@sebbo2002/semantic-release-jsr": "^
|
|
59
|
-
"@tsconfig/node22": "^22.0.
|
|
60
|
-
"@types/node": "^22.
|
|
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.
|
|
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.
|
|
66
|
+
"eslint": "^9.28.0",
|
|
67
67
|
"eslint-config-prettier": "^10.1.5",
|
|
68
|
-
"eslint-plugin-perfectionist": "^4.
|
|
69
|
-
"eslint-plugin-prettier": "^5.4.
|
|
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.
|
|
76
|
-
"tsup": "^8.
|
|
75
|
+
"semantic-release": "^24.2.5",
|
|
76
|
+
"tsup": "^8.5.0",
|
|
77
77
|
"typescript": "^5.8.3",
|
|
78
|
-
"typescript-eslint": "^8.
|
|
79
|
-
"valibot": "^1.
|
|
80
|
-
"vitest": "^3.
|
|
78
|
+
"typescript-eslint": "^8.33.1",
|
|
79
|
+
"valibot": "^1.1.0",
|
|
80
|
+
"vitest": "^3.2.2"
|
|
81
81
|
},
|
|
82
82
|
"tsup": {
|
|
83
83
|
"entry": [
|
package/src/FastMCP.test.ts
CHANGED
|
@@ -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
|
|
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" },
|