Update package-lock.json with latest dependency versions

Upgraded multiple dependencies across Babel, Emotion, ESLint, and DevExpress packages in `package-lock.json` to their latest versions. These updates ensure compatibility, fix minor issues, and improve overall performance and security.
This commit is contained in:
GotthardG
2025-01-17 15:35:29 +01:00
parent 9739b8cfe9
commit 6825421f20
5 changed files with 658 additions and 629 deletions

View File

@ -94,10 +94,9 @@ async def create_or_update_dewar(
if puck_event_exists:
raise HTTPException(
status_code=400,
detail=f"Puck {puck.id} "
f"associated with Dewar {existing_dewar.id}"
f" has events. "
f"Update not allowed.",
detail=f"Puck '{puck.puck_name}'"
f" (ID: {puck.id}) has associated "
f"events and cannot be deleted or replaced.",
)
# Check for associated sample events within each puck
@ -110,11 +109,10 @@ async def create_or_update_dewar(
if sample_event_exists:
raise HTTPException(
status_code=400,
detail=f"Sample {sample.id} "
f"associated with Puck "
f"{puck.id} in Dewar "
f"{existing_dewar.id} "
f"has events. Update not allowed.",
detail=f"Sample '{sample.sample_name}'"
f" (ID: {sample.id})"
f" within Puck '{puck.puck_name}'"
f" has associated events. Update forbidden.",
)
# Delete associated pucks and samples if no events are found