LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows
Python ai-agentsdata-engineeringdocument-aigenerative-aiidpjson-extractionllmmcp-serverocrpdf-extractionprompt-engineeringstructured-output
[SECURITY] Pin axios and enforce frozen lockfile in frontend builds (#1880)
Jaseem Jas8def6c1f77a6
diff --git a/docker/dockerfiles/frontend.Dockerfile b/docker/dockerfiles/frontend.Dockerfileindex f11f4be5a..0c3fdcc92 100644--- a/docker/dockerfiles/frontend.Dockerfile+++ b/docker/dockerfiles/frontend.Dockerfile@@ -15,7 +15,7 @@ ARG BUILD_CONTEXT_PATH# Copy only package files for dependency cachingCOPY ${BUILD_CONTEXT_PATH}/package.json ${BUILD_CONTEXT_PATH}/bun.lock ./-RUN bun install --ignore-scripts+RUN bun install --frozen-lockfile --ignore-scripts# Copy the rest of the application filesCOPY ${BUILD_CONTEXT_PATH}/ /app/@@ -36,11 +36,12 @@ CMD ["/bin/sh", "-c", "/app/generate-runtime-config.sh && bun run start"]### FOR PRODUCTION #### Builder stage for production buildFROM base AS builder+ARG BUILD_CONTEXT_PATHENV VITE_BACKEND_URL=""# Copy package files and install dependenciesCOPY ${BUILD_CONTEXT_PATH}/package.json ${BUILD_CONTEXT_PATH}/bun.lock ./-RUN bun install --ignore-scripts+RUN bun install --frozen-lockfile --ignore-scripts# Copy the rest of the application filesCOPY ${BUILD_CONTEXT_PATH}/ .diff --git a/frontend/bun.lock b/frontend/bun.lockindex 719da929b..662c50ef8 100644--- a/frontend/bun.lock+++ b/frontend/bun.lock@@ -21,7 +21,7 @@"@testing-library/react": "^13.4.0","@testing-library/user-event": "^13.5.0","antd": "^5.5.1",- "axios": "^1.4.0",+ "axios": "1.13.5","cron-validator": "^1.3.1","cronstrue": "^2.48.0","date-fns": "^4.1.0",@@ -590,7 +590,7 @@"available-typed-arrays": ["[email protected]", "", { "dependencies": { "possible-typed-array-names": "^1.0.0" } }, "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ=="],- "axios": ["[email protected]", "", { "dependencies": { "follow-redirects": "^1.15.6", "form-data": "^4.0.4", "proxy-from-env": "^1.1.0" } }, "sha512-1wVkUaAO6WyaYtCkcYCOx12ZgpGf9Zif+qXa4n+oYzK558YryKqiL6UWwd5DqiH3VRW0GYhTZQ/vlgJrCoNQlg=="],+ "axios": ["[email protected]", "", { "dependencies": { "follow-redirects": "^1.15.11", "form-data": "^4.0.5", "proxy-from-env": "^1.1.0" } }, "sha512-cz4ur7Vb0xS4/KUN0tPWe44eqxrIu31me+fbang3ijiNscE129POzipJJA6zniq2C/Z6sJCjMimjS8Lc/GAs8Q=="],"babel-plugin-macros": ["[email protected]", "", { "dependencies": { "@babel/runtime": "^7.12.5", "cosmiconfig": "^7.0.0", "resolve": "^1.19.0" } }, "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg=="],diff --git a/frontend/package.json b/frontend/package.jsonindex 931999929..fd14ebeda 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -19,7 +19,7 @@"@testing-library/react": "^13.4.0","@testing-library/user-event": "^13.5.0","antd": "^5.5.1",- "axios": "^1.4.0",+ "axios": "1.13.5","cron-validator": "^1.3.1","cronstrue": "^2.48.0","date-fns": "^4.1.0",