@vercel/build-utils 9.1.0 → 9.2.0
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 +12 -0
- package/dist/default-cache-path-glob.d.ts +1 -0
- package/dist/default-cache-path-glob.js +28 -0
- package/dist/fs/node-version.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +6 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# @vercel/build-utils
|
2
2
|
|
3
|
+
## 9.2.0
|
4
|
+
|
5
|
+
### Minor Changes
|
6
|
+
|
7
|
+
- Add .yarn/cache to build cache ([#12961](https://github.com/vercel/vercel/pull/12961))
|
8
|
+
|
9
|
+
## 9.1.1
|
10
|
+
|
11
|
+
### Patch Changes
|
12
|
+
|
13
|
+
- [cli] shift node 16 deprecation date to 2025-02-03 ([#12981](https://github.com/vercel/vercel/pull/12981))
|
14
|
+
|
3
15
|
## 9.1.0
|
4
16
|
|
5
17
|
### Minor Changes
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const defaultCachePathGlob = "**/{node_modules,.yarn/cache}/**";
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __defProp = Object.defineProperty;
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
6
|
+
var __export = (target, all) => {
|
7
|
+
for (var name in all)
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
9
|
+
};
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
12
|
+
for (let key of __getOwnPropNames(from))
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
15
|
+
}
|
16
|
+
return to;
|
17
|
+
};
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
|
+
var default_cache_path_glob_exports = {};
|
20
|
+
__export(default_cache_path_glob_exports, {
|
21
|
+
defaultCachePathGlob: () => defaultCachePathGlob
|
22
|
+
});
|
23
|
+
module.exports = __toCommonJS(default_cache_path_glob_exports);
|
24
|
+
const defaultCachePathGlob = "**/{node_modules,.yarn/cache}/**";
|
25
|
+
// Annotate the CommonJS export names for ESM import in node:
|
26
|
+
0 && (module.exports = {
|
27
|
+
defaultCachePathGlob
|
28
|
+
});
|
package/dist/fs/node-version.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
@@ -21860,6 +21860,7 @@ __export(src_exports, {
|
|
21860
21860
|
cloneEnv: () => cloneEnv,
|
21861
21861
|
createLambda: () => createLambda,
|
21862
21862
|
debug: () => debug,
|
21863
|
+
defaultCachePathGlob: () => defaultCachePathGlob,
|
21863
21864
|
download: () => download,
|
21864
21865
|
downloadFile: () => downloadFile,
|
21865
21866
|
execCommand: () => execCommand,
|
@@ -22903,7 +22904,7 @@ var NODE_VERSIONS = [
|
|
22903
22904
|
major: 16,
|
22904
22905
|
range: "16.x",
|
22905
22906
|
runtime: "nodejs16.x",
|
22906
|
-
discontinueDate: /* @__PURE__ */ new Date("2025-
|
22907
|
+
discontinueDate: /* @__PURE__ */ new Date("2025-02-03")
|
22907
22908
|
}),
|
22908
22909
|
new NodeVersion({
|
22909
22910
|
major: 14,
|
@@ -24240,6 +24241,9 @@ async function getInstalledPackageVersion(packageName, path7) {
|
|
24240
24241
|
return void 0;
|
24241
24242
|
}
|
24242
24243
|
}
|
24244
|
+
|
24245
|
+
// src/default-cache-path-glob.ts
|
24246
|
+
var defaultCachePathGlob = "**/{node_modules,.yarn/cache}/**";
|
24243
24247
|
// Annotate the CommonJS export names for ESM import in node:
|
24244
24248
|
0 && (module.exports = {
|
24245
24249
|
EdgeFunction,
|
@@ -24257,6 +24261,7 @@ async function getInstalledPackageVersion(packageName, path7) {
|
|
24257
24261
|
cloneEnv,
|
24258
24262
|
createLambda,
|
24259
24263
|
debug,
|
24264
|
+
defaultCachePathGlob,
|
24260
24265
|
download,
|
24261
24266
|
downloadFile,
|
24262
24267
|
execCommand,
|