Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@vercel/python

Package Overview
Dependencies
Maintainers
4
Versions
224
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vercel/python - npm Package Compare versions

Comparing version
5.0.7
to
5.0.8
+2
-2
package.json
{
"name": "@vercel/python",
"version": "5.0.7",
"version": "5.0.8",
"main": "./dist/index.js",

@@ -23,3 +23,3 @@ "license": "Apache-2.0",

"@types/which": "3.0.0",
"@vercel/build-utils": "12.1.0",
"@vercel/build-utils": "12.1.2",
"cross-env": "7.0.3",

@@ -26,0 +26,0 @@ "execa": "^1.0.0",

@@ -437,2 +437,4 @@ from __future__ import annotations

response_done = threading.Event()
# Event to signal the ASGI app has fully completed (incl. background tasks)
app_done = threading.Event()

@@ -492,2 +494,4 @@ # Propagate request context to background thread for logging & metrics

await asgi_instance
# Mark app completion when the ASGI callable returns
app_done.set()

@@ -509,6 +513,5 @@ asyncio.run(runner())

# Always unblock the waiting thread to avoid hangs
try:
response_done.set()
except Exception:
pass
response_done.set()
# Ensure app completion is always signaled
app_done.set()
if token is not None:

@@ -523,2 +526,4 @@ storage.reset(token)

response_done.wait()
# Also wait until the ASGI app finishes (includes background tasks)
app_done.wait()

@@ -525,0 +530,0 @@ if 'Handler' in locals():

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display