Skip to content

Commit 074140c

Browse files
authored
fix: update dependencies of zod in Weather Agent template (#14249)
* fix: update dependencies and related methods names * fix: revert unnecessary changes * fix: comma * fix: override the zod package
1 parent 08a6ef6 commit 074140c

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

templates/vsc/js/weather-agent/package.json.tpl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,17 @@
2929
"@langchain/langgraph": "^0.2.66",
3030
"@langchain/openai": "^0.5.6",
3131
"@microsoft/agents-hosting": "^0.2.14",
32-
"express": "^5.0.1"
32+
"express": "^5.0.1",
33+
"zod": "3.25.67"
3334
},
3435
"devDependencies": {
3536
"env-cmd": "^10.1.0",
3637
"nodemon": "^3.1.7",
3738
"shx": "^0.3.3"
39+
},
40+
"overrides": {
41+
"**": {
42+
"zod": "3.25.67"
43+
}
3844
}
3945
}

templates/vsc/ts/weather-agent/package.json.tpl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
"@langchain/langgraph": "^0.2.66",
3131
"@langchain/openai": "^0.5.6",
3232
"@microsoft/agents-hosting": "^0.2.14",
33-
"express": "^5.0.1"
33+
"express": "^5.0.1",
34+
"zod": "3.25.67"
3435
},
3536
"devDependencies": {
3637
"@types/express": "^5.0.0",
@@ -40,5 +41,10 @@
4041
"shx": "^0.3.3",
4142
"ts-node": "^10.4.0",
4243
"typescript": "^5.5.4"
44+
},
45+
"overrides": {
46+
"**": {
47+
"zod": "3.25.67"
48+
}
4349
}
4450
}

0 commit comments

Comments
 (0)