The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
[Security] - Add Trivy Security Scan for UI + Docs folder - remove all vulnerabilities (#11778)
Ishaan Jaff7f11b5b76cf8
diff --git a/.circleci/config.yml b/.circleci/config.ymlindex dab6393004c..3294845bd92 100644--- a/.circleci/config.yml+++ b/.circleci/config.yml@@ -481,7 +481,7 @@ jobs:paths:- litellm_router_coverage.xml- litellm_router_coverage- litellm_proxy_security_tests:+ litellm_security_tests:docker:- image: cimg/python:3.11auth:@@ -504,6 +504,23 @@ jobs:pip install "pytest-retry==1.6.3"pip install "pytest-asyncio==0.21.1"pip install "pytest-cov==5.0.0"+ - run:+ name: Install Trivy+ command: |+ sudo apt-get update+ sudo apt-get install wget apt-transport-https gnupg lsb-release+ wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | sudo apt-key add -+ echo "deb https://aquasecurity.github.io/trivy-repo/deb $(lsb_release -sc) main" | sudo tee -a /etc/apt/sources.list.d/trivy.list+ sudo apt-get update+ sudo apt-get install trivy+ - run:+ name: Run Trivy scan on LiteLLM Docs+ command: |+ trivy fs --scanners vuln --dependency-tree --exit-code 1 --severity HIGH,CRITICAL,MEDIUM ./docs/+ - run:+ name: Run Trivy scan on LiteLLM UI+ command: |+ trivy fs --scanners vuln --dependency-tree --exit-code 1 --severity HIGH,CRITICAL,MEDIUM ./ui/- run:name: Run prisma ./docker/entrypoint.shcommand: |@@ -522,16 +539,16 @@ jobs:- run:name: Rename the coverage filescommand: |- mv coverage.xml litellm_proxy_security_tests_coverage.xml- mv .coverage litellm_proxy_security_tests_coverage+ mv coverage.xml litellm_security_tests_coverage.xml+ mv .coverage litellm_security_tests_coverage# Store test results- store_test_results:path: test-results- persist_to_workspace:root: .paths:- - litellm_proxy_security_tests_coverage.xml- - litellm_proxy_security_tests_coverage+ - litellm_security_tests_coverage.xml+ - litellm_security_tests_coveragelitellm_proxy_unit_testing: # Runs all tests with the "proxy", "key", "jwt" filenamesdocker:- image: cimg/python:3.11@@ -2419,7 +2436,7 @@ jobs:python -m venv venv. venv/bin/activatepip install coverage- coverage combine llm_translation_coverage llm_responses_api_coverage mcp_coverage logging_coverage litellm_router_coverage local_testing_coverage litellm_assistants_api_coverage auth_ui_unit_tests_coverage langfuse_coverage caching_coverage litellm_proxy_unit_tests_coverage image_gen_coverage pass_through_unit_tests_coverage batches_coverage litellm_proxy_security_tests_coverage guardrails_coverage+ coverage combine llm_translation_coverage llm_responses_api_coverage mcp_coverage logging_coverage litellm_router_coverage local_testing_coverage litellm_assistants_api_coverage auth_ui_unit_tests_coverage langfuse_coverage caching_coverage litellm_proxy_unit_tests_coverage image_gen_coverage pass_through_unit_tests_coverage batches_coverage litellm_security_tests_coverage guardrails_coveragecoverage xml- codecov/upload:file: ./coverage.xml@@ -2813,7 +2830,7 @@ workflows:only:- main- /litellm_.*/- - litellm_proxy_security_tests:+ - litellm_security_tests:filters:branches:only:@@ -2972,7 +2989,7 @@ workflows:- litellm_router_testing- caching_unit_tests- litellm_proxy_unit_testing- - litellm_proxy_security_tests+ - litellm_security_tests- langfuse_logging_unit_tests- local_testing- litellm_assistants_api_testing@@ -3042,7 +3059,7 @@ workflows:- db_migration_disable_update_check- e2e_ui_testing- litellm_proxy_unit_testing- - litellm_proxy_security_tests+ - litellm_security_tests- installing_litellm_on_python- installing_litellm_on_python_3_13- proxy_logging_guardrails_model_info_testsdiff --git a/docs/my-website/package-lock.json b/docs/my-website/package-lock.jsonindex e3a068da345..2e5794f5686 100644--- a/docs/my-website/package-lock.json+++ b/docs/my-website/package-lock.json@@ -3824,6 +3824,57 @@"@jridgewell/sourcemap-codec": "^1.4.14"}},+ "node_modules/@jsonjoy.com/base64": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/@jsonjoy.com/base64/-/base64-1.1.2.tgz",+ "integrity": "sha512-q6XAnWQDIMA3+FTiOYajoYqySkO+JSat0ytXGSuRdq9uXE7o92gzuQwQM14xaCRlBLGq3v5miDGC4vkVTn54xA==",+ "engines": {+ "node": ">=10.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/streamich"+ },+ "peerDependencies": {+ "tslib": "2"+ }+ },+ "node_modules/@jsonjoy.com/json-pack": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/@jsonjoy.com/json-pack/-/json-pack-1.2.0.tgz",+ "integrity": "sha512-io1zEbbYcElht3tdlqEOFxZ0dMTYrHz9iMf0gqn1pPjZFTCgM5R4R5IMA20Chb2UPYYsxjzs8CgZ7Nb5n2K2rA==",+ "dependencies": {+ "@jsonjoy.com/base64": "^1.1.1",+ "@jsonjoy.com/util": "^1.1.2",+ "hyperdyperid": "^1.2.0",+ "thingies": "^1.20.0"+ },+ "engines": {+ "node": ">=10.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/streamich"+ },+ "peerDependencies": {+ "tslib": "2"+ }+ },+ "node_modules/@jsonjoy.com/util": {+ "version": "1.6.0",+ "resolved": "https://registry.npmjs.org/@jsonjoy.com/util/-/util-1.6.0.tgz",+ "integrity": "sha512-sw/RMbehRhN68WRtcKCpQOPfnH6lLP4GJfqzi3iYej8tnzpZUDr6UkZYJjcjjC0FWEJOJbyM3PTIwxucUmDG2A==",+ "engines": {+ "node": ">=10.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/streamich"+ },+ "peerDependencies": {+ "tslib": "2"+ }+ },"node_modules/@leichtgewicht/ip-codec": {"version": "2.0.5","resolved": "https://registry.npmjs.org/@leichtgewicht/ip-codec/-/ip-codec-2.0.5.tgz",@@ -4525,9 +4576,9 @@}},"node_modules/@types/retry": {- "version": "0.12.0",- "resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.0.tgz",- "integrity": "sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA=="+ "version": "0.12.2",+ "resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.2.tgz",+ "integrity": "sha512-XISRgDJ2Tc5q4TRqvgJtzsRkFYNJzZrhTdtMoGVBttwzzQJkPnS3WWTFc7kuDRoPtPakl+T+OfdEUjYJj7Jbow=="},"node_modules/@types/sax": {"version": "1.2.7",@@ -5420,6 +5471,20 @@"resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz","integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ=="},+ "node_modules/bundle-name": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/bundle-name/-/bundle-name-4.1.0.tgz",+ "integrity": "sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q==",+ "dependencies": {+ "run-applescript": "^7.0.0"+ },+ "engines": {+ "node": ">=18"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },"node_modules/bytes": {"version": "3.1.2","resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz",@@ -6633,15 +6698,30 @@"node": ">=0.10.0"}},- "node_modules/default-gateway": {- "version": "6.0.3",- "resolved": "https://registry.npmjs.org/default-gateway/-/default-gateway-6.0.3.tgz",- "integrity": "sha512-fwSOJsbbNzZ/CUFpqFBqYfYNLj1NbMPm8MMCIzHjC83iSJRBEGmDUxU+WP661BaBQImeC2yHwXtz+P/O9o+XEg==",+ "node_modules/default-browser": {+ "version": "5.2.1",+ "resolved": "https://registry.npmjs.org/default-browser/-/default-browser-5.2.1.tgz",+ "integrity": "sha512-WY/3TUME0x3KPYdRRxEJJvXRHV4PyPoUsxtZa78lwItwRQRHhd2U9xOscaT/YTf8uCXIAjeJOFBVEh/7FtD8Xg==","dependencies": {- "execa": "^5.0.0"+ "bundle-name": "^4.1.0",+ "default-browser-id": "^5.0.0"},"engines": {- "node": ">= 10"+ "node": ">=18"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/default-browser-id": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/default-browser-id/-/default-browser-id-5.0.0.tgz",+ "integrity": "sha512-A6p/pu/6fyBcA1TRz/GqWYPViplrftcW2gZC9q79ngNCKAeR/X3gcEdXQHl4KNXV+3wgIJ1CPkJQ3IHM6lcsyA==",+ "engines": {+ "node": ">=18"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"}},"node_modules/defer-to-connect": {@@ -7648,16 +7728,6 @@"node": ">=14.14"}},- "node_modules/fs-monkey": {- "version": "1.0.6",- "resolved": "https://registry.npmjs.org/fs-monkey/-/fs-monkey-1.0.6.tgz",- "integrity": "sha512-b1FMfwetIKymC0eioW7mTywihSQE4oLzQn1dB6rZB5fx/3NpNEdAWeCSMB+60/AeT0TCXsxzAlcYVEFCTAksWg=="- },- "node_modules/fs.realpath": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",- "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw=="- },"node_modules/fsevents": {"version": "2.3.3","resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",@@ -7748,26 +7818,6 @@"resolved": "https://registry.npmjs.org/github-slugger/-/github-slugger-1.5.0.tgz","integrity": "sha512-wIh+gKBI9Nshz2o46B0B3f5k/W+WI9ZAv6y5Dn5WJ5SK1t0TnDimB4WE5rmTD05ZAIn8HALCZVmCsvj0w0v0lw=="},- "node_modules/glob": {- "version": "7.2.3",- "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",- "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",- "deprecated": "Glob versions prior to v9 are no longer supported",- "dependencies": {- "fs.realpath": "^1.0.0",- "inflight": "^1.0.4",- "inherits": "2",- "minimatch": "^3.1.1",- "once": "^1.3.0",- "path-is-absolute": "^1.0.0"- },- "engines": {- "node": "*"- },- "funding": {- "url": "https://github.com/sponsors/isaacs"- }- },"node_modules/glob-parent": {"version": "5.1.2","resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",@@ -8143,21 +8193,6 @@"wbuf": "^1.1.0"}},- "node_modules/html-entities": {- "version": "2.6.0",- "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-2.6.0.tgz",- "integrity": "sha512-kig+rMn/QOVRvr7c86gQ8lWXq+Hkv6CbAH1hLu+RG338StTpE8Z0b44SDVaqVu7HGKf27frdmUYEs9hTUX/cLQ==",- "funding": [- {- "type": "github",- "url": "https://github.com/sponsors/mdevils"- },- {- "type": "patreon",- "url": "https://patreon.com/mdevils"- }- ]- },"node_modules/html-escaper": {"version": "2.0.2","resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz",@@ -8380,6 +8415,14 @@"node": ">=10.17.0"}},+ "node_modules/hyperdyperid": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/hyperdyperid/-/hyperdyperid-1.2.0.tgz",+ "integrity": "sha512-Y93lCzHYgGWdrJ66yIktxiaGULYc6oGiABxhcO5AufBeOyoIdZF7bIfLaOrbM0iGIOXQQgxxRrFEnb+Y6w1n4A==",+ "engines": {+ "node": ">=10.18"+ }+ },"node_modules/iconv-lite": {"version": "0.4.24","resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",@@ -8479,16 +8522,6 @@"node": ">=12"}},- "node_modules/inflight": {- "version": "1.0.6",- "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",- "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",- "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.",- "dependencies": {- "once": "^1.3.0",- "wrappy": "1"- }- },"node_modules/inherits": {"version": "2.0.4","resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",@@ -8650,6 +8683,37 @@"url": "https://github.com/sponsors/wooorm"}},+ "node_modules/is-inside-container": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz",+ "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==",+ "dependencies": {+ "is-docker": "^3.0.0"+ },+ "bin": {+ "is-inside-container": "cli.js"+ },+ "engines": {+ "node": ">=14.16"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/is-inside-container/node_modules/is-docker": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz",+ "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==",+ "bin": {+ "is-docker": "cli.js"+ },+ "engines": {+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },"node_modules/is-installed-globally": {"version": "0.4.0","resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.4.0.tgz",@@ -8665,6 +8729,17 @@"url": "https://github.com/sponsors/sindresorhus"}},+ "node_modules/is-network-error": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/is-network-error/-/is-network-error-1.1.0.tgz",+ "integrity": "sha512-tUdRRAnhT+OtCZR/LxZelH/C7QtjtFrTu5tXCA8pl55eTUElUHT+GPYV8MBMBvea/j+NxQqVt3LbWMRir7Gx9g==",+ "engines": {+ "node": ">=16"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },"node_modules/is-npm": {"version": "6.0.0","resolved": "https://registry.npmjs.org/is-npm/-/is-npm-6.0.0.tgz",@@ -9473,14 +9548,21 @@}},"node_modules/memfs": {- "version": "3.5.3",- "resolved": "https://registry.npmjs.org/memfs/-/memfs-3.5.3.tgz",- "integrity": "sha512-UERzLsxzllchadvbPs5aolHh65ISpKpM+ccLbOJ8/vvpBKmAWf+la7dXFy7Mr0ySHbdHrFv5kGFCUHHe6GFEmw==",+ "version": "4.17.2",+ "resolved": "https://registry.npmjs.org/memfs/-/memfs-4.17.2.tgz",+ "integrity": "sha512-NgYhCOWgovOXSzvYgUW0LQ7Qy72rWQMGGFJDoWg4G30RHd3z77VbYdtJ4fembJXBy8pMIUA31XNAupobOQlwdg==","dependencies": {- "fs-monkey": "^1.0.4"+ "@jsonjoy.com/json-pack": "^1.0.3",+ "@jsonjoy.com/util": "^1.3.0",+ "tree-dump": "^1.0.1",+ "tslib": "^2.0.0"},"engines": {"node": ">= 4.0.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/streamich"}},"node_modules/merge-descriptors": {@@ -11692,15 +11774,19 @@}},"node_modules/p-retry": {- "version": "4.6.2",- "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-4.6.2.tgz",- "integrity": "sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ==",+ "version": "6.2.1",+ "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-6.2.1.tgz",+ "integrity": "sha512-hEt02O4hUct5wtwg4H4KcWgDdm+l1bOaEy/hWzd8xtXB9BqxTWBBhb+2ImAtH4Cv4rPjV76xN3Zumqk3k3AhhQ==","dependencies": {- "@types/retry": "0.12.0",+ "@types/retry": "0.12.2",+ "is-network-error": "^1.0.0","retry": "^0.13.1"},"engines": {- "node": ">=8"+ "node": ">=16.17"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"}},"node_modules/package-json": {@@ -11994,14 +12080,6 @@"node": "^12.20.0 || ^14.13.1 || >=16.0.0"}},- "node_modules/path-is-absolute": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",- "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",- "engines": {- "node": ">=0.10.0"- }- },"node_modules/path-is-inside": {"version": "1.0.2","resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz",@@ -14407,6 +14485,17 @@"node": ">=12.0.0"}},+ "node_modules/run-applescript": {+ "version": "7.0.0",+ "resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-7.0.0.tgz",+ "integrity": "sha512-9by4Ij99JUr/MCFBUkDKLWK3G9HVXmabKz9U5MlIAIuvuzkiOicRYs8XJLxX+xahD+mLiiCYDqF9dKAgtzKP1A==",+ "engines": {+ "node": ">=18"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },"node_modules/run-parallel": {"version": "1.2.0","resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",@@ -15555,6 +15644,17 @@"b4a": "^1.6.4"}},+ "node_modules/thingies": {+ "version": "1.21.0",+ "resolved": "https://registry.npmjs.org/thingies/-/thingies-1.21.0.tgz",+ "integrity": "sha512-hsqsJsFMsV+aD4s3CWKk85ep/3I9XzYV/IXaSouJMYIoDlgyi11cBhsqYe9/geRfB0YIikBQg6raRaM+nIMP9g==",+ "engines": {+ "node": ">=10.18"+ },+ "peerDependencies": {+ "tslib": "^2"+ }+ },"node_modules/thunky": {"version": "1.1.0","resolved": "https://registry.npmjs.org/thunky/-/thunky-1.1.0.tgz",@@ -15613,6 +15713,21 @@"node": ">=6"}},+ "node_modules/tree-dump": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/tree-dump/-/tree-dump-1.0.3.tgz",+ "integrity": "sha512-il+Cv80yVHFBwokQSfd4bldvr1Md951DpgAGfmhydt04L+YzHgubm2tQ7zueWDcGENKHq0ZvGFR/hjvNXilHEg==",+ "engines": {+ "node": ">=10.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/streamich"+ },+ "peerDependencies": {+ "tslib": "2"+ }+ },"node_modules/trim-lines": {"version": "3.0.1","resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-3.0.1.tgz",@@ -16232,75 +16347,79 @@}},"node_modules/webpack-dev-middleware": {- "version": "5.3.4",- "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-5.3.4.tgz",- "integrity": "sha512-BVdTqhhs+0IfoeAf7EoH5WE+exCmqGerHfDM0IL096Px60Tq2Mn9MAbnaGUe6HiMa41KMCYF19gyzZmBcq/o4Q==",+ "version": "7.4.2",+ "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-7.4.2.tgz",+ "integrity": "sha512-xOO8n6eggxnwYpy1NlzUKpvrjfJTvae5/D6WOK0S2LSo7vjmo5gCM1DbLUmFqrMTJP+W/0YZNctm7jasWvLuBA==","dependencies": {"colorette": "^2.0.10",- "memfs": "^3.4.3",+ "memfs": "^4.6.0","mime-types": "^2.1.31",+ "on-finished": "^2.4.1","range-parser": "^1.2.1","schema-utils": "^4.0.0"},"engines": {- "node": ">= 12.13.0"+ "node": ">= 18.12.0"},"funding": {"type": "opencollective","url": "https://opencollective.com/webpack"},"peerDependencies": {- "webpack": "^4.0.0 || ^5.0.0"+ "webpack": "^5.0.0"+ },+ "peerDependenciesMeta": {+ "webpack": {+ "optional": true+ }}},"node_modules/webpack-dev-server": {- "version": "4.15.2",- "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-4.15.2.tgz",- "integrity": "sha512-0XavAZbNJ5sDrCbkpWL8mia0o5WPOd2YGtxrEiZkBK9FjLppIUK2TgxK6qGD2P3hUXTJNNPVibrerKcx5WkR1g==",- "dependencies": {- "@types/bonjour": "^3.5.9",- "@types/connect-history-api-fallback": "^1.3.5",- "@types/express": "^4.17.13",- "@types/serve-index": "^1.9.1",- "@types/serve-static": "^1.13.10",- "@types/sockjs": "^0.3.33",- "@types/ws": "^8.5.5",+ "version": "5.2.2",+ "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-5.2.2.tgz",+ "integrity": "sha512-QcQ72gh8a+7JO63TAx/6XZf/CWhgMzu5m0QirvPfGvptOusAxG12w2+aua1Jkjr7hzaWDnJ2n6JFeexMHI+Zjg==",+ "dependencies": {+ "@types/bonjour": "^3.5.13",+ "@types/connect-history-api-fallback": "^1.5.4",+ "@types/express": "^4.17.21",+ "@types/express-serve-static-core": "^4.17.21",+ "@types/serve-index": "^1.9.4",+ "@types/serve-static": "^1.15.5",+ "@types/sockjs": "^0.3.36",+ "@types/ws": "^8.5.10","ansi-html-community": "^0.0.8",- "bonjour-service": "^1.0.11",- "chokidar": "^3.5.3",+ "bonjour-service": "^1.2.1",+ "chokidar": "^3.6.0","colorette": "^2.0.10","compression": "^1.7.4","connect-history-api-fallback": "^2.0.0",- "default-gateway": "^6.0.3",- "express": "^4.17.3",+ "express": "^4.21.2","graceful-fs": "^4.2.6",- "html-entities": "^2.3.2",- "http-proxy-middleware": "^2.0.3",- "ipaddr.js": "^2.0.1",- "launch-editor": "^2.6.0",- "open": "^8.0.9",- "p-retry": "^4.5.0",- "rimraf": "^3.0.2",- "schema-utils": "^4.0.0",- "selfsigned": "^2.1.1",+ "http-proxy-middleware": "^2.0.9",+ "ipaddr.js": "^2.1.0",+ "launch-editor": "^2.6.1",+ "open": "^10.0.3",+ "p-retry": "^6.2.0",+ "schema-utils": "^4.2.0",+ "selfsigned": "^2.4.1","serve-index": "^1.9.1","sockjs": "^0.3.24","spdy": "^4.0.2",- "webpack-dev-middleware": "^5.3.4",- "ws": "^8.13.0"+ "webpack-dev-middleware": "^7.4.2",+ "ws": "^8.18.0"},"bin": {"webpack-dev-server": "bin/webpack-dev-server.js"},"engines": {- "node": ">= 12.13.0"+ "node": ">= 18.12.0"},"funding": {"type": "opencollective","url": "https://opencollective.com/webpack"},"peerDependencies": {- "webpack": "^4.37.0 || ^5.0.0"+ "webpack": "^5.0.0"},"peerDependenciesMeta": {"webpack": {@@ -16311,6 +16430,28 @@}}},+ "node_modules/webpack-dev-server/node_modules/@types/express-serve-static-core": {+ "version": "4.19.6",+ "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.19.6.tgz",+ "integrity": "sha512-N4LZ2xG7DatVqhCZzOGb1Yi5lMbXSZcmdLDe9EzSndPV2HpWYWzRbaerl2n27irrm94EPpprqa8KpskPT085+A==",+ "dependencies": {+ "@types/node": "*",+ "@types/qs": "*",+ "@types/range-parser": "*",+ "@types/send": "*"+ }+ },+ "node_modules/webpack-dev-server/node_modules/define-lazy-prop": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz",+ "integrity": "sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==",+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },"node_modules/webpack-dev-server/node_modules/ipaddr.js": {"version": "2.2.0","resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-2.2.0.tgz",@@ -16319,19 +16460,35 @@"node": ">= 10"}},- "node_modules/webpack-dev-server/node_modules/rimraf": {- "version": "3.0.2",- "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",- "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",- "deprecated": "Rimraf versions prior to v4 are no longer supported",+ "node_modules/webpack-dev-server/node_modules/is-wsl": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-3.1.0.tgz",+ "integrity": "sha512-UcVfVfaK4Sc4m7X3dUSoHoozQGBEFeDC+zVo06t98xe8CzHSZZBekNXH+tu0NalHolcJ/QAGqS46Hef7QXBIMw==","dependencies": {- "glob": "^7.1.3"+ "is-inside-container": "^1.0.0"},- "bin": {- "rimraf": "bin.js"+ "engines": {+ "node": ">=16"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/webpack-dev-server/node_modules/open": {+ "version": "10.1.2",+ "resolved": "https://registry.npmjs.org/open/-/open-10.1.2.tgz",+ "integrity": "sha512-cxN6aIDPz6rm8hbebcP7vrQNhvRcveZoJU72Y7vskh4oIm+BZwBECnx5nTmrlres1Qapvx27Qo1Auukpf8PKXw==",+ "dependencies": {+ "default-browser": "^5.2.1",+ "define-lazy-prop": "^3.0.0",+ "is-inside-container": "^1.0.0",+ "is-wsl": "^3.1.0"+ },+ "engines": {+ "node": ">=18"},"funding": {- "url": "https://github.com/sponsors/isaacs"+ "url": "https://github.com/sponsors/sindresorhus"}},"node_modules/webpack-dev-server/node_modules/ws": {diff --git a/docs/my-website/package.json b/docs/my-website/package.jsonindex 14b0cbbc5e9..74154c2b335 100644--- a/docs/my-website/package.json+++ b/docs/my-website/package.json@@ -43,5 +43,8 @@},"engines": {"node": ">=16.14"+ },+ "overrides": {+ "webpack-dev-server": ">=5.2.1"}}diff --git a/ui/litellm-dashboard/package-lock.json b/ui/litellm-dashboard/package-lock.jsonindex 88a66c9c585..b736bd2338e 100644--- a/ui/litellm-dashboard/package-lock.json+++ b/ui/litellm-dashboard/package-lock.json@@ -5695,9 +5695,9 @@}},"node_modules/prismjs": {- "version": "1.29.0",- "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.29.0.tgz",- "integrity": "sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==",+ "version": "1.30.0",+ "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.30.0.tgz",+ "integrity": "sha512-DEvV2ZF2r2/63V+tK8hQvrR2ZGn10srHbXviTlcv7Kpzw8jWiNTqbVgjO3IY8RxrrOUF8VPMQQFysYYYv0YZxw==","engines": {"node": ">=6"}@@ -6637,14 +6637,6 @@"url": "https://github.com/sponsors/wooorm"}},- "node_modules/refractor/node_modules/prismjs": {- "version": "1.27.0",- "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.27.0.tgz",- "integrity": "sha512-t13BGPUlFDR7wRB5kQDG4jjl7XeuH6jbJGt11JHPL96qwsEHNX2+68tFXqc1/k+/jALsbSWJKUOT/hcYAZ5LkA==",- "engines": {- "node": ">=6"- }- },"node_modules/regenerator-runtime": {"version": "0.14.1","resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz",diff --git a/ui/litellm-dashboard/package.json b/ui/litellm-dashboard/package.jsonindex 0406d55fda8..a331c732989 100644--- a/ui/litellm-dashboard/package.json+++ b/ui/litellm-dashboard/package.json@@ -52,5 +52,8 @@"prettier": "3.2.5","tailwindcss": "^3.4.1","typescript": "5.3.3"+ },+ "overrides": {+ "prismjs": ">=1.30.0"}}