@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 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
+ });
@@ -60,7 +60,7 @@ const NODE_VERSIONS = [
60
60
  major: 16,
61
61
  range: "16.x",
62
62
  runtime: "nodejs16.x",
63
- discontinueDate: /* @__PURE__ */ new Date("2025-01-31")
63
+ discontinueDate: /* @__PURE__ */ new Date("2025-02-03")
64
64
  }),
65
65
  new import_types.NodeVersion({
66
66
  major: 14,
package/dist/index.d.ts CHANGED
@@ -29,3 +29,4 @@ export * from './types';
29
29
  export * from './errors';
30
30
  export { NODE_VERSIONS } from './fs/node-version';
31
31
  export { getInstalledPackageVersion } from './get-installed-package-version';
32
+ export { defaultCachePathGlob } from './default-cache-path-glob';
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-01-31")
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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/build-utils",
3
- "version": "9.1.0",
3
+ "version": "9.2.0",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.js",