@vercel/build-utils 13.14.0 → 13.14.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 +14 -0
- package/dist/finalize-lambda.d.ts +2 -2
- package/dist/finalize-lambda.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +332 -292
- package/dist/node-entrypoint.d.ts +15 -0
- package/dist/node-entrypoint.js +74 -0
- package/dist/types.d.ts +9 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @vercel/build-utils
|
|
2
2
|
|
|
3
|
+
## 13.14.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Add `mount` support for experimental services across config validation and service resolution. ([#15882](https://github.com/vercel/vercel/pull/15882))
|
|
8
|
+
|
|
9
|
+
## 13.14.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Restore `finalizeLambda()` to return `zipPath: null` for the default in-memory path, preserving the existing caller-facing result contract while keeping custom ZIP strategies supported. ([#15887](https://github.com/vercel/vercel/pull/15887))
|
|
14
|
+
|
|
15
|
+
- feat(node): filter non-entrypoint Node.js files in `/api` directory ([#15873](https://github.com/vercel/vercel/pull/15873))
|
|
16
|
+
|
|
3
17
|
## 13.14.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
@@ -53,8 +53,8 @@ export interface FinalizeLambdaParams {
|
|
|
53
53
|
export interface FinalizeLambdaResult {
|
|
54
54
|
/** The zip as a Buffer, or null when a custom createZip returns a disk path. */
|
|
55
55
|
buffer: Buffer | null;
|
|
56
|
-
/** Path to zip on disk (set by custom createZip),
|
|
57
|
-
zipPath
|
|
56
|
+
/** Path to zip on disk (set by custom createZip), null for in-memory. */
|
|
57
|
+
zipPath: string | null;
|
|
58
58
|
/** SHA-256 hex digest. */
|
|
59
59
|
digest: string;
|
|
60
60
|
/** Compressed size in bytes. */
|
package/dist/finalize-lambda.js
CHANGED
|
@@ -105,7 +105,7 @@ async function finalizeLambda(params) {
|
|
|
105
105
|
lambda.supportsResponseStreaming = streamingResult.supportsStreaming;
|
|
106
106
|
return {
|
|
107
107
|
buffer: zipResult.buffer,
|
|
108
|
-
zipPath: zipResult.zipPath,
|
|
108
|
+
zipPath: zipResult.zipPath ?? null,
|
|
109
109
|
digest: zipResult.digest,
|
|
110
110
|
size: zipResult.size,
|
|
111
111
|
uncompressedBytes,
|
package/dist/index.d.ts
CHANGED
|
@@ -36,6 +36,7 @@ export { defaultCachePathGlob } from './default-cache-path-glob';
|
|
|
36
36
|
export { generateNodeBuilderFunctions } from './generate-node-builder-functions';
|
|
37
37
|
export { BACKEND_FRAMEWORKS, BACKEND_BUILDERS, UNIFIED_BACKEND_BUILDER, BackendFramework, isBackendFramework, isNodeBackendFramework, isBackendBuilder, isExperimentalBackendsEnabled, isExperimentalBackendsWithoutIntrospectionEnabled, shouldUseExperimentalBackends, PYTHON_FRAMEWORKS, PythonFramework, isPythonFramework, } from './framework-helpers';
|
|
38
38
|
export * from './python';
|
|
39
|
+
export * from './node-entrypoint';
|
|
39
40
|
export { getEncryptedEnv, type EncryptedEnvFile, } from './process-serverless/get-encrypted-env-file';
|
|
40
41
|
export { getLambdaEnvironment } from './process-serverless/get-lambda-environment';
|
|
41
42
|
export { getLambdaPreloadScripts, type BytecodeCachingOptions, } from './process-serverless/get-lambda-preload-scripts';
|