@remotion/lambda 4.0.427 → 4.0.429
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/README.md +7 -7
- package/dist/api/create-function.js +1 -1
- package/dist/api/deploy-site.d.ts +1 -0
- package/dist/api/deploy-site.js +6 -5
- package/dist/api/download-media.js +1 -1
- package/dist/api/upload-dir.js +2 -2
- package/dist/cli/args.d.ts +2 -2
- package/dist/cli/commands/quotas/increase.js +1 -1
- package/dist/cli/commands/render/render.js +4 -4
- package/dist/cli/commands/sites/create.js +6 -2
- package/dist/cli/commands/still.js +1 -1
- package/dist/cli/helpers/get-webhook-custom-data.js +1 -1
- package/dist/esm/index.mjs +21 -15
- package/package.json +13 -13
- package/remotionlambda-arm64.zip +0 -0
package/README.md
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
# @remotion/lambda
|
|
2
|
-
|
|
2
|
+
|
|
3
3
|
Render Remotion videos on AWS Lambda
|
|
4
|
-
|
|
4
|
+
|
|
5
5
|
[](https://npmcharts.com/compare/@remotion/lambda?minimal=true)
|
|
6
|
-
|
|
6
|
+
|
|
7
7
|
## Installation
|
|
8
|
-
|
|
8
|
+
|
|
9
9
|
```bash
|
|
10
10
|
npm install @remotion/lambda --save-exact
|
|
11
11
|
```
|
|
12
|
-
|
|
12
|
+
|
|
13
13
|
When installing a Remotion package, make sure to align the version of all `remotion` and `@remotion/*` packages to the same version.
|
|
14
14
|
Remove the `^` character from the version number to use the exact version.
|
|
15
|
-
|
|
15
|
+
|
|
16
16
|
## Usage
|
|
17
|
-
|
|
17
|
+
|
|
18
18
|
See the [documentation](https://www.remotion.dev/docs/lambda) for more information.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.createFunction = void 0;
|
|
4
|
+
const node_fs_1 = require("node:fs");
|
|
4
5
|
const client_cloudwatch_logs_1 = require("@aws-sdk/client-cloudwatch-logs");
|
|
5
6
|
const client_lambda_1 = require("@aws-sdk/client-lambda");
|
|
6
7
|
const lambda_client_1 = require("@remotion/lambda-client");
|
|
7
8
|
const constants_1 = require("@remotion/lambda-client/constants");
|
|
8
9
|
const renderer_1 = require("@remotion/renderer");
|
|
9
|
-
const node_fs_1 = require("node:fs");
|
|
10
10
|
const version_1 = require("remotion/version");
|
|
11
11
|
const get_layers_1 = require("../shared/get-layers");
|
|
12
12
|
const lambda_insights_extensions_1 = require("../shared/lambda-insights-extensions");
|
package/dist/api/deploy-site.js
CHANGED
|
@@ -4,17 +4,17 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.deploySite = exports.internalDeploySite = void 0;
|
|
7
|
+
const node_fs_1 = __importDefault(require("node:fs"));
|
|
7
8
|
const lambda_client_1 = require("@remotion/lambda-client");
|
|
8
9
|
const constants_1 = require("@remotion/lambda-client/constants");
|
|
9
10
|
const error_handling_1 = require("@remotion/renderer/error-handling");
|
|
10
11
|
const serverless_1 = require("@remotion/serverless");
|
|
11
|
-
const node_fs_1 = __importDefault(require("node:fs"));
|
|
12
12
|
const full_client_implementation_1 = require("../functions/full-client-implementation");
|
|
13
13
|
const get_s3_operations_1 = require("../shared/get-s3-operations");
|
|
14
14
|
const validate_site_name_1 = require("../shared/validate-site-name");
|
|
15
15
|
const mandatoryDeploySite = async ({ bucketName, entryPoint, siteName, options, region, privacy, gitSource, throwIfSiteExists, providerSpecifics, forcePathStyle, fullClientSpecifics, requestHandler, }) => {
|
|
16
16
|
var _a, _b;
|
|
17
|
-
var _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
17
|
+
var _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
18
18
|
lambda_client_1.LambdaClientInternals.validateAwsRegion(region);
|
|
19
19
|
(0, serverless_1.validateBucketName)({
|
|
20
20
|
bucketName,
|
|
@@ -66,9 +66,10 @@ const mandatoryDeploySite = async ({ bucketName, entryPoint, siteName, options,
|
|
|
66
66
|
askAIEnabled: (_j = options === null || options === void 0 ? void 0 : options.askAIEnabled) !== null && _j !== void 0 ? _j : true,
|
|
67
67
|
audioLatencyHint: null,
|
|
68
68
|
experimentalClientSideRenderingEnabled: (_k = options === null || options === void 0 ? void 0 : options.experimentalClientSideRenderingEnabled) !== null && _k !== void 0 ? _k : false,
|
|
69
|
-
|
|
69
|
+
experimentalVisualModeEnabled: (_l = options === null || options === void 0 ? void 0 : options.experimentalVisualModeEnabled) !== null && _l !== void 0 ? _l : false,
|
|
70
|
+
keyboardShortcutsEnabled: (_m = options === null || options === void 0 ? void 0 : options.keyboardShortcutsEnabled) !== null && _m !== void 0 ? _m : true,
|
|
70
71
|
renderDefaults: null,
|
|
71
|
-
rspack: (
|
|
72
|
+
rspack: (_o = options === null || options === void 0 ? void 0 : options.rspack) !== null && _o !== void 0 ? _o : false,
|
|
72
73
|
}),
|
|
73
74
|
]);
|
|
74
75
|
if (throwIfSiteExists && files.length > 0) {
|
|
@@ -97,7 +98,7 @@ const mandatoryDeploySite = async ({ bucketName, entryPoint, siteName, options,
|
|
|
97
98
|
bucket: bucketName,
|
|
98
99
|
region,
|
|
99
100
|
localDir: bundled,
|
|
100
|
-
onProgress: (
|
|
101
|
+
onProgress: (_p = options === null || options === void 0 ? void 0 : options.onUploadProgress) !== null && _p !== void 0 ? _p : (() => undefined),
|
|
101
102
|
keyPrefix: subFolder,
|
|
102
103
|
privacy: privacy !== null && privacy !== void 0 ? privacy : 'public',
|
|
103
104
|
toUpload,
|
|
@@ -4,11 +4,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.downloadMedia = exports.internalDownloadMedia = void 0;
|
|
7
|
+
const node_path_1 = __importDefault(require("node:path"));
|
|
7
8
|
const lambda_client_1 = require("@remotion/lambda-client");
|
|
8
9
|
const constants_1 = require("@remotion/lambda-client/constants");
|
|
9
10
|
const renderer_1 = require("@remotion/renderer");
|
|
10
11
|
const serverless_1 = require("@remotion/serverless");
|
|
11
|
-
const node_path_1 = __importDefault(require("node:path"));
|
|
12
12
|
const read_with_progress_1 = require("../functions/helpers/read-with-progress");
|
|
13
13
|
const internalDownloadMedia = async (input) => {
|
|
14
14
|
var _a, _b, _c, _d, _e;
|
package/dist/api/upload-dir.js
CHANGED
|
@@ -4,11 +4,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.uploadDir = void 0;
|
|
7
|
+
const node_fs_1 = require("node:fs");
|
|
8
|
+
const node_path_1 = __importDefault(require("node:path"));
|
|
7
9
|
const lib_storage_1 = require("@aws-sdk/lib-storage");
|
|
8
10
|
const lambda_client_1 = require("@remotion/lambda-client");
|
|
9
11
|
const mime_types_1 = __importDefault(require("mime-types"));
|
|
10
|
-
const node_fs_1 = require("node:fs");
|
|
11
|
-
const node_path_1 = __importDefault(require("node:path"));
|
|
12
12
|
const make_s3_key_1 = require("../shared/make-s3-key");
|
|
13
13
|
async function getFiles(directory, originalDirectory, toUpload) {
|
|
14
14
|
const dirents = await node_fs_1.promises.readdir(directory, { withFileTypes: true });
|
package/dist/cli/args.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { BrowserSafeApis } from '@remotion/renderer/client';
|
|
2
|
-
import type { AwsRegion, DeleteAfter, RuntimePreference } from '../client';
|
|
3
1
|
import { StorageClass } from '@aws-sdk/client-s3';
|
|
2
|
+
import type { BrowserSafeApis } from '@remotion/renderer/client';
|
|
4
3
|
import type { Privacy } from '@remotion/serverless';
|
|
4
|
+
import type { AwsRegion, DeleteAfter, RuntimePreference } from '../client';
|
|
5
5
|
type LambdaCommandLineOptions = {
|
|
6
6
|
help: boolean;
|
|
7
7
|
region: AwsRegion;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.INCREASE_SUBCOMMAND = void 0;
|
|
4
4
|
exports.quotasIncreaseCommand = quotasIncreaseCommand;
|
|
5
|
+
const node_process_1 = require("node:process");
|
|
5
6
|
const client_service_quotas_1 = require("@aws-sdk/client-service-quotas");
|
|
6
7
|
const lambda_client_1 = require("@remotion/lambda-client");
|
|
7
8
|
const constants_1 = require("@remotion/lambda-client/constants");
|
|
8
|
-
const node_process_1 = require("node:process");
|
|
9
9
|
const _1 = require(".");
|
|
10
10
|
const args_1 = require("../../args");
|
|
11
11
|
const get_aws_region_1 = require("../../get-aws-region");
|
|
@@ -4,16 +4,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.renderCommand = exports.RENDER_COMMAND = void 0;
|
|
7
|
+
const path_1 = __importDefault(require("path"));
|
|
7
8
|
const cli_1 = require("@remotion/cli");
|
|
8
9
|
const config_1 = require("@remotion/cli/config");
|
|
10
|
+
const lambda_client_1 = require("@remotion/lambda-client");
|
|
11
|
+
const constants_1 = require("@remotion/lambda-client/constants");
|
|
9
12
|
const renderer_1 = require("@remotion/renderer");
|
|
10
13
|
const client_1 = require("@remotion/renderer/client");
|
|
11
|
-
const
|
|
14
|
+
const serverless_1 = require("@remotion/serverless");
|
|
12
15
|
const no_react_1 = require("remotion/no-react");
|
|
13
16
|
const download_media_1 = require("../../../api/download-media");
|
|
14
|
-
const lambda_client_1 = require("@remotion/lambda-client");
|
|
15
|
-
const constants_1 = require("@remotion/lambda-client/constants");
|
|
16
|
-
const serverless_1 = require("@remotion/serverless");
|
|
17
17
|
const sleep_1 = require("../../../shared/sleep");
|
|
18
18
|
const validate_retries_1 = require("../../../shared/validate-retries");
|
|
19
19
|
const args_1 = require("../../args");
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.sitesCreateSubcommand = exports.SITES_CREATE_SUBCOMMAND = void 0;
|
|
4
4
|
const cli_1 = require("@remotion/cli");
|
|
5
5
|
const config_1 = require("@remotion/cli/config");
|
|
6
|
-
const client_1 = require("@remotion/renderer/client");
|
|
7
6
|
const constants_1 = require("@remotion/lambda-client/constants");
|
|
7
|
+
const client_1 = require("@remotion/renderer/client");
|
|
8
8
|
const serverless_1 = require("@remotion/serverless");
|
|
9
9
|
const no_react_1 = require("remotion/no-react");
|
|
10
10
|
const full_client_implementation_1 = require("../../../functions/full-client-implementation");
|
|
@@ -16,7 +16,7 @@ const progress_bar_1 = require("../../helpers/progress-bar");
|
|
|
16
16
|
const quit_1 = require("../../helpers/quit");
|
|
17
17
|
const log_1 = require("../../log");
|
|
18
18
|
exports.SITES_CREATE_SUBCOMMAND = 'create';
|
|
19
|
-
const { folderExpiryOption, publicDirOption, throwIfSiteExistsOption, disableGitSourceOption, askAIOption, experimentalClientSideRenderingOption, keyboardShortcutsOption, } = client_1.BrowserSafeApis.options;
|
|
19
|
+
const { folderExpiryOption, publicDirOption, throwIfSiteExistsOption, disableGitSourceOption, askAIOption, experimentalClientSideRenderingOption, experimentalVisualModeOption, keyboardShortcutsOption, } = client_1.BrowserSafeApis.options;
|
|
20
20
|
const sitesCreateSubcommand = async (args, remotionRoot, logLevel, implementation) => {
|
|
21
21
|
var _a, _b, _c, _d, _e;
|
|
22
22
|
const { file, reason } = cli_1.CliInternals.findEntryPoint({
|
|
@@ -113,6 +113,9 @@ const sitesCreateSubcommand = async (args, remotionRoot, logLevel, implementatio
|
|
|
113
113
|
const experimentalClientSideRenderingEnabled = experimentalClientSideRenderingOption.getValue({
|
|
114
114
|
commandLine: cli_1.CliInternals.parsedCli,
|
|
115
115
|
}).value;
|
|
116
|
+
const experimentalVisualModeEnabled = experimentalVisualModeOption.getValue({
|
|
117
|
+
commandLine: cli_1.CliInternals.parsedCli,
|
|
118
|
+
}).value;
|
|
116
119
|
const keyboardShortcutsEnabled = keyboardShortcutsOption.getValue({
|
|
117
120
|
commandLine: cli_1.CliInternals.parsedCli,
|
|
118
121
|
}).value;
|
|
@@ -160,6 +163,7 @@ const sitesCreateSubcommand = async (args, remotionRoot, logLevel, implementatio
|
|
|
160
163
|
bypassBucketNameValidation: Boolean(args_1.parsedLambdaCli['force-bucket-name']),
|
|
161
164
|
askAIEnabled,
|
|
162
165
|
experimentalClientSideRenderingEnabled,
|
|
166
|
+
experimentalVisualModeEnabled,
|
|
163
167
|
keyboardShortcutsEnabled,
|
|
164
168
|
},
|
|
165
169
|
region: (0, get_aws_region_1.getAwsRegion)(),
|
|
@@ -4,6 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.stillCommand = exports.STILL_COMMAND = void 0;
|
|
7
|
+
const path_1 = __importDefault(require("path"));
|
|
7
8
|
const cli_1 = require("@remotion/cli");
|
|
8
9
|
const config_1 = require("@remotion/cli/config");
|
|
9
10
|
const lambda_client_1 = require("@remotion/lambda-client");
|
|
@@ -11,7 +12,6 @@ const constants_1 = require("@remotion/lambda-client/constants");
|
|
|
11
12
|
const renderer_1 = require("@remotion/renderer");
|
|
12
13
|
const client_1 = require("@remotion/renderer/client");
|
|
13
14
|
const serverless_1 = require("@remotion/serverless");
|
|
14
|
-
const path_1 = __importDefault(require("path"));
|
|
15
15
|
const no_react_1 = require("remotion/no-react");
|
|
16
16
|
const download_media_1 = require("../../api/download-media");
|
|
17
17
|
const validate_retries_1 = require("../../shared/validate-retries");
|
|
@@ -4,10 +4,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.getWebhookCustomData = void 0;
|
|
7
|
-
const client_1 = require("@remotion/renderer/client");
|
|
8
7
|
const node_fs_1 = __importDefault(require("node:fs"));
|
|
9
8
|
const node_os_1 = __importDefault(require("node:os"));
|
|
10
9
|
const node_path_1 = __importDefault(require("node:path"));
|
|
10
|
+
const client_1 = require("@remotion/renderer/client");
|
|
11
11
|
const args_1 = require("../args");
|
|
12
12
|
const log_1 = require("../log");
|
|
13
13
|
const getWebhookCustomData = (logLevel) => {
|
package/dist/esm/index.mjs
CHANGED
|
@@ -8604,12 +8604,12 @@ 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.
|
|
8607
|
+
version: "4.0.429",
|
|
8608
8608
|
description: "Render Remotion videos on AWS Lambda",
|
|
8609
8609
|
main: "dist/index.js",
|
|
8610
8610
|
sideEffects: false,
|
|
8611
8611
|
scripts: {
|
|
8612
|
-
formatting: "
|
|
8612
|
+
formatting: "oxfmt src --check",
|
|
8613
8613
|
lint: "eslint src",
|
|
8614
8614
|
testlambda: "exit 0",
|
|
8615
8615
|
test: "bun test src/test/unit",
|
|
@@ -8790,6 +8790,7 @@ import { VERSION as VERSION2 } from "remotion/version";
|
|
|
8790
8790
|
import { bundle } from "@remotion/bundler";
|
|
8791
8791
|
|
|
8792
8792
|
// src/api/create-function.ts
|
|
8793
|
+
import { readFileSync } from "node:fs";
|
|
8793
8794
|
import {
|
|
8794
8795
|
CreateLogGroupCommand,
|
|
8795
8796
|
PutRetentionPolicyCommand
|
|
@@ -8806,7 +8807,6 @@ import {
|
|
|
8806
8807
|
} from "@remotion/lambda-client";
|
|
8807
8808
|
import { LOG_GROUP_PREFIX as LOG_GROUP_PREFIX3 } from "@remotion/lambda-client/constants";
|
|
8808
8809
|
import { RenderInternals } from "@remotion/renderer";
|
|
8809
|
-
import { readFileSync } from "node:fs";
|
|
8810
8810
|
import { VERSION } from "remotion/version";
|
|
8811
8811
|
|
|
8812
8812
|
// src/shared/get-layers.ts
|
|
@@ -9701,10 +9701,10 @@ var createFunction = async ({
|
|
|
9701
9701
|
|
|
9702
9702
|
// src/api/upload-dir.ts
|
|
9703
9703
|
var import_mime_types = __toESM(require_mime_types(), 1);
|
|
9704
|
-
import { Upload } from "@aws-sdk/lib-storage";
|
|
9705
|
-
import { LambdaClientInternals as LambdaClientInternals4 } from "@remotion/lambda-client";
|
|
9706
9704
|
import { createReadStream, promises as fs } from "node:fs";
|
|
9707
9705
|
import path2 from "node:path";
|
|
9706
|
+
import { Upload } from "@aws-sdk/lib-storage";
|
|
9707
|
+
import { LambdaClientInternals as LambdaClientInternals4 } from "@remotion/lambda-client";
|
|
9708
9708
|
|
|
9709
9709
|
// src/shared/make-s3-key.ts
|
|
9710
9710
|
import path from "node:path";
|
|
@@ -10053,6 +10053,7 @@ var deployFunction = ({
|
|
|
10053
10053
|
};
|
|
10054
10054
|
|
|
10055
10055
|
// src/api/deploy-site.ts
|
|
10056
|
+
import fs4 from "node:fs";
|
|
10056
10057
|
import { LambdaClientInternals as LambdaClientInternals6 } from "@remotion/lambda-client";
|
|
10057
10058
|
import {
|
|
10058
10059
|
getSitesKey as getSitesKey2,
|
|
@@ -10060,7 +10061,6 @@ import {
|
|
|
10060
10061
|
} from "@remotion/lambda-client/constants";
|
|
10061
10062
|
import { wrapWithErrorHandling as wrapWithErrorHandling2 } from "@remotion/renderer/error-handling";
|
|
10062
10063
|
import { validateBucketName, validatePrivacy } from "@remotion/serverless";
|
|
10063
|
-
import fs4 from "node:fs";
|
|
10064
10064
|
|
|
10065
10065
|
// src/shared/get-s3-operations.ts
|
|
10066
10066
|
var getS3DiffOperations = async ({
|
|
@@ -10204,6 +10204,7 @@ var mandatoryDeploySite = async ({
|
|
|
10204
10204
|
askAIEnabled: options?.askAIEnabled ?? true,
|
|
10205
10205
|
audioLatencyHint: null,
|
|
10206
10206
|
experimentalClientSideRenderingEnabled: options?.experimentalClientSideRenderingEnabled ?? false,
|
|
10207
|
+
experimentalVisualModeEnabled: options?.experimentalVisualModeEnabled ?? false,
|
|
10207
10208
|
keyboardShortcutsEnabled: options?.keyboardShortcutsEnabled ?? true,
|
|
10208
10209
|
renderDefaults: null,
|
|
10209
10210
|
rspack: options?.rspack ?? false
|
|
@@ -10290,6 +10291,7 @@ var deploySite = (args) => {
|
|
|
10290
10291
|
};
|
|
10291
10292
|
|
|
10292
10293
|
// src/api/download-media.ts
|
|
10294
|
+
import path5 from "node:path";
|
|
10293
10295
|
import { LambdaClientInternals as LambdaClientInternals8 } from "@remotion/lambda-client";
|
|
10294
10296
|
import { REMOTION_BUCKET_PREFIX as REMOTION_BUCKET_PREFIX4 } from "@remotion/lambda-client/constants";
|
|
10295
10297
|
import { RenderInternals as RenderInternals3 } from "@remotion/renderer";
|
|
@@ -10297,7 +10299,6 @@ import {
|
|
|
10297
10299
|
getExpectedOutName,
|
|
10298
10300
|
getOverallProgressFromStorage
|
|
10299
10301
|
} from "@remotion/serverless";
|
|
10300
|
-
import path5 from "node:path";
|
|
10301
10302
|
|
|
10302
10303
|
// src/functions/helpers/read-with-progress.ts
|
|
10303
10304
|
import { GetObjectCommand } from "@aws-sdk/client-s3";
|
|
@@ -11227,6 +11228,7 @@ import { CliInternals as CliInternals11 } from "@remotion/cli";
|
|
|
11227
11228
|
import { BINARY_NAME as BINARY_NAME8 } from "@remotion/lambda-client/constants";
|
|
11228
11229
|
|
|
11229
11230
|
// src/cli/commands/quotas/increase.ts
|
|
11231
|
+
import { exit } from "node:process";
|
|
11230
11232
|
import {
|
|
11231
11233
|
GetAWSDefaultServiceQuotaCommand,
|
|
11232
11234
|
GetServiceQuotaCommand,
|
|
@@ -11240,7 +11242,6 @@ import {
|
|
|
11240
11242
|
BINARY_NAME as BINARY_NAME6,
|
|
11241
11243
|
LAMBDA_CONCURRENCY_LIMIT_QUOTA
|
|
11242
11244
|
} from "@remotion/lambda-client/constants";
|
|
11243
|
-
import { exit } from "node:process";
|
|
11244
11245
|
var INCREASE_SUBCOMMAND = "increase";
|
|
11245
11246
|
var makeQuotaUrl = ({
|
|
11246
11247
|
region,
|
|
@@ -11393,12 +11394,9 @@ var regionsCommand = (logLevel) => {
|
|
|
11393
11394
|
};
|
|
11394
11395
|
|
|
11395
11396
|
// src/cli/commands/render/render.ts
|
|
11397
|
+
import path7 from "path";
|
|
11396
11398
|
import { CliInternals as CliInternals14 } from "@remotion/cli";
|
|
11397
11399
|
import { ConfigInternals } from "@remotion/cli/config";
|
|
11398
|
-
import { RenderInternals as RenderInternals5 } from "@remotion/renderer";
|
|
11399
|
-
import { BrowserSafeApis as BrowserSafeApis3 } from "@remotion/renderer/client";
|
|
11400
|
-
import path7 from "path";
|
|
11401
|
-
import { NoReactInternals as NoReactInternals2 } from "remotion/no-react";
|
|
11402
11400
|
import {
|
|
11403
11401
|
getRenderProgress,
|
|
11404
11402
|
LambdaClientInternals as LambdaClientInternals19
|
|
@@ -11408,7 +11406,10 @@ import {
|
|
|
11408
11406
|
DEFAULT_MAX_RETRIES,
|
|
11409
11407
|
DEFAULT_OUTPUT_PRIVACY
|
|
11410
11408
|
} from "@remotion/lambda-client/constants";
|
|
11409
|
+
import { RenderInternals as RenderInternals5 } from "@remotion/renderer";
|
|
11410
|
+
import { BrowserSafeApis as BrowserSafeApis3 } from "@remotion/renderer/client";
|
|
11411
11411
|
import { validatePrivacy as validatePrivacy2 } from "@remotion/serverless";
|
|
11412
|
+
import { NoReactInternals as NoReactInternals2 } from "remotion/no-react";
|
|
11412
11413
|
|
|
11413
11414
|
// src/shared/sleep.ts
|
|
11414
11415
|
var sleep = (duration) => {
|
|
@@ -11437,10 +11438,10 @@ function validateMaxRetries(maxRetries) {
|
|
|
11437
11438
|
}
|
|
11438
11439
|
|
|
11439
11440
|
// src/cli/helpers/get-webhook-custom-data.ts
|
|
11440
|
-
import { BrowserSafeApis as BrowserSafeApis2 } from "@remotion/renderer/client";
|
|
11441
11441
|
import fs5 from "node:fs";
|
|
11442
11442
|
import os from "node:os";
|
|
11443
11443
|
import path6 from "node:path";
|
|
11444
|
+
import { BrowserSafeApis as BrowserSafeApis2 } from "@remotion/renderer/client";
|
|
11444
11445
|
var getWebhookCustomData = (logLevel) => {
|
|
11445
11446
|
const flagName = BrowserSafeApis2.options.webhookCustomDataOption.cliFlag;
|
|
11446
11447
|
const webhookFlag = parsedLambdaCli[flagName];
|
|
@@ -12108,8 +12109,8 @@ import { BINARY_NAME as BINARY_NAME11 } from "@remotion/lambda-client/constants"
|
|
|
12108
12109
|
// src/cli/commands/sites/create.ts
|
|
12109
12110
|
import { CliInternals as CliInternals16 } from "@remotion/cli";
|
|
12110
12111
|
import { ConfigInternals as ConfigInternals2 } from "@remotion/cli/config";
|
|
12111
|
-
import { BrowserSafeApis as BrowserSafeApis4 } from "@remotion/renderer/client";
|
|
12112
12112
|
import { BINARY_NAME as BINARY_NAME10 } from "@remotion/lambda-client/constants";
|
|
12113
|
+
import { BrowserSafeApis as BrowserSafeApis4 } from "@remotion/renderer/client";
|
|
12113
12114
|
import { internalGetOrCreateBucket as internalGetOrCreateBucket2 } from "@remotion/serverless";
|
|
12114
12115
|
import { NoReactInternals as NoReactInternals4 } from "remotion/no-react";
|
|
12115
12116
|
|
|
@@ -12182,6 +12183,7 @@ var {
|
|
|
12182
12183
|
disableGitSourceOption,
|
|
12183
12184
|
askAIOption,
|
|
12184
12185
|
experimentalClientSideRenderingOption,
|
|
12186
|
+
experimentalVisualModeOption,
|
|
12185
12187
|
keyboardShortcutsOption
|
|
12186
12188
|
} = BrowserSafeApis4.options;
|
|
12187
12189
|
var sitesCreateSubcommand = async (args, remotionRoot, logLevel, implementation) => {
|
|
@@ -12277,6 +12279,9 @@ var sitesCreateSubcommand = async (args, remotionRoot, logLevel, implementation)
|
|
|
12277
12279
|
const experimentalClientSideRenderingEnabled = experimentalClientSideRenderingOption.getValue({
|
|
12278
12280
|
commandLine: CliInternals16.parsedCli
|
|
12279
12281
|
}).value;
|
|
12282
|
+
const experimentalVisualModeEnabled = experimentalVisualModeOption.getValue({
|
|
12283
|
+
commandLine: CliInternals16.parsedCli
|
|
12284
|
+
}).value;
|
|
12280
12285
|
const keyboardShortcutsEnabled = keyboardShortcutsOption.getValue({
|
|
12281
12286
|
commandLine: CliInternals16.parsedCli
|
|
12282
12287
|
}).value;
|
|
@@ -12324,6 +12329,7 @@ var sitesCreateSubcommand = async (args, remotionRoot, logLevel, implementation)
|
|
|
12324
12329
|
bypassBucketNameValidation: Boolean(parsedLambdaCli["force-bucket-name"]),
|
|
12325
12330
|
askAIEnabled,
|
|
12326
12331
|
experimentalClientSideRenderingEnabled,
|
|
12332
|
+
experimentalVisualModeEnabled,
|
|
12327
12333
|
keyboardShortcutsEnabled
|
|
12328
12334
|
},
|
|
12329
12335
|
region: getAwsRegion(),
|
|
@@ -12550,6 +12556,7 @@ var sitesCommand = (args, remotionRoot, logLevel, providerSpecifics) => {
|
|
|
12550
12556
|
};
|
|
12551
12557
|
|
|
12552
12558
|
// src/cli/commands/still.ts
|
|
12559
|
+
import path8 from "path";
|
|
12553
12560
|
import { CliInternals as CliInternals21 } from "@remotion/cli";
|
|
12554
12561
|
import { ConfigInternals as ConfigInternals3 } from "@remotion/cli/config";
|
|
12555
12562
|
import { LambdaClientInternals as LambdaClientInternals20 } from "@remotion/lambda-client";
|
|
@@ -12561,7 +12568,6 @@ import {
|
|
|
12561
12568
|
import { RenderInternals as RenderInternals6 } from "@remotion/renderer";
|
|
12562
12569
|
import { BrowserSafeApis as BrowserSafeApis5 } from "@remotion/renderer/client";
|
|
12563
12570
|
import { validatePrivacy as validatePrivacy3 } from "@remotion/serverless";
|
|
12564
|
-
import path8 from "path";
|
|
12565
12571
|
import { NoReactInternals as NoReactInternals5 } from "remotion/no-react";
|
|
12566
12572
|
var {
|
|
12567
12573
|
offthreadVideoCacheSizeInBytesOption: offthreadVideoCacheSizeInBytesOption2,
|
package/package.json
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/lambda"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/lambda",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.429",
|
|
7
7
|
"description": "Render Remotion videos on AWS Lambda",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"sideEffects": false,
|
|
10
10
|
"scripts": {
|
|
11
|
-
"formatting": "
|
|
11
|
+
"formatting": "oxfmt src --check",
|
|
12
12
|
"lint": "eslint src",
|
|
13
13
|
"testlambda": "exit 0",
|
|
14
14
|
"test": "bun test src/test/unit",
|
|
@@ -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.
|
|
32
|
-
"@remotion/cli": "4.0.
|
|
33
|
-
"@remotion/lambda-client": "4.0.
|
|
34
|
-
"@remotion/renderer": "4.0.
|
|
35
|
-
"@remotion/serverless": "4.0.
|
|
36
|
-
"@remotion/streaming": "4.0.
|
|
31
|
+
"@remotion/bundler": "4.0.429",
|
|
32
|
+
"@remotion/cli": "4.0.429",
|
|
33
|
+
"@remotion/lambda-client": "4.0.429",
|
|
34
|
+
"@remotion/renderer": "4.0.429",
|
|
35
|
+
"@remotion/serverless": "4.0.429",
|
|
36
|
+
"@remotion/streaming": "4.0.429",
|
|
37
37
|
"@smithy/abort-controller": "4.0.1",
|
|
38
|
-
"remotion": "4.0.
|
|
38
|
+
"remotion": "4.0.429",
|
|
39
39
|
"zod": "4.3.6"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@remotion/bundler": "4.0.
|
|
42
|
+
"@remotion/bundler": "4.0.429",
|
|
43
43
|
"@types/express": "^5.0.0",
|
|
44
44
|
"express": "4.21.0",
|
|
45
|
-
"@remotion/compositor-linux-arm64-gnu": "4.0.
|
|
46
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
45
|
+
"@remotion/compositor-linux-arm64-gnu": "4.0.429",
|
|
46
|
+
"@remotion/eslint-config-internal": "4.0.429",
|
|
47
47
|
"mime-types": "2.1.34",
|
|
48
48
|
"@types/mime-types": "2.1.1",
|
|
49
49
|
"@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.
|
|
58
|
+
"@remotion/bundler": "4.0.429"
|
|
59
59
|
},
|
|
60
60
|
"publishConfig": {
|
|
61
61
|
"access": "public"
|
package/remotionlambda-arm64.zip
CHANGED
|
Binary file
|