@remotion/lambda 4.0.500 → 4.0.502

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.
@@ -37,11 +37,16 @@ const renderCommand = async ({ args, remotionRoot, logLevel, providerSpecifics,
37
37
  (0, quit_1.quit)(1);
38
38
  }
39
39
  const region = (0, get_aws_region_1.getAwsRegion)();
40
- const { envVariables, frameRange, inputProps } = cli_1.CliInternals.getCliOptions({
40
+ const { envVariables, frameRange, inputProps, selectedFrames } = cli_1.CliInternals.getCliOptions({
41
41
  isStill: false,
42
42
  logLevel,
43
43
  indent: false,
44
44
  });
45
+ if (selectedFrames !== null ||
46
+ (Array.isArray(frameRange) && Array.isArray(frameRange[0]))) {
47
+ throw new Error('Comma-separated frame selections are only supported by the local `remotion render` command. Pass one frame range to render a video on Lambda.');
48
+ }
49
+ const singleFrameRange = frameRange;
45
50
  const height = overrideHeightOption.getValue({
46
51
  commandLine: cli_1.CliInternals.parsedCli,
47
52
  }).value;
@@ -280,7 +285,7 @@ const renderCommand = async ({ args, remotionRoot, logLevel, providerSpecifics,
280
285
  concurrency: concurrency !== null && concurrency !== void 0 ? concurrency : null,
281
286
  privacy,
282
287
  logLevel,
283
- frameRange: frameRange !== null && frameRange !== void 0 ? frameRange : null,
288
+ frameRange: singleFrameRange,
284
289
  outName: resolvedOutName,
285
290
  timeoutInMilliseconds,
286
291
  chromiumOptions,
@@ -14,7 +14,7 @@ const printSitesHelp = (logLevel) => {
14
14
  cli_1.CliInternals.Log.info({ indent: false, logLevel });
15
15
  cli_1.CliInternals.Log.info({ indent: false, logLevel }, 'Available subcommands:');
16
16
  cli_1.CliInternals.Log.info({ indent: false, logLevel });
17
- cli_1.CliInternals.Log.info({ indent: false, logLevel }, `${constants_1.BINARY_NAME} ${exports.SITES_COMMAND} ${create_1.SITES_CREATE_SUBCOMMAND} <entry-point>`);
17
+ cli_1.CliInternals.Log.info({ indent: false, logLevel }, `${constants_1.BINARY_NAME} ${exports.SITES_COMMAND} ${create_1.SITES_CREATE_SUBCOMMAND} [entry-point]`);
18
18
  cli_1.CliInternals.Log.info({ indent: false, logLevel }, cli_1.CliInternals.chalk.gray('Creates a new site based on a Remotion project'));
19
19
  cli_1.CliInternals.Log.info({ indent: false, logLevel });
20
20
  cli_1.CliInternals.Log.info({ indent: false, logLevel }, `${constants_1.BINARY_NAME} ${exports.SITES_COMMAND} ${ls_1.SITES_LS_SUBCOMMAND}`);
@@ -8604,7 +8604,7 @@ var require_package = __commonJS((exports, module) => {
8604
8604
  url: "https://github.com/remotion-dev/remotion/tree/main/packages/lambda"
8605
8605
  },
8606
8606
  name: "@remotion/lambda",
8607
- version: "4.0.500",
8607
+ version: "4.0.502",
8608
8608
  description: "Render Remotion videos on AWS Lambda",
8609
8609
  main: "dist/index.js",
8610
8610
  scripts: {
@@ -11904,11 +11904,15 @@ var renderCommand = async ({
11904
11904
  quit(1);
11905
11905
  }
11906
11906
  const region = getAwsRegion();
11907
- const { envVariables, frameRange, inputProps } = CliInternals14.getCliOptions({
11907
+ const { envVariables, frameRange, inputProps, selectedFrames } = CliInternals14.getCliOptions({
11908
11908
  isStill: false,
11909
11909
  logLevel,
11910
11910
  indent: false
11911
11911
  });
11912
+ if (selectedFrames !== null || Array.isArray(frameRange) && Array.isArray(frameRange[0])) {
11913
+ throw new Error("Comma-separated frame selections are only supported by the local `remotion render` command. Pass one frame range to render a video on Lambda.");
11914
+ }
11915
+ const singleFrameRange = frameRange;
11912
11916
  const height = overrideHeightOption.getValue({
11913
11917
  commandLine: CliInternals14.parsedCli
11914
11918
  }).value;
@@ -12150,7 +12154,7 @@ var renderCommand = async ({
12150
12154
  concurrency: concurrency ?? null,
12151
12155
  privacy,
12152
12156
  logLevel,
12153
- frameRange: frameRange ?? null,
12157
+ frameRange: singleFrameRange,
12154
12158
  outName: resolvedOutName,
12155
12159
  timeoutInMilliseconds,
12156
12160
  chromiumOptions,
@@ -12779,7 +12783,7 @@ var printSitesHelp = (logLevel) => {
12779
12783
  CliInternals20.Log.info({ indent: false, logLevel });
12780
12784
  CliInternals20.Log.info({ indent: false, logLevel }, "Available subcommands:");
12781
12785
  CliInternals20.Log.info({ indent: false, logLevel });
12782
- CliInternals20.Log.info({ indent: false, logLevel }, `${BINARY_NAME11} ${SITES_COMMAND} ${SITES_CREATE_SUBCOMMAND} <entry-point>`);
12786
+ CliInternals20.Log.info({ indent: false, logLevel }, `${BINARY_NAME11} ${SITES_COMMAND} ${SITES_CREATE_SUBCOMMAND} [entry-point]`);
12783
12787
  CliInternals20.Log.info({ indent: false, logLevel }, CliInternals20.chalk.gray("Creates a new site based on a Remotion project"));
12784
12788
  CliInternals20.Log.info({ indent: false, logLevel });
12785
12789
  CliInternals20.Log.info({ indent: false, logLevel }, `${BINARY_NAME11} ${SITES_COMMAND} ${SITES_LS_SUBCOMMAND}`);
@@ -13325,6 +13329,7 @@ var LambdaInternals = {
13325
13329
  };
13326
13330
 
13327
13331
  // src/index.ts
13332
+ var deploySite2 = deploySite;
13328
13333
  var renderMediaOnLambda = NoReactInternals6.ENABLE_V5_BREAKING_CHANGES ? () => {
13329
13334
  throw new Error("renderMediaOnLambda() has moved to `@remotion/lambda-client`. Please import it from there.");
13330
13335
  } : deprecatedRenderMediaOnLambda;
@@ -13360,7 +13365,7 @@ export {
13360
13365
  estimatePrice,
13361
13366
  downloadMedia,
13362
13367
  deploySiteFromBundle,
13363
- deploySite,
13368
+ deploySite2 as deploySite,
13364
13369
  deployFunction,
13365
13370
  deleteSite,
13366
13371
  deleteRender,
package/dist/index.d.ts CHANGED
@@ -6,7 +6,6 @@ import { deleteSite } from './api/delete-site';
6
6
  import type { DeployFunctionInput, DeployFunctionOutput } from './api/deploy-function';
7
7
  import { deployFunction } from './api/deploy-function';
8
8
  import type { DeploySiteInput, DeploySiteOutput } from './api/deploy-site';
9
- import { deploySite } from './api/deploy-site';
10
9
  import type { DeploySiteFromBundleInput, DeploySiteFromBundleOutput } from './api/deploy-site-from-bundle';
11
10
  import { deploySiteFromBundle } from './api/deploy-site-from-bundle';
12
11
  import type { DownloadMediaInput, DownloadMediaOutput } from './api/download-media';
@@ -20,6 +19,10 @@ import { simulatePermissions } from './api/iam-validation/simulate';
20
19
  import { getRolePolicy, getUserPolicy } from './api/iam-validation/suggested-policy';
21
20
  import { LambdaInternals, type _InternalOverallRenderProgress } from './internals';
22
21
  export type { WebhookPayload } from '@remotion/lambda-client';
22
+ /**
23
+ * @deprecated Use `bundle()` from `@remotion/bundler`, then pass its output to `deploySiteFromBundle()`.
24
+ */
25
+ declare const deploySite: (args: DeploySiteInput) => DeploySiteOutput;
23
26
  /**
24
27
  * @deprecated Import this from `@remotion/lambda-client` instead
25
28
  */
package/dist/index.js CHANGED
@@ -16,7 +16,6 @@ Object.defineProperty(exports, "deleteSite", { enumerable: true, get: function (
16
16
  const deploy_function_1 = require("./api/deploy-function");
17
17
  Object.defineProperty(exports, "deployFunction", { enumerable: true, get: function () { return deploy_function_1.deployFunction; } });
18
18
  const deploy_site_1 = require("./api/deploy-site");
19
- Object.defineProperty(exports, "deploySite", { enumerable: true, get: function () { return deploy_site_1.deploySite; } });
20
19
  const deploy_site_from_bundle_1 = require("./api/deploy-site-from-bundle");
21
20
  Object.defineProperty(exports, "deploySiteFromBundle", { enumerable: true, get: function () { return deploy_site_from_bundle_1.deploySiteFromBundle; } });
22
21
  const download_media_1 = require("./api/download-media");
@@ -34,6 +33,11 @@ Object.defineProperty(exports, "getRolePolicy", { enumerable: true, get: functio
34
33
  Object.defineProperty(exports, "getUserPolicy", { enumerable: true, get: function () { return suggested_policy_1.getUserPolicy; } });
35
34
  const internals_1 = require("./internals");
36
35
  Object.defineProperty(exports, "LambdaInternals", { enumerable: true, get: function () { return internals_1.LambdaInternals; } });
36
+ /**
37
+ * @deprecated Use `bundle()` from `@remotion/bundler`, then pass its output to `deploySiteFromBundle()`.
38
+ */
39
+ const deploySite = deploy_site_1.deploySite;
40
+ exports.deploySite = deploySite;
37
41
  /**
38
42
  * @deprecated Import this from `@remotion/lambda-client` instead
39
43
  */
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/lambda"
4
4
  },
5
5
  "name": "@remotion/lambda",
6
- "version": "4.0.500",
6
+ "version": "4.0.502",
7
7
  "description": "Render Remotion videos on AWS Lambda",
8
8
  "main": "dist/index.js",
9
9
  "scripts": {
@@ -28,22 +28,22 @@
28
28
  "@aws-sdk/client-cloudwatch-logs": "3.986.0",
29
29
  "@aws-sdk/client-service-quotas": "3.986.0",
30
30
  "@aws-sdk/lib-storage": "3.986.0",
31
- "@remotion/bundler": "4.0.500",
32
- "@remotion/cli": "4.0.500",
33
- "@remotion/lambda-client": "4.0.500",
34
- "@remotion/renderer": "4.0.500",
35
- "@remotion/serverless": "4.0.500",
36
- "@remotion/streaming": "4.0.500",
31
+ "@remotion/bundler": "4.0.502",
32
+ "@remotion/cli": "4.0.502",
33
+ "@remotion/lambda-client": "4.0.502",
34
+ "@remotion/renderer": "4.0.502",
35
+ "@remotion/serverless": "4.0.502",
36
+ "@remotion/streaming": "4.0.502",
37
37
  "@smithy/abort-controller": "4.0.1",
38
- "remotion": "4.0.500",
38
+ "remotion": "4.0.502",
39
39
  "zod": "4.4.3"
40
40
  },
41
41
  "devDependencies": {
42
- "@remotion/bundler": "4.0.500",
42
+ "@remotion/bundler": "4.0.502",
43
43
  "@types/express": "5.0.1",
44
44
  "express": "4.21.0",
45
- "@remotion/compositor-linux-arm64-gnu": "4.0.500",
46
- "@remotion/eslint-config-internal": "4.0.500",
45
+ "@remotion/compositor-linux-arm64-gnu": "4.0.502",
46
+ "@remotion/eslint-config-internal": "4.0.502",
47
47
  "mime-types": "2.1.34",
48
48
  "@types/mime-types": "2.1.1",
49
49
  "@types/minimist": "1.2.2",
@@ -54,7 +54,7 @@
54
54
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
55
55
  },
56
56
  "peerDependencies": {
57
- "@remotion/bundler": "4.0.500"
57
+ "@remotion/bundler": "4.0.502"
58
58
  },
59
59
  "publishConfig": {
60
60
  "access": "public"
Binary file