@vercel/build-utils 13.2.0 → 13.2.2

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
+ ## 13.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Bump NFT dependency ([#14373](https://github.com/vercel/vercel/pull/14373))
8
+
9
+ ## 13.2.1
10
+
11
+ ### Patch Changes
12
+
13
+ - Disables auto instrumentation when the app has manual instrumentation setup ([#14345](https://github.com/vercel/vercel/pull/14345))
14
+
3
15
  ## 13.2.0
4
16
 
5
17
  ### Minor Changes
package/dist/index.js CHANGED
@@ -22415,7 +22415,8 @@ var Lambda = class {
22415
22415
  operationType,
22416
22416
  framework,
22417
22417
  experimentalTriggers,
22418
- supportsCancellation
22418
+ supportsCancellation,
22419
+ shouldDisableAutomaticFetchInstrumentation
22419
22420
  } = opts;
22420
22421
  if ("files" in opts) {
22421
22422
  (0, import_assert4.default)(typeof opts.files === "object", '"files" must be an object');
@@ -22573,6 +22574,7 @@ var Lambda = class {
22573
22574
  this.experimentalAllowBundling = "experimentalAllowBundling" in opts ? opts.experimentalAllowBundling : void 0;
22574
22575
  this.experimentalTriggers = experimentalTriggers;
22575
22576
  this.supportsCancellation = supportsCancellation;
22577
+ this.shouldDisableAutomaticFetchInstrumentation = shouldDisableAutomaticFetchInstrumentation;
22576
22578
  }
22577
22579
  async createZip() {
22578
22580
  let { zipBuffer } = this;
package/dist/lambda.d.ts CHANGED
@@ -43,6 +43,11 @@ export interface LambdaOptionsBase {
43
43
  * When true, the Lambda runtime can be terminated mid-execution if the request is cancelled.
44
44
  */
45
45
  supportsCancellation?: boolean;
46
+ /**
47
+ * Whether to disable automatic fetch instrumentation.
48
+ * When true, the Function runtime will not automatically instrument fetch calls.
49
+ */
50
+ shouldDisableAutomaticFetchInstrumentation?: boolean;
46
51
  }
47
52
  export interface LambdaOptionsWithFiles extends LambdaOptionsBase {
48
53
  files: Files;
@@ -112,6 +117,11 @@ export declare class Lambda {
112
117
  * When true, the Lambda runtime can be terminated mid-execution if the request is cancelled.
113
118
  */
114
119
  supportsCancellation?: boolean;
120
+ /**
121
+ * Whether to disable automatic fetch instrumentation.
122
+ * When true, the Function runtime will not automatically instrument fetch calls.
123
+ */
124
+ shouldDisableAutomaticFetchInstrumentation?: boolean;
115
125
  constructor(opts: LambdaOptions);
116
126
  createZip(): Promise<Buffer>;
117
127
  /**
package/dist/lambda.js CHANGED
@@ -74,7 +74,8 @@ class Lambda {
74
74
  operationType,
75
75
  framework,
76
76
  experimentalTriggers,
77
- supportsCancellation
77
+ supportsCancellation,
78
+ shouldDisableAutomaticFetchInstrumentation
78
79
  } = opts;
79
80
  if ("files" in opts) {
80
81
  (0, import_assert.default)(typeof opts.files === "object", '"files" must be an object');
@@ -232,6 +233,7 @@ class Lambda {
232
233
  this.experimentalAllowBundling = "experimentalAllowBundling" in opts ? opts.experimentalAllowBundling : void 0;
233
234
  this.experimentalTriggers = experimentalTriggers;
234
235
  this.supportsCancellation = supportsCancellation;
236
+ this.shouldDisableAutomaticFetchInstrumentation = shouldDisableAutomaticFetchInstrumentation;
235
237
  }
236
238
  async createZip() {
237
239
  let { zipBuffer } = this;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/build-utils",
3
- "version": "13.2.0",
3
+ "version": "13.2.2",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.js",