@vercel/build-utils 13.2.7 → 13.2.8

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @vercel/build-utils
2
2
 
3
+ ## 13.2.8
4
+
5
+ ### Patch Changes
6
+
7
+ - Remove getSpawnOptions ([#14604](https://github.com/vercel/vercel/pull/14604))
8
+
3
9
  ## 13.2.7
4
10
 
5
11
  ### Patch Changes
@@ -84,6 +84,11 @@ export declare function getNodeBinPath({ cwd, }: {
84
84
  }): Promise<string>;
85
85
  export declare function getNodeBinPaths({ start, base, }: TraverseUpDirectoriesProps): string[];
86
86
  export declare function runShellScript(fsPath: string, args?: string[], spawnOpts?: SpawnOptions): Promise<boolean>;
87
+ /**
88
+ * @deprecated Don't use this function directly.
89
+ *
90
+ * Use getEnvForPackageManager() instead when within a builder.
91
+ */
87
92
  export declare function getSpawnOptions(meta: Meta, nodeVersion: NodeVersion): SpawnOptions;
88
93
  export declare function getRuntimeNodeVersion(destPath: string, fallbackVersion?: string | undefined, config?: Config, meta?: Meta, availableVersions?: number[]): Promise<NodeVersion | BunVersion>;
89
94
  export declare function scanParentDirs(destPath: string, readPackageJson?: boolean, base?: string): Promise<ScanParentDirsResult>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/build-utils",
3
- "version": "13.2.7",
3
+ "version": "13.2.8",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.js",
@@ -47,8 +47,8 @@
47
47
  "yazl": "2.5.1",
48
48
  "vitest": "2.0.1",
49
49
  "json5": "2.2.3",
50
- "@vercel/routing-utils": "5.3.2",
51
- "@vercel/error-utils": "2.0.3"
50
+ "@vercel/error-utils": "2.0.3",
51
+ "@vercel/routing-utils": "5.3.2"
52
52
  },
53
53
  "scripts": {
54
54
  "build": "node build.mjs",