@vercel/build-utils 13.2.9 → 13.2.11
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 +6 -0
- package/dist/index.js +4 -1
- package/dist/lambda.d.ts +1 -1
- package/dist/lambda.js +4 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -24336,7 +24336,10 @@ var Lambda = class {
|
|
|
24336
24336
|
);
|
|
24337
24337
|
}
|
|
24338
24338
|
if (runtimeLanguage !== void 0) {
|
|
24339
|
-
(0, import_assert4.default)(
|
|
24339
|
+
(0, import_assert4.default)(
|
|
24340
|
+
runtimeLanguage === "rust" || runtimeLanguage === "go",
|
|
24341
|
+
'"runtimeLanguage" is invalid. Valid options: "rust", "go"'
|
|
24342
|
+
);
|
|
24340
24343
|
}
|
|
24341
24344
|
if ("experimentalAllowBundling" in opts && opts.experimentalAllowBundling !== void 0) {
|
|
24342
24345
|
(0, import_assert4.default)(
|
package/dist/lambda.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type { Config, Env, Files, FunctionFramework, TriggerEvent } from './types';
|
|
3
3
|
export type { TriggerEvent };
|
|
4
4
|
export type LambdaOptions = LambdaOptionsWithFiles | LambdaOptionsWithZipBuffer;
|
|
5
|
-
export type LambdaExecutableRuntimeLanguages = 'rust';
|
|
5
|
+
export type LambdaExecutableRuntimeLanguages = 'rust' | 'go';
|
|
6
6
|
export type LambdaArchitecture = 'x86_64' | 'arm64';
|
|
7
7
|
export interface LambdaOptionsBase {
|
|
8
8
|
handler: string;
|
package/dist/lambda.js
CHANGED
|
@@ -93,7 +93,10 @@ class Lambda {
|
|
|
93
93
|
);
|
|
94
94
|
}
|
|
95
95
|
if (runtimeLanguage !== void 0) {
|
|
96
|
-
(0, import_assert.default)(
|
|
96
|
+
(0, import_assert.default)(
|
|
97
|
+
runtimeLanguage === "rust" || runtimeLanguage === "go",
|
|
98
|
+
'"runtimeLanguage" is invalid. Valid options: "rust", "go"'
|
|
99
|
+
);
|
|
97
100
|
}
|
|
98
101
|
if ("experimentalAllowBundling" in opts && opts.experimentalAllowBundling !== void 0) {
|
|
99
102
|
(0, import_assert.default)(
|