@vercel/python 6.3.1 → 6.3.2

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 +2 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -3773,8 +3773,8 @@ function isDiscontinued({ discontinueDate }) {
3773
3773
  const today = Date.now();
3774
3774
  return discontinueDate !== void 0 && discontinueDate.getTime() <= today;
3775
3775
  }
3776
- function isInstalled2({ pythonPath }) {
3777
- return Boolean(import_which2.default.sync(pythonPath, { nothrow: true }));
3776
+ function isInstalled2({ pipPath, pythonPath }) {
3777
+ return Boolean(import_which2.default.sync(pipPath, { nothrow: true })) && Boolean(import_which2.default.sync(pythonPath, { nothrow: true }));
3778
3778
  }
3779
3779
 
3780
3780
  // src/start-dev-server.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/python",
3
- "version": "6.3.1",
3
+ "version": "6.3.2",
4
4
  "main": "./dist/index.js",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://vercel.com/docs/runtimes#official-runtimes/python",
@@ -30,7 +30,7 @@
30
30
  "pip-requirements-js": "1.0.2",
31
31
  "smol-toml": "1.5.2",
32
32
  "which": "3.0.0",
33
- "@vercel/build-utils": "13.2.15",
33
+ "@vercel/build-utils": "13.2.16",
34
34
  "@vercel/error-utils": "2.0.3"
35
35
  },
36
36
  "scripts": {