@remotion/lambda-client 4.0.327 → 4.0.329
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/.turbo/turbo-make.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> @remotion/lambda-client@4.0.
|
|
3
|
+
> @remotion/lambda-client@4.0.329 make /Users/jonathanburger/remotion/packages/lambda-client
|
|
4
4
|
> tsc -d && bun --env-file=../.env.bundle bundle.ts
|
|
5
5
|
|
|
6
|
-
[0m[2m[[
|
|
6
|
+
[0m[2m[[1m86.54ms[0m[2m][0m Generated.
|
package/dist/esm/index.mjs
CHANGED
|
@@ -16478,6 +16478,30 @@ var validateFrame = ({
|
|
|
16478
16478
|
throw new RangeError(`Cannot use frame ${frame}: Duration of composition is ${durationInFrames}, therefore the highest frame that can be rendered is ${durationInFrames - 1}`);
|
|
16479
16479
|
}
|
|
16480
16480
|
};
|
|
16481
|
+
var validCodecs = [
|
|
16482
|
+
"h264",
|
|
16483
|
+
"h265",
|
|
16484
|
+
"vp8",
|
|
16485
|
+
"vp9",
|
|
16486
|
+
"mp3",
|
|
16487
|
+
"aac",
|
|
16488
|
+
"wav",
|
|
16489
|
+
"prores",
|
|
16490
|
+
"h264-mkv",
|
|
16491
|
+
"h264-ts",
|
|
16492
|
+
"gif"
|
|
16493
|
+
];
|
|
16494
|
+
function validateCodec(defaultCodec, location, name) {
|
|
16495
|
+
if (typeof defaultCodec === "undefined") {
|
|
16496
|
+
return;
|
|
16497
|
+
}
|
|
16498
|
+
if (typeof defaultCodec !== "string") {
|
|
16499
|
+
throw new TypeError(`The "${name}" prop ${location} must be a string, but you passed a value of type ${typeof defaultCodec}.`);
|
|
16500
|
+
}
|
|
16501
|
+
if (!validCodecs.includes(defaultCodec)) {
|
|
16502
|
+
throw new Error(`The "${name}" prop ${location} must be one of ${validCodecs.join(", ")}, but you passed ${defaultCodec}.`);
|
|
16503
|
+
}
|
|
16504
|
+
}
|
|
16481
16505
|
var validateDefaultAndInputProps = (defaultProps, name, compositionId) => {
|
|
16482
16506
|
if (!defaultProps) {
|
|
16483
16507
|
return;
|
|
@@ -16563,7 +16587,7 @@ var getOffthreadVideoSource = ({
|
|
|
16563
16587
|
currentTime,
|
|
16564
16588
|
toneMapped
|
|
16565
16589
|
}) => {
|
|
16566
|
-
return `http://localhost:${window.remotion_proxyPort}/proxy?src=${encodeURIComponent(getAbsoluteSrc(src))}&time=${encodeURIComponent(currentTime)}&transparent=${String(transparent)}&toneMapped=${String(toneMapped)}`;
|
|
16590
|
+
return `http://localhost:${window.remotion_proxyPort}/proxy?src=${encodeURIComponent(getAbsoluteSrc(src))}&time=${encodeURIComponent(Math.max(0, currentTime))}&transparent=${String(transparent)}&toneMapped=${String(toneMapped)}`;
|
|
16567
16591
|
};
|
|
16568
16592
|
var NoReactInternals = {
|
|
16569
16593
|
processColor,
|
|
@@ -16588,7 +16612,8 @@ var NoReactInternals = {
|
|
|
16588
16612
|
MIN_BUN_VERSION: ENABLE_V5_BREAKING_CHANGES ? "1.1.3" : "1.0.3",
|
|
16589
16613
|
colorNames,
|
|
16590
16614
|
DATE_TOKEN,
|
|
16591
|
-
FILE_TOKEN
|
|
16615
|
+
FILE_TOKEN,
|
|
16616
|
+
validateCodec
|
|
16592
16617
|
};
|
|
16593
16618
|
var COMMAND_NOT_FOUND = "Command not found";
|
|
16594
16619
|
var expiryDays = {
|
|
@@ -16654,7 +16679,7 @@ var validateDownloadBehavior = (downloadBehavior) => {
|
|
|
16654
16679
|
}
|
|
16655
16680
|
}
|
|
16656
16681
|
};
|
|
16657
|
-
var VERSION = "4.0.
|
|
16682
|
+
var VERSION = "4.0.329";
|
|
16658
16683
|
var isColorSupported = () => {
|
|
16659
16684
|
const env = process.env || {};
|
|
16660
16685
|
const isForceDisabled = "NO_COLOR" in env;
|
|
@@ -17394,7 +17419,7 @@ var getFramesToRender = (frameRange, everyNthFrame) => {
|
|
|
17394
17419
|
return index % everyNthFrame === 0;
|
|
17395
17420
|
});
|
|
17396
17421
|
};
|
|
17397
|
-
var
|
|
17422
|
+
var validCodecs2 = [
|
|
17398
17423
|
"h264",
|
|
17399
17424
|
"h265",
|
|
17400
17425
|
"vp8",
|
|
@@ -17490,8 +17515,8 @@ var defaultFileExtensionMap = {
|
|
|
17490
17515
|
}
|
|
17491
17516
|
};
|
|
17492
17517
|
var getFileExtensionFromCodec = (codec, audioCodec) => {
|
|
17493
|
-
if (!
|
|
17494
|
-
throw new Error(`Codec must be one of the following: ${
|
|
17518
|
+
if (!validCodecs2.includes(codec)) {
|
|
17519
|
+
throw new Error(`Codec must be one of the following: ${validCodecs2.join(", ")}, but got ${codec}`);
|
|
17495
17520
|
}
|
|
17496
17521
|
const map = defaultFileExtensionMap[codec];
|
|
17497
17522
|
if (audioCodec === null) {
|
|
@@ -18461,7 +18486,8 @@ var {
|
|
|
18461
18486
|
serializeJSONWithSpecialTypes: serializeJSONWithSpecialTypes2,
|
|
18462
18487
|
validateFps: validateFps2,
|
|
18463
18488
|
validateDimension: validateDimension2,
|
|
18464
|
-
validateDurationInFrames: validateDurationInFrames2
|
|
18489
|
+
validateDurationInFrames: validateDurationInFrames2,
|
|
18490
|
+
validateCodec: validateCodec2
|
|
18465
18491
|
} = NoReactInternals;
|
|
18466
18492
|
|
|
18467
18493
|
// src/get-env-variable.ts
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/lambda-client"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/lambda-client",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.329",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"author": "Jonny Burger <jonny@remotion.dev>",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"eslint": "9.19.0",
|
|
27
27
|
"next": "15.2.4",
|
|
28
28
|
"@types/mime-types": "2.1.1",
|
|
29
|
-
"@remotion/serverless-client": "4.0.
|
|
30
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
29
|
+
"@remotion/serverless-client": "4.0.329",
|
|
30
|
+
"@remotion/eslint-config-internal": "4.0.329"
|
|
31
31
|
},
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public"
|