Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions mflix/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@
"lint": "eslint"
},
"dependencies": {
"react": "19.2.0",
"react-dom": "19.2.0",
"next": "16.1.5"
"next": "^16.1.6",
"react": "^19.2.4",
"react-dom": "^19.2.4"
},
"devDependencies": {
"typescript": "^5",
"@eslint/eslintrc": "^3",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"eslint": "^9",
"eslint-config-next": "16.1.5",
"@eslint/eslintrc": "^3"
"eslint-config-next": "^16.1.6",
"typescript": "^5"
}
}
10 changes: 5 additions & 5 deletions mflix/server/java-spring/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
<properties>
<java.version>21</java.version>
<springdoc.version>2.8.13</springdoc.version>
<dotenv.version>4.0.0</dotenv.version>
<commons.lang3.version>3.19.0</commons.lang3.version>
<impsort.plugin.version>1.12.0</impsort.plugin.version>
<dotenv.version>5.1.0</dotenv.version>
<commons.lang3.version>3.20.0</commons.lang3.version>
<impsort.plugin.version>1.13.0</impsort.plugin.version>
<byte-buddy.version>1.17.8</byte-buddy.version>
<langchain4j.version>1.0.0-beta3</langchain4j.version>
<langchain4j.version>1.11.0-beta19</langchain4j.version>
</properties>

<dependencies>
Expand All @@ -50,7 +50,7 @@
<!-- Spring Dotenv - Load .env files -->
<dependency>
<groupId>me.paulschwarz</groupId>
<artifactId>spring-dotenv</artifactId>
<artifactId>springboot3-dotenv</artifactId>
<version>${dotenv.version}</version>
</dependency>

Expand Down
24 changes: 12 additions & 12 deletions mflix/server/js-express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,26 @@
"test:silent": "jest --silent"
},
"dependencies": {
"cors": "^2.8.5",
"dotenv": "^17.2.3",
"express": "^5.1.0",
"mongodb": "^7.0.0",
"cors": "^2.8.6",
"dotenv": "^17.2.4",
"express": "^5.2.1",
"mongodb": "^7.1.0",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.1",
"winston": "^3.19.0"
},
"devDependencies": {
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.14",
"@types/node": "^20.10.5",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.6",
"@types/jest": "^30.0.0",
"@types/node": "^25.2.2",
"@types/supertest": "^6.0.3",
"@types/swagger-jsdoc": "^6.0.4",
"@types/swagger-ui-express": "^4.1.8",
"jest": "^29.7.0",
"supertest": "^7.1.4",
"ts-jest": "^29.1.1",
"jest": "^30.2.0",
"supertest": "^7.2.2",
"ts-jest": "^29.4.6",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
"typescript": "^5.9.3"
}
}
16 changes: 8 additions & 8 deletions mflix/server/js-express/src/controllers/movieController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ export async function getDistinctGenres(
export async function getMovieById(req: Request, res: Response): Promise<void> {
const { id } = req.params;

// Validate ObjectId format
if (!ObjectId.isValid(id)) {
// Validate id is a string and ObjectId format
if (typeof id !== "string" || !ObjectId.isValid(id)) {
res
.status(400)
.json(
Expand Down Expand Up @@ -305,8 +305,8 @@ export async function updateMovie(req: Request, res: Response): Promise<void> {
const { id } = req.params;
const updateData: UpdateMovieRequest = req.body;

// Validate ObjectId format
if (!ObjectId.isValid(id)) {
// Validate id is a string and ObjectId format
if (typeof id !== "string" || !ObjectId.isValid(id)) {
res
.status(400)
.json(
Expand Down Expand Up @@ -426,8 +426,8 @@ export async function updateMoviesBatch(
export async function deleteMovie(req: Request, res: Response): Promise<void> {
const { id } = req.params;

// Validate ObjectId format
if (!ObjectId.isValid(id)) {
// Validate id is a string and ObjectId format
if (typeof id !== "string" || !ObjectId.isValid(id)) {
res
.status(400)
.json(
Expand Down Expand Up @@ -521,8 +521,8 @@ export async function findAndDeleteMovie(
): Promise<void> {
const { id } = req.params;

// Validate ObjectId format
if (!ObjectId.isValid(id)) {
// Validate id is a string and ObjectId format
if (typeof id !== "string" || !ObjectId.isValid(id)) {
res
.status(400)
.json(
Expand Down
34 changes: 17 additions & 17 deletions mflix/server/python-fastapi/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@
# 1. CORE WEB FRAMEWORK & ASGI SERVER
# FastAPI and its main components.
# ------------------------------------------------------------------------------
fastapi~=0.120.1 # The main web framework
starlette~=0.49.1 # FastAPI's underlying ASGI toolkit
fastapi~=0.120.4 # The main web framework
starlette~=0.49.3 # FastAPI's underlying ASGI toolkit
uvicorn~=0.38.0 # Production-ready ASGI server
uvloop~=0.22.0 # Optional: High-performance event loop for uvicorn
websockets~=15.0.0 # For WebSocket support
watchfiles~=1.1.0 # For hot-reloading in development
uvloop~=0.22.1 # Optional: High-performance event loop for uvicorn
websockets~=15.0.1 # For WebSocket support
watchfiles~=1.1.1 # For hot-reloading in development

# ==============================================================================
# 2. DATA VALIDATION & CORE UTILITIES
# Primary libraries for data models and environment config.
# ------------------------------------------------------------------------------
pydantic~=2.12.0 # Data validation and settings management
python-dotenv~=1.1.0 # For loading configuration from .env files
pydantic~=2.12.5 # Data validation and settings management
python-dotenv~=1.1.1 # For loading configuration from .env files
python-multipart>=0.0.22 # For parsing form data and file uploads
PyYAML~=6.0.0 # For handling YAML configuration or data
PyYAML~=6.0.3 # For handling YAML configuration or data

# ==============================================================================
# 3. DATABASE & CONNECTIVITY
Expand All @@ -29,38 +29,38 @@ dnspython~=2.8.0 # Required for SRV record lookups by pymongo (e.g., Mong
# 4. HTTP CLIENT & UTILITIES
# Primary libraries for making external HTTP requests.
# ------------------------------------------------------------------------------
httpx~=0.28.0 # Asynchronous HTTP client for requests to external APIs
httpx~=0.28.1 # Asynchronous HTTP client for requests to external APIs
email-validator~=2.3.0 # Utility for validating email addresses
voyageai~=0.3.5 # Vector embeddings API client
voyageai~=0.3.7 # Vector embeddings API client
urllib3>=2.6.3 # HTTP library

# ==============================================================================
# 5. CLI & DEVELOPMENT TOOLS
# Tools for building command-line interfaces for management tasks.
# ------------------------------------------------------------------------------
typer~=0.20.0 # Library for creating command-line applications
fastapi-cli~=0.0.0 # Tools to run and manage FastAPI projects
fastapi-cloud-cli~=0.3.0 # Tools for cloud deployment (specific to your pipeline)
typer~=0.20.1 # Library for creating command-line applications
fastapi-cli~=0.0.20 # Tools to run and manage FastAPI projects
fastapi-cloud-cli~=0.3.1 # Tools for cloud deployment (specific to your pipeline)

# ==============================================================================
# 6. TESTING & MONITORING
# Frameworks for ensuring code quality and production health.
# ------------------------------------------------------------------------------
pytest~=8.4.0 # Primary testing framework
pytest~=8.4.2 # Primary testing framework
pytest-asyncio~=1.2.0 # Plugin to make asynchronous tests easy with pytest
sentry-sdk~=2.42.0 # For error tracking and performance monitoring
sentry-sdk~=2.42.1 # For error tracking and performance monitoring

# ==============================================================================
# 7. LOGGING AND TERMINAL OUTPUT
# Libraries for rich console output and debugging.
# ------------------------------------------------------------------------------
rich~=14.2.0 # For rich, formatted terminal output
rich-toolkit~=0.15.0 # Extensions for the 'rich' library
rich-toolkit~=0.15.1 # Extensions for the 'rich' library

# ==============================================================================
# 8. TRANSITIVE DEPENDENCY CONSTRAINTS
# Minimum versions for indirect dependencies.
# ------------------------------------------------------------------------------
filelock>=3.20.3 # Transitive dep via huggingface-hub
aiohttp>=3.13.3 # Transitive dep via voyageai
orjson>=3.11.5 # Transitive dep via langsmith (CVE fix)
orjson>=3.11.7 # Transitive dep via langsmith (CVE fix)
Loading