@vercel/build-utils 13.6.2 → 13.6.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.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @vercel/build-utils
|
|
2
2
|
|
|
3
|
+
## 13.6.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`d1c4d7052033aaf7b3f2044aa24484cb143b9348`](https://github.com/vercel/vercel/commit/d1c4d7052033aaf7b3f2044aa24484cb143b9348)]:
|
|
8
|
+
- @vercel/python-analysis@0.8.2
|
|
9
|
+
|
|
3
10
|
## 13.6.2
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/dist/errors.js
CHANGED
|
@@ -51,7 +51,7 @@ function getPrettyError(obj) {
|
|
|
51
51
|
link: prop ? `${docsUrl}#${prop.toLowerCase()}` : docsUrl,
|
|
52
52
|
action: "View Documentation"
|
|
53
53
|
});
|
|
54
|
-
} catch (
|
|
54
|
+
} catch (_e) {
|
|
55
55
|
return new NowBuildError({
|
|
56
56
|
code: "INVALID_VERCEL_CONFIG",
|
|
57
57
|
message: `Failed to validate configuration.`,
|
|
@@ -65,7 +65,7 @@ async function readConfigFile(files) {
|
|
|
65
65
|
} else if (name.endsWith(".yaml") || name.endsWith(".yml")) {
|
|
66
66
|
return import_js_yaml.default.safeLoad(str, { filename: name });
|
|
67
67
|
}
|
|
68
|
-
} catch (
|
|
68
|
+
} catch (_error) {
|
|
69
69
|
console.log(`Error while parsing config file: "${name}"`);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
@@ -76,7 +76,7 @@ async function getPackageJson(dir) {
|
|
|
76
76
|
const packagePath = (0, import_path.join)(dir, "package.json");
|
|
77
77
|
try {
|
|
78
78
|
return JSON.parse(await (0, import_fs_extra.readFile)(packagePath, "utf8"));
|
|
79
|
-
} catch (
|
|
79
|
+
} catch (_err) {
|
|
80
80
|
return {};
|
|
81
81
|
}
|
|
82
82
|
}
|
|
@@ -394,7 +394,7 @@ async function checkTurboSupportsCorepack(turboVersionRange, rootDir) {
|
|
|
394
394
|
if (turboConfigPath) {
|
|
395
395
|
try {
|
|
396
396
|
turboJson = import_json5.default.parse(await import_fs_extra.default.readFile(turboConfigPath, "utf8"));
|
|
397
|
-
} catch (
|
|
397
|
+
} catch (_err) {
|
|
398
398
|
console.warn(
|
|
399
399
|
`WARNING: Failed to parse ${import_path.default.basename(turboConfigPath)}`
|
|
400
400
|
);
|
package/dist/index.js
CHANGED
|
@@ -22189,7 +22189,7 @@ function getPrettyError(obj) {
|
|
|
22189
22189
|
link: prop ? `${docsUrl}#${prop.toLowerCase()}` : docsUrl,
|
|
22190
22190
|
action: "View Documentation"
|
|
22191
22191
|
});
|
|
22192
|
-
} catch (
|
|
22192
|
+
} catch (_e) {
|
|
22193
22193
|
return new NowBuildError({
|
|
22194
22194
|
code: "INVALID_VERCEL_CONFIG",
|
|
22195
22195
|
message: `Failed to validate configuration.`,
|
|
@@ -23262,7 +23262,7 @@ async function readConfigFile(files) {
|
|
|
23262
23262
|
} else if (name.endsWith(".yaml") || name.endsWith(".yml")) {
|
|
23263
23263
|
return import_js_yaml.default.safeLoad(str, { filename: name });
|
|
23264
23264
|
}
|
|
23265
|
-
} catch (
|
|
23265
|
+
} catch (_error) {
|
|
23266
23266
|
console.log(`Error while parsing config file: "${name}"`);
|
|
23267
23267
|
}
|
|
23268
23268
|
}
|
|
@@ -23273,7 +23273,7 @@ async function getPackageJson(dir) {
|
|
|
23273
23273
|
const packagePath = (0, import_path5.join)(dir, "package.json");
|
|
23274
23274
|
try {
|
|
23275
23275
|
return JSON.parse(await (0, import_fs_extra6.readFile)(packagePath, "utf8"));
|
|
23276
|
-
} catch (
|
|
23276
|
+
} catch (_err) {
|
|
23277
23277
|
return {};
|
|
23278
23278
|
}
|
|
23279
23279
|
}
|
|
@@ -23622,7 +23622,7 @@ async function checkTurboSupportsCorepack(turboVersionRange, rootDir) {
|
|
|
23622
23622
|
if (turboConfigPath) {
|
|
23623
23623
|
try {
|
|
23624
23624
|
turboJson = import_json5.default.parse(await import_fs_extra7.default.readFile(turboConfigPath, "utf8"));
|
|
23625
|
-
} catch (
|
|
23625
|
+
} catch (_err) {
|
|
23626
23626
|
console.warn(
|
|
23627
23627
|
`WARNING: Failed to parse ${import_path6.default.basename(turboConfigPath)}`
|
|
23628
23628
|
);
|
|
@@ -24942,7 +24942,7 @@ function generateNodeBuilderFunctions(frameworkName, regex, validFilenames, vali
|
|
|
24942
24942
|
if (frameworkVersion) {
|
|
24943
24943
|
version = frameworkVersion;
|
|
24944
24944
|
}
|
|
24945
|
-
} catch (
|
|
24945
|
+
} catch (_e) {
|
|
24946
24946
|
}
|
|
24947
24947
|
res.output.framework = {
|
|
24948
24948
|
slug: frameworkName,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/build-utils",
|
|
3
|
-
"version": "13.6.
|
|
3
|
+
"version": "13.6.3",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.js",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"directory": "packages/now-build-utils"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@vercel/python-analysis": "0.8.
|
|
14
|
+
"@vercel/python-analysis": "0.8.2"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@iarna/toml": "2.2.3",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"vitest": "2.0.1",
|
|
52
52
|
"json5": "2.2.3",
|
|
53
53
|
"@vercel/error-utils": "2.0.3",
|
|
54
|
-
"@vercel/routing-utils": "6.0.
|
|
54
|
+
"@vercel/routing-utils": "6.0.2"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
57
57
|
"build": "node build.mjs",
|