@vercel/python 6.43.2 → 6.43.3

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -4478,7 +4478,9 @@ function shouldStripVendorFile(filePath) {
4478
4478
  return true;
4479
4479
  return false;
4480
4480
  }
4481
- var LAMBDA_SIZE_THRESHOLD_BYTES = 245 * 1024 * 1024;
4481
+ var LAMBDA_BASE_SIZE_THRESHOLD_BYTES = 245 * 1024 * 1024;
4482
+ var OTEL_LAYER_RESERVATION_BYTES = 5 * 1024 * 1024;
4483
+ var LAMBDA_SIZE_THRESHOLD_BYTES = process.env.VERCEL_DEPLOYMENT_HAS_OTEL_LAYER === "1" ? LAMBDA_BASE_SIZE_THRESHOLD_BYTES - OTEL_LAYER_RESERVATION_BYTES : LAMBDA_BASE_SIZE_THRESHOLD_BYTES;
4482
4484
  var LAMBDA_EPHEMERAL_STORAGE_BYTES = 500 * 1024 * 1024;
4483
4485
  var HIVE_LAMBDA_SIZE_BYTES = 1 * 1024 * 1024 * 1024;
4484
4486
  var FUNCTIONS_BETA_CTA = "Run `vercel deploy --functions-beta` to use extended function limits (up to 1 GB), or reduce your dependency footprint.";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/python",
3
- "version": "6.43.2",
3
+ "version": "6.43.3",
4
4
  "main": "./dist/index.js",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://vercel.com/docs/runtimes#official-runtimes/python",
@@ -34,7 +34,7 @@
34
34
  "smol-toml": "1.5.2",
35
35
  "vitest": "2.1.4",
36
36
  "which": "3.0.0",
37
- "@vercel/build-utils": "13.26.2",
37
+ "@vercel/build-utils": "13.26.3",
38
38
  "@vercel/error-utils": "2.1.0",
39
39
  "@vercel/python-runtime": "0.14.1"
40
40
  },