You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@vercel/build-utils

Package Overview
Dependencies
Maintainers
8
Versions
401
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vercel/build-utils - npm Package Compare versions

Comparing version
12.0.0
to
12.1.0
+6
-0
CHANGELOG.md
# @vercel/build-utils
## 12.1.0
### Minor Changes
- Support turbo.jsonc ([#13792](https://github.com/vercel/vercel/pull/13792))
## 12.0.0

@@ -4,0 +10,0 @@

+15
-3

@@ -350,9 +350,21 @@ "use strict";

const turboJsonPath = import_path.default.join(rootDir, "turbo.json");
const turboJsonExists = await import_fs_extra.default.pathExists(turboJsonPath);
const turboJsoncPath = import_path.default.join(rootDir, "turbo.jsonc");
const [turboJsonExists, turboJsoncExists] = await Promise.all([
import_fs_extra.default.pathExists(turboJsonPath),
import_fs_extra.default.pathExists(turboJsoncPath)
]);
let turboJson = null;
let turboConfigPath = null;
if (turboJsonExists) {
turboConfigPath = turboJsonPath;
} else if (turboJsoncExists) {
turboConfigPath = turboJsoncPath;
}
if (turboConfigPath) {
try {
turboJson = import_json5.default.parse(await import_fs_extra.default.readFile(turboJsonPath, "utf8"));
turboJson = import_json5.default.parse(await import_fs_extra.default.readFile(turboConfigPath, "utf8"));
} catch (err) {
console.warn(`WARNING: Failed to parse turbo.json`);
console.warn(
`WARNING: Failed to parse ${import_path.default.basename(turboConfigPath)}`
);
}

@@ -359,0 +371,0 @@ }

+1
-1
{
"name": "@vercel/build-utils",
"version": "12.0.0",
"version": "12.1.0",
"license": "Apache-2.0",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

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