@vercel/build-utils 13.17.0 → 13.18.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,23 @@
1
1
  # @vercel/build-utils
2
2
 
3
+ ## 13.18.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Generate PROJECTMANIFEST in @vercel/backends for Node deployments. ([#15991](https://github.com/vercel/vercel/pull/15991))
8
+
9
+ ## 13.17.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [experimental-services] add new job service type support ([#15944](https://github.com/vercel/vercel/pull/15944))
14
+
15
+ ## 13.17.1
16
+
17
+ ### Patch Changes
18
+
19
+ - Align deserialize logic with existing callers. ([#16002](https://github.com/vercel/vercel/pull/16002))
20
+
3
21
  ## 13.17.0
4
22
 
5
23
  ### Minor Changes
@@ -54,6 +54,7 @@ async function prerenderToBuildOutputFile(params) {
54
54
  }
55
55
  const CRLF = "\r\n";
56
56
  const MULTIPART_HEADER = "multipart/x-nextjs-extended-payload";
57
+ const boundary = (0, import_crypto.randomBytes)(8).toString("hex");
57
58
  function getExtendedPayload({
58
59
  initialHeaders,
59
60
  fallback
@@ -61,7 +62,6 @@ function getExtendedPayload({
61
62
  if (!initialHeaders || !Object.entries(initialHeaders).length) {
62
63
  return { initialHeaders: void 0, fallback, extendedBody: void 0 };
63
64
  }
64
- const boundary = (0, import_crypto.randomBytes)(8).toString("hex");
65
65
  return {
66
66
  initialHeaders: {
67
67
  ...fallback ? {} : { "x-vercel-empty-fallback": "true" },
@@ -18,8 +18,8 @@ type FilesMapProp = {
18
18
  * Type for the `.vc-config.json` file of a serialized
19
19
  * `ServerlessFunction` instance.
20
20
  */
21
- export type SerializedLambda = Properties<Omit<Lambda, 'files' | 'zipBuffer'>> & FilesMapProp;
22
- export type SerializedNodejsLambda = Properties<Omit<NodejsLambda, 'files' | 'zipBuffer'>> & FilesMapProp;
21
+ export type SerializedLambda<T extends Lambda = Lambda> = Properties<Omit<T, 'files' | 'zipBuffer'>> & FilesMapProp;
22
+ export type SerializedNodejsLambda<T extends NodejsLambda = NodejsLambda> = Properties<Omit<T, 'files' | 'zipBuffer'>> & FilesMapProp;
23
23
  export type SerializedFileFsRef = Properties<FileFsRef>;
24
24
  export type SerializedPrerender = Properties<Omit<Prerender, 'lambda' | 'fallback'>> & {
25
25
  fallback: SerializedFileFsRef | null;
package/dist/index.d.ts CHANGED
@@ -27,6 +27,7 @@ export { normalizePath } from './fs/normalize-path';
27
27
  export { getOsRelease, getProvidedRuntime } from './os';
28
28
  export * from './should-serve';
29
29
  export * from './schemas';
30
+ export * from './package-manifest';
30
31
  export * from './types';
31
32
  export * from './errors';
32
33
  export * from './trace';