@remotion/lambda 4.0.417 → 4.0.418
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/dist/api/get-or-create-bucket.js +2 -1
- package/dist/api/iam-validation/user-permissions.js +1 -0
- package/dist/cli/commands/sites/create.js +1 -0
- package/dist/cli/commands/sites/rm.js +1 -0
- package/dist/cli/commands/sites/rmall.js +1 -0
- package/dist/esm/index.mjs +10 -5
- package/dist/esm/policies.mjs +1 -0
- package/package.json +12 -12
- package/remotionlambda-arm64.zip +0 -0
|
@@ -8,7 +8,7 @@ const serverless_1 = require("@remotion/serverless");
|
|
|
8
8
|
* @see [Documentation](https://remotion.dev/docs/cloudrun/getorcreatebucket)
|
|
9
9
|
*/
|
|
10
10
|
const getOrCreateBucket = (options) => {
|
|
11
|
-
var _a, _b, _c;
|
|
11
|
+
var _a, _b, _c, _d;
|
|
12
12
|
return (0, serverless_1.internalGetOrCreateBucket)({
|
|
13
13
|
region: options.region,
|
|
14
14
|
enableFolderExpiry: (_a = options.enableFolderExpiry) !== null && _a !== void 0 ? _a : null,
|
|
@@ -17,6 +17,7 @@ const getOrCreateBucket = (options) => {
|
|
|
17
17
|
forcePathStyle: false,
|
|
18
18
|
skipPutAcl: false,
|
|
19
19
|
requestHandler: (_c = options.requestHandler) !== null && _c !== void 0 ? _c : null,
|
|
20
|
+
logLevel: (_d = options.logLevel) !== null && _d !== void 0 ? _d : 'info',
|
|
20
21
|
});
|
|
21
22
|
};
|
|
22
23
|
exports.getOrCreateBucket = getOrCreateBucket;
|
|
@@ -87,6 +87,7 @@ const sitesCreateSubcommand = async (args, remotionRoot, logLevel, implementatio
|
|
|
87
87
|
forcePathStyle: false,
|
|
88
88
|
skipPutAcl: args_1.parsedLambdaCli.privacy === 'no-acl',
|
|
89
89
|
requestHandler: null,
|
|
90
|
+
logLevel,
|
|
90
91
|
})).bucketName;
|
|
91
92
|
multiProgress.bucketProgress.doneIn = Date.now() - bucketStart;
|
|
92
93
|
updateProgress(false);
|
|
@@ -34,6 +34,7 @@ const sitesRmSubcommand = async (args, logLevel, implementation) => {
|
|
|
34
34
|
forcePathStyle: false,
|
|
35
35
|
skipPutAcl: false,
|
|
36
36
|
requestHandler: null,
|
|
37
|
+
logLevel,
|
|
37
38
|
})).bucketName;
|
|
38
39
|
for (const siteName of args) {
|
|
39
40
|
const site = deployedSites.sites.find((s) => s.id === siteName.trim());
|
package/dist/esm/index.mjs
CHANGED
|
@@ -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.
|
|
8607
|
+
version: "4.0.418",
|
|
8608
8608
|
description: "Render Remotion videos on AWS Lambda",
|
|
8609
8609
|
main: "dist/index.js",
|
|
8610
8610
|
sideEffects: false,
|
|
@@ -9489,6 +9489,7 @@ var requiredPermissions = [
|
|
|
9489
9489
|
"s3:DeleteBucket",
|
|
9490
9490
|
"s3:PutBucketOwnershipControls",
|
|
9491
9491
|
"s3:PutBucketPublicAccessBlock",
|
|
9492
|
+
"s3:PutBucketPolicy",
|
|
9492
9493
|
"s3:PutLifecycleConfiguration"
|
|
9493
9494
|
],
|
|
9494
9495
|
resource: [`arn:aws:s3:::${REMOTION_BUCKET_PREFIX2}*`]
|
|
@@ -10448,7 +10449,8 @@ var getOrCreateBucket = (options) => {
|
|
|
10448
10449
|
providerSpecifics: LambdaClientInternals10.awsImplementation,
|
|
10449
10450
|
forcePathStyle: false,
|
|
10450
10451
|
skipPutAcl: false,
|
|
10451
|
-
requestHandler: options.requestHandler ?? null
|
|
10452
|
+
requestHandler: options.requestHandler ?? null,
|
|
10453
|
+
logLevel: options.logLevel ?? "info"
|
|
10452
10454
|
});
|
|
10453
10455
|
};
|
|
10454
10456
|
|
|
@@ -12189,7 +12191,8 @@ var sitesCreateSubcommand = async (args, remotionRoot, logLevel, implementation)
|
|
|
12189
12191
|
providerSpecifics: implementation,
|
|
12190
12192
|
forcePathStyle: false,
|
|
12191
12193
|
skipPutAcl: parsedLambdaCli.privacy === "no-acl",
|
|
12192
|
-
requestHandler: null
|
|
12194
|
+
requestHandler: null,
|
|
12195
|
+
logLevel
|
|
12193
12196
|
})).bucketName;
|
|
12194
12197
|
multiProgress.bucketProgress.doneIn = Date.now() - bucketStart;
|
|
12195
12198
|
updateProgress(false);
|
|
@@ -12379,7 +12382,8 @@ var sitesRmSubcommand = async (args, logLevel, implementation) => {
|
|
|
12379
12382
|
providerSpecifics: implementation,
|
|
12380
12383
|
forcePathStyle: false,
|
|
12381
12384
|
skipPutAcl: false,
|
|
12382
|
-
requestHandler: null
|
|
12385
|
+
requestHandler: null,
|
|
12386
|
+
logLevel
|
|
12383
12387
|
})).bucketName;
|
|
12384
12388
|
for (const siteName of args) {
|
|
12385
12389
|
const site = deployedSites.sites.find((s) => s.id === siteName.trim());
|
|
@@ -12422,7 +12426,8 @@ var sitesRmallSubcommand = async (logLevel, implementation) => {
|
|
|
12422
12426
|
providerSpecifics: implementation,
|
|
12423
12427
|
forcePathStyle: false,
|
|
12424
12428
|
skipPutAcl: false,
|
|
12425
|
-
requestHandler: null
|
|
12429
|
+
requestHandler: null,
|
|
12430
|
+
logLevel
|
|
12426
12431
|
})).bucketName;
|
|
12427
12432
|
for (const site of deployedSites.sites) {
|
|
12428
12433
|
if (!await confirmCli({
|
package/dist/esm/policies.mjs
CHANGED
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.
|
|
6
|
+
"version": "4.0.418",
|
|
7
7
|
"description": "Render Remotion videos on AWS Lambda",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"sideEffects": false,
|
|
@@ -28,22 +28,22 @@
|
|
|
28
28
|
"@aws-sdk/client-cloudwatch-logs": "3.936.0",
|
|
29
29
|
"@aws-sdk/client-service-quotas": "3.936.0",
|
|
30
30
|
"@aws-sdk/lib-storage": "3.936.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.418",
|
|
32
|
+
"@remotion/cli": "4.0.418",
|
|
33
|
+
"@remotion/lambda-client": "4.0.418",
|
|
34
|
+
"@remotion/renderer": "4.0.418",
|
|
35
|
+
"@remotion/serverless": "4.0.418",
|
|
36
|
+
"@remotion/streaming": "4.0.418",
|
|
37
37
|
"@smithy/abort-controller": "4.0.1",
|
|
38
|
-
"remotion": "4.0.
|
|
38
|
+
"remotion": "4.0.418",
|
|
39
39
|
"zod": "3.22.3"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@remotion/bundler": "4.0.
|
|
42
|
+
"@remotion/bundler": "4.0.418",
|
|
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.418",
|
|
46
|
+
"@remotion/eslint-config-internal": "4.0.418",
|
|
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
|
"@types/node": "20.12.14"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
|
-
"@remotion/bundler": "4.0.
|
|
57
|
+
"@remotion/bundler": "4.0.418"
|
|
58
58
|
},
|
|
59
59
|
"publishConfig": {
|
|
60
60
|
"access": "public"
|
package/remotionlambda-arm64.zip
CHANGED
|
Binary file
|