@remotion/lambda 4.0.434 → 4.0.436

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.
@@ -3,21 +3,25 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.sitesLsSubcommand = exports.SITES_LS_SUBCOMMAND = void 0;
4
4
  const cli_1 = require("@remotion/cli");
5
5
  const lambda_client_1 = require("@remotion/lambda-client");
6
+ const args_1 = require("../../args");
6
7
  const get_aws_region_1 = require("../../get-aws-region");
7
8
  const date_string_1 = require("../../helpers/date-string");
8
9
  exports.SITES_LS_SUBCOMMAND = 'ls';
9
- const COLS = [20, 30, 10, 15];
10
+ const COLS = [20, 30, 10, 15, 15];
10
11
  const logRow = (data) => {
11
12
  return [
12
13
  data[0].padEnd(COLS[0], ' '),
13
14
  data[1].padEnd(COLS[1], ' '),
14
15
  data[2].padEnd(COLS[2], ' '),
15
16
  String(data[3]).padEnd(COLS[3], ' '),
17
+ String(data[4]).padEnd(COLS[4], ' '),
16
18
  ].join('');
17
19
  };
18
20
  const sitesLsSubcommand = async (logLevel) => {
21
+ var _a;
19
22
  const region = (0, get_aws_region_1.getAwsRegion)();
20
- const { sites, buckets } = await (0, lambda_client_1.getSites)({ region });
23
+ const compatibleOnly = args_1.parsedLambdaCli['compatible-only'] || false;
24
+ const { sites, buckets } = await (0, lambda_client_1.getSites)({ region, compatibleOnly });
21
25
  if (buckets.length > 1 && !cli_1.CliInternals.quietFlagProvided()) {
22
26
  cli_1.CliInternals.Log.warn({ indent: false, logLevel }, 'Warning: You have more than one Remotion S3 bucket, but only one is needed. This can lead to conflicts. Remove all but one of them.');
23
27
  }
@@ -33,13 +37,14 @@ const sitesLsSubcommand = async (logLevel) => {
33
37
  return cli_1.CliInternals.Log.info({ indent: false, logLevel }, sites.map((s) => s.id).join(' '));
34
38
  }
35
39
  cli_1.CliInternals.Log.info({ indent: false, logLevel });
36
- cli_1.CliInternals.Log.info({ indent: false, logLevel }, cli_1.CliInternals.chalk.gray(logRow(['Site Name', 'Bucket', 'Size', 'Last updated'])));
40
+ cli_1.CliInternals.Log.info({ indent: false, logLevel }, cli_1.CliInternals.chalk.gray(logRow(['Site Name', 'Bucket', 'Size', 'Last updated', 'Version'])));
37
41
  for (const site of sites) {
38
42
  cli_1.CliInternals.Log.info({ indent: false, logLevel }, logRow([
39
43
  site.id,
40
44
  site.bucketName,
41
45
  cli_1.CliInternals.formatBytes(site.sizeInBytes),
42
46
  site.lastModified ? (0, date_string_1.dateString)(new Date(site.lastModified)) : 'n/a',
47
+ (_a = site.version) !== null && _a !== void 0 ? _a : 'n/a',
43
48
  ]));
44
49
  cli_1.CliInternals.Log.info({ indent: false, logLevel }, site.serveUrl);
45
50
  cli_1.CliInternals.Log.info({ indent: false, logLevel });
@@ -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.434",
8607
+ version: "4.0.436",
8608
8608
  description: "Render Remotion videos on AWS Lambda",
8609
8609
  main: "dist/index.js",
8610
8610
  sideEffects: false,
@@ -12383,18 +12383,20 @@ var dateString = (date) => date.getFullYear() + "-" + String(date.getMonth() + 1
12383
12383
 
12384
12384
  // src/cli/commands/sites/ls.ts
12385
12385
  var SITES_LS_SUBCOMMAND = "ls";
12386
- var COLS = [20, 30, 10, 15];
12386
+ var COLS = [20, 30, 10, 15, 15];
12387
12387
  var logRow = (data) => {
12388
12388
  return [
12389
12389
  data[0].padEnd(COLS[0], " "),
12390
12390
  data[1].padEnd(COLS[1], " "),
12391
12391
  data[2].padEnd(COLS[2], " "),
12392
- String(data[3]).padEnd(COLS[3], " ")
12392
+ String(data[3]).padEnd(COLS[3], " "),
12393
+ String(data[4]).padEnd(COLS[4], " ")
12393
12394
  ].join("");
12394
12395
  };
12395
12396
  var sitesLsSubcommand = async (logLevel) => {
12396
12397
  const region = getAwsRegion();
12397
- const { sites, buckets } = await getSites({ region });
12398
+ const compatibleOnly = parsedLambdaCli["compatible-only"] || false;
12399
+ const { sites, buckets } = await getSites({ region, compatibleOnly });
12398
12400
  if (buckets.length > 1 && !CliInternals17.quietFlagProvided()) {
12399
12401
  CliInternals17.Log.warn({ indent: false, logLevel }, "Warning: You have more than one Remotion S3 bucket, but only one is needed. This can lead to conflicts. Remove all but one of them.");
12400
12402
  }
@@ -12410,13 +12412,14 @@ var sitesLsSubcommand = async (logLevel) => {
12410
12412
  return CliInternals17.Log.info({ indent: false, logLevel }, sites.map((s) => s.id).join(" "));
12411
12413
  }
12412
12414
  CliInternals17.Log.info({ indent: false, logLevel });
12413
- CliInternals17.Log.info({ indent: false, logLevel }, CliInternals17.chalk.gray(logRow(["Site Name", "Bucket", "Size", "Last updated"])));
12415
+ CliInternals17.Log.info({ indent: false, logLevel }, CliInternals17.chalk.gray(logRow(["Site Name", "Bucket", "Size", "Last updated", "Version"])));
12414
12416
  for (const site of sites) {
12415
12417
  CliInternals17.Log.info({ indent: false, logLevel }, logRow([
12416
12418
  site.id,
12417
12419
  site.bucketName,
12418
12420
  CliInternals17.formatBytes(site.sizeInBytes),
12419
- site.lastModified ? dateString(new Date(site.lastModified)) : "n/a"
12421
+ site.lastModified ? dateString(new Date(site.lastModified)) : "n/a",
12422
+ site.version ?? "n/a"
12420
12423
  ]));
12421
12424
  CliInternals17.Log.info({ indent: false, logLevel }, site.serveUrl);
12422
12425
  CliInternals17.Log.info({ indent: false, logLevel });
package/dist/index.d.ts CHANGED
@@ -37,7 +37,7 @@ declare const presignUrl: <CheckIfObjectExists extends boolean = false>({ region
37
37
  /**
38
38
  * @deprecated Import this from `@remotion/lambda-client` instead
39
39
  */
40
- declare const getSites: ({ region, forceBucketName, forcePathStyle, requestHandler, }: GetSitesInput) => Promise<GetSitesOutput>;
40
+ declare const getSites: ({ region, forceBucketName, forcePathStyle, compatibleOnly, requestHandler, }: GetSitesInput) => Promise<GetSitesOutput>;
41
41
  export { deleteFunction, deleteRender, deleteSite, deployFunction, deploySite, downloadMedia, estimatePrice, getAwsClient, getCompositionsOnLambda, getFunctionInfo, getFunctions, getOrCreateBucket, getRegions, getRenderProgress, getRolePolicy, getSites, getUserPolicy, LambdaInternals, presignUrl, renderMediaOnLambda, renderStillOnLambda, renderVideoOnLambda, simulatePermissions, validateWebhookSignature, };
42
42
  export type { AwsRegion, CustomCredentials, DeleteFunctionInput, DeleteRenderInput, DeleteSiteInput, DeleteSiteOutput, DeployFunctionInput, DeployFunctionOutput, DeploySiteInput, DeploySiteOutput, DownloadMediaInput, DownloadMediaOutput, EnhancedErrorInfo, EstimatePriceInput, FunctionInfo, GetAwsClientInput, GetAwsClientOutput, GetCompositionsOnLambdaInput, GetCompositionsOnLambdaOutput, GetFunctionInfoInput, GetFunctionsInput, GetOrCreateBucketInput, GetOrCreateBucketOutput, GetRenderProgressInput, GetSitesInput, GetSitesOutput, RenderMediaOnLambdaInput, RenderMediaOnLambdaOutput, RenderProgress, RenderStillOnLambdaInput, RenderStillOnLambdaOutput, SimulatePermissionsInput, SimulatePermissionsOutput, };
43
43
  export { _InternalOverallRenderProgress };
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.434",
6
+ "version": "4.0.436",
7
7
  "description": "Render Remotion videos on AWS Lambda",
8
8
  "main": "dist/index.js",
9
9
  "sideEffects": false,
@@ -29,22 +29,22 @@
29
29
  "@aws-sdk/client-cloudwatch-logs": "3.986.0",
30
30
  "@aws-sdk/client-service-quotas": "3.986.0",
31
31
  "@aws-sdk/lib-storage": "3.986.0",
32
- "@remotion/bundler": "4.0.434",
33
- "@remotion/cli": "4.0.434",
34
- "@remotion/lambda-client": "4.0.434",
35
- "@remotion/renderer": "4.0.434",
36
- "@remotion/serverless": "4.0.434",
37
- "@remotion/streaming": "4.0.434",
32
+ "@remotion/bundler": "4.0.436",
33
+ "@remotion/cli": "4.0.436",
34
+ "@remotion/lambda-client": "4.0.436",
35
+ "@remotion/renderer": "4.0.436",
36
+ "@remotion/serverless": "4.0.436",
37
+ "@remotion/streaming": "4.0.436",
38
38
  "@smithy/abort-controller": "4.0.1",
39
- "remotion": "4.0.434",
39
+ "remotion": "4.0.436",
40
40
  "zod": "4.3.6"
41
41
  },
42
42
  "devDependencies": {
43
- "@remotion/bundler": "4.0.434",
43
+ "@remotion/bundler": "4.0.436",
44
44
  "@types/express": "^5.0.0",
45
45
  "express": "4.21.0",
46
- "@remotion/compositor-linux-arm64-gnu": "4.0.434",
47
- "@remotion/eslint-config-internal": "4.0.434",
46
+ "@remotion/compositor-linux-arm64-gnu": "4.0.436",
47
+ "@remotion/eslint-config-internal": "4.0.436",
48
48
  "mime-types": "2.1.34",
49
49
  "@types/mime-types": "2.1.1",
50
50
  "@types/minimist": "1.2.2",
@@ -55,7 +55,7 @@
55
55
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
56
56
  },
57
57
  "peerDependencies": {
58
- "@remotion/bundler": "4.0.434"
58
+ "@remotion/bundler": "4.0.436"
59
59
  },
60
60
  "publishConfig": {
61
61
  "access": "public"
Binary file