@vercel/python 4.7.3 → 4.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -3090,6 +3090,7 @@ var build = async ({
3090
3090
  ignore: config && typeof config.excludeFiles === "string" ? config.excludeFiles : [
3091
3091
  ".git/**",
3092
3092
  ".vercel/**",
3093
+ ".pnpm-store/**",
3093
3094
  "**/node_modules/**",
3094
3095
  "**/.next/**",
3095
3096
  "**/.nuxt/**"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/python",
3
- "version": "4.7.3",
3
+ "version": "4.8.0",
4
4
  "main": "./dist/index.js",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://vercel.com/docs/runtimes#official-runtimes/python",
package/vc_init.py CHANGED
@@ -171,6 +171,11 @@ if 'VERCEL_IPC_PATH' in os.environ:
171
171
  if not self.parse_request():
172
172
  return
173
173
 
174
+ if self.path == '/_vercel/ping':
175
+ self.send_response(200)
176
+ self.end_headers()
177
+ return
178
+
174
179
  invocationId = self.headers.get('x-vercel-internal-invocation-id')
175
180
  requestId = int(self.headers.get('x-vercel-internal-request-id'))
176
181
  del self.headers['x-vercel-internal-invocation-id']