* fix(deps): address critical and high severity security vulnerabilities Bump vulnerable dependencies to patched versions across the monorepo: Python (critical/high): - fastmcp >=2.14.0 → >=3.2.0 (SSRF, path traversal, OAuth confused deputy, command injection) - langchain-core >=1.2.11 → >=1.2.22 (path traversal in legacy load_prompt) Python (low): - cryptography >=46.0.5 → >=46.0.6 (incomplete DNS name constraint enforcement) - pygments: add >=2.20.0 pin (ReDoS via GUID regex) Node.js: - serialize-javascript ^7.0.3 → ^7.0.5 (CPU exhaustion DoS) - handlebars: add >=4.7.9 override (JS injection via AST type confusion) - path-to-regexp: add >=0.1.13 override (ReDoS via route params) - brace-expansion: add version range override (process hang/memory exhaustion) Also adds type: ignore comments for FastMCP 2.x private attribute access that ty now flags since FastMCP 3.x removed _tool_manager (guarded by try/except and hasattr at runtime). Regenerated all lock files across API, integrations, and tests. * fix(deps): add ajv v8 scoped overrides for schema-utils and ajv-keywords The global ajv ^6.14.0 override caused schema-utils and ajv-keywords to receive ajv v6, but they require ajv v8 (for dist/compile/codegen). Add scoped overrides to ensure these packages get ajv v8 while the global override remains for packages that need v6. * fix(tests): remove stateless_http from FastMCP() constructor calls FastMCP 3.x no longer accepts stateless_http in the constructor. The tests call tools directly without HTTP transport, so the parameter is not needed. * fix: update MCP tests for FastMCP 3.x _tool_manager removal FastMCP 3.x removed _tool_manager. Tests now use _local_provider._components for sync tool dict access and mcp.list_tools() for async filtered tool listing. * fix: resolve docusaurus build failures (ajv overrides + missing blog date) - Remove global ajv ^6.14.0 override and scoped ajv-keywords/schema-utils overrides that caused webpack compilation errors manifesting as "Cannot read properties of undefined (reading 'date')" during SSR and "these parameters are deprecated" warnings. Natural version resolution (v6.12.6+ for v6 consumers, v8+ for v8 consumers) already satisfies the security fix (>= 6.12.3). - Add missing date frontmatter to learning-capabilities blog post. * chore: regenerate openapi spec and docs skill
36 lines
853 B
JSON
36 lines
853 B
JSON
{
|
|
"name": "hindsight",
|
|
"private": true,
|
|
"workspaces": [
|
|
"hindsight-clients/typescript",
|
|
"hindsight-control-plane",
|
|
"hindsight-docs"
|
|
],
|
|
"scripts": {
|
|
"prepare": "./scripts/setup-hooks.sh"
|
|
},
|
|
"overrides": {
|
|
"qs": "^6.14.2",
|
|
"fast-xml-parser": ">=5.5.6",
|
|
"serialize-javascript": "^7.0.5",
|
|
"minimatch": "^3.1.4",
|
|
"undici": ">=7.24.0",
|
|
"flatted": ">=3.4.2",
|
|
"picomatch": ">=2.3.2 <3.0.0 || >=4.0.4",
|
|
"yaml": ">=1.10.3",
|
|
"svgo": ">=3.3.3",
|
|
"dompurify": ">=3.3.2",
|
|
"@redocly/openapi-core": {
|
|
"minimatch": "^5.1.8"
|
|
},
|
|
"@typescript-eslint/typescript-estree": {
|
|
"minimatch": "^9.0.7"
|
|
},
|
|
"ajv-formats": {
|
|
"ajv": "^8.18.0"
|
|
},
|
|
"handlebars": ">=4.7.9",
|
|
"path-to-regexp": ">=0.1.13",
|
|
"brace-expansion": ">=1.1.13 <2.0.0 || >=2.0.3 <3.0.0"
|
|
}
|
|
}
|