@remotion/lambda 4.0.0-alpha4 → 4.0.0-alpha6

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.
Files changed (86) hide show
  1. package/dist/admin/bundle-lambda.js +24 -30
  2. package/dist/admin/generate-etag-list.js +4 -4
  3. package/dist/admin/make-layer-public.js +59 -87
  4. package/dist/api/clean-items.js +1 -1
  5. package/dist/api/create-function.d.ts +1 -3
  6. package/dist/api/create-function.js +8 -8
  7. package/dist/api/deploy-function.d.ts +0 -3
  8. package/dist/api/deploy-function.js +1 -7
  9. package/dist/api/deploy-site.js +4 -9
  10. package/dist/api/download-media.d.ts +0 -4
  11. package/dist/api/download-media.js +3 -7
  12. package/dist/api/estimate-price.d.ts +1 -3
  13. package/dist/api/estimate-price.js +3 -9
  14. package/dist/api/get-compositions-on-lambda.d.ts +2 -2
  15. package/dist/api/get-or-create-bucket.d.ts +0 -1
  16. package/dist/api/get-or-create-bucket.js +0 -3
  17. package/dist/api/get-sites.d.ts +0 -1
  18. package/dist/api/iam-validation/simulate.js +4 -2
  19. package/dist/api/make-lambda-payload.d.ts +41 -0
  20. package/dist/api/make-lambda-payload.js +65 -0
  21. package/dist/api/render-media-on-lambda.d.ts +10 -6
  22. package/dist/api/render-media-on-lambda.js +5 -58
  23. package/dist/api/render-still-on-lambda.d.ts +7 -3
  24. package/dist/api/render-still-on-lambda.js +6 -3
  25. package/dist/api/upload-dir.js +7 -7
  26. package/dist/cli/args.d.ts +0 -2
  27. package/dist/cli/commands/functions/deploy.js +7 -9
  28. package/dist/cli/commands/functions/ls.js +4 -1
  29. package/dist/cli/commands/functions/rm.js +8 -2
  30. package/dist/cli/commands/functions/rmall.js +8 -2
  31. package/dist/cli/commands/quotas/increase.js +2 -2
  32. package/dist/cli/commands/render/render.js +22 -12
  33. package/dist/cli/commands/sites/create.js +7 -8
  34. package/dist/cli/commands/still.js +7 -5
  35. package/dist/cli/help.js +4 -0
  36. package/dist/cli/helpers/progress-bar.d.ts +1 -2
  37. package/dist/cli/helpers/progress-bar.js +3 -7
  38. package/dist/cli/index.js +3 -3
  39. package/dist/cli/log.d.ts +12 -0
  40. package/dist/functions/chunk-optimization/plan-frame-ranges.d.ts +4 -1
  41. package/dist/functions/compositions.d.ts +1 -1
  42. package/dist/functions/compositions.js +0 -2
  43. package/dist/functions/helpers/calculate-price-from-bucket.d.ts +1 -3
  44. package/dist/functions/helpers/calculate-price-from-bucket.js +1 -2
  45. package/dist/functions/helpers/clean-tmpdir.js +7 -7
  46. package/dist/functions/helpers/concat-videos.d.ts +2 -4
  47. package/dist/functions/helpers/concat-videos.js +8 -11
  48. package/dist/functions/helpers/create-post-render-data.js +0 -2
  49. package/dist/functions/helpers/get-chromium-executable-path.js +6 -1
  50. package/dist/functions/helpers/get-current-region.d.ts +1 -1
  51. package/dist/functions/helpers/get-files-in-folder.js +5 -5
  52. package/dist/functions/helpers/get-progress.js +0 -2
  53. package/dist/functions/helpers/io.d.ts +1 -1
  54. package/dist/functions/helpers/is-enosp-err.js +1 -1
  55. package/dist/functions/helpers/validate-composition.d.ts +3 -5
  56. package/dist/functions/helpers/validate-composition.js +1 -3
  57. package/dist/functions/index.d.ts +15 -4
  58. package/dist/functions/index.js +1 -1
  59. package/dist/functions/launch.js +10 -14
  60. package/dist/functions/renderer.js +15 -15
  61. package/dist/functions/start.js +1 -1
  62. package/dist/functions/still.js +7 -11
  63. package/dist/index.d.ts +5 -6
  64. package/dist/index.js +1 -2
  65. package/dist/internals.d.ts +40 -0
  66. package/dist/internals.js +2 -0
  67. package/dist/shared/aws-clients.js +2 -2
  68. package/dist/shared/call-lambda.js +11 -0
  69. package/dist/shared/constants.d.ts +20 -17
  70. package/dist/shared/constants.js +1 -2
  71. package/dist/shared/function-zip-path.d.ts +0 -1
  72. package/dist/shared/function-zip-path.js +3 -4
  73. package/dist/shared/get-etag.js +4 -4
  74. package/dist/shared/hosted-layers.d.ts +2 -91
  75. package/dist/shared/hosted-layers.js +64 -363
  76. package/dist/shared/invoke-webhook.d.ts +1 -3
  77. package/dist/shared/invoke-webhook.js +4 -4
  78. package/dist/shared/make-s3-key.js +2 -2
  79. package/dist/shared/make-s3-url.js +2 -2
  80. package/dist/shared/read-dir.js +2 -2
  81. package/dist/shared/serialize-input-props.js +1 -1
  82. package/dist/shared/validate-privacy.js +1 -1
  83. package/package.json +9 -10
  84. package/remotionlambda-arm64.zip +0 -0
  85. package/remotionlambda-x64.zip +0 -0
  86. package/remotionlambda.zip +0 -0
@@ -1,599 +1,300 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.__internal_doNotUsehostedLayers = exports.hostedLayers = exports.REMOTION_HOSTED_LAYER_ARN = void 0;
3
+ exports.hostedLayers = exports.REMOTION_HOSTED_LAYER_ARN = void 0;
4
4
  exports.REMOTION_HOSTED_LAYER_ARN = `arn:aws:lambda:*:678892195805:layer:remotion-binaries-*`;
5
5
  exports.hostedLayers = {
6
6
  'ap-northeast-1': [
7
7
  {
8
8
  layerArn: 'arn:aws:lambda:ap-northeast-1:678892195805:layer:remotion-binaries-fonts-arm64',
9
- version: 4,
9
+ version: 8,
10
10
  },
11
11
  {
12
12
  layerArn: 'arn:aws:lambda:ap-northeast-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
13
- version: 8,
13
+ version: 10,
14
14
  },
15
15
  {
16
16
  layerArn: 'arn:aws:lambda:ap-northeast-1:678892195805:layer:remotion-binaries-chromium-arm64',
17
- version: 8,
17
+ version: 12,
18
18
  },
19
19
  ],
20
20
  'ap-south-1': [
21
21
  {
22
22
  layerArn: 'arn:aws:lambda:ap-south-1:678892195805:layer:remotion-binaries-fonts-arm64',
23
- version: 4,
23
+ version: 8,
24
24
  },
25
25
  {
26
26
  layerArn: 'arn:aws:lambda:ap-south-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
27
- version: 8,
27
+ version: 10,
28
28
  },
29
29
  {
30
30
  layerArn: 'arn:aws:lambda:ap-south-1:678892195805:layer:remotion-binaries-chromium-arm64',
31
- version: 8,
31
+ version: 12,
32
32
  },
33
33
  ],
34
34
  'ap-southeast-1': [
35
35
  {
36
36
  layerArn: 'arn:aws:lambda:ap-southeast-1:678892195805:layer:remotion-binaries-fonts-arm64',
37
- version: 4,
37
+ version: 8,
38
38
  },
39
39
  {
40
40
  layerArn: 'arn:aws:lambda:ap-southeast-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
41
- version: 8,
41
+ version: 10,
42
42
  },
43
43
  {
44
44
  layerArn: 'arn:aws:lambda:ap-southeast-1:678892195805:layer:remotion-binaries-chromium-arm64',
45
- version: 8,
45
+ version: 12,
46
46
  },
47
47
  ],
48
48
  'ap-southeast-2': [
49
49
  {
50
50
  layerArn: 'arn:aws:lambda:ap-southeast-2:678892195805:layer:remotion-binaries-fonts-arm64',
51
- version: 4,
51
+ version: 8,
52
52
  },
53
53
  {
54
54
  layerArn: 'arn:aws:lambda:ap-southeast-2:678892195805:layer:remotion-binaries-ffmpeg-arm64',
55
- version: 8,
55
+ version: 10,
56
56
  },
57
57
  {
58
58
  layerArn: 'arn:aws:lambda:ap-southeast-2:678892195805:layer:remotion-binaries-chromium-arm64',
59
- version: 8,
59
+ version: 12,
60
60
  },
61
61
  ],
62
62
  'eu-central-1': [
63
63
  {
64
64
  layerArn: 'arn:aws:lambda:eu-central-1:678892195805:layer:remotion-binaries-fonts-arm64',
65
- version: 4,
65
+ version: 17,
66
66
  },
67
67
  {
68
68
  layerArn: 'arn:aws:lambda:eu-central-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
69
- version: 8,
69
+ version: 11,
70
70
  },
71
71
  {
72
72
  layerArn: 'arn:aws:lambda:eu-central-1:678892195805:layer:remotion-binaries-chromium-arm64',
73
- version: 8,
73
+ version: 18,
74
74
  },
75
75
  ],
76
76
  'eu-west-1': [
77
77
  {
78
78
  layerArn: 'arn:aws:lambda:eu-west-1:678892195805:layer:remotion-binaries-fonts-arm64',
79
- version: 4,
79
+ version: 9,
80
80
  },
81
81
  {
82
82
  layerArn: 'arn:aws:lambda:eu-west-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
83
- version: 8,
83
+ version: 10,
84
84
  },
85
85
  {
86
86
  layerArn: 'arn:aws:lambda:eu-west-1:678892195805:layer:remotion-binaries-chromium-arm64',
87
- version: 8,
87
+ version: 12,
88
88
  },
89
89
  ],
90
90
  'eu-west-2': [
91
91
  {
92
92
  layerArn: 'arn:aws:lambda:eu-west-2:678892195805:layer:remotion-binaries-fonts-arm64',
93
- version: 4,
93
+ version: 8,
94
94
  },
95
95
  {
96
96
  layerArn: 'arn:aws:lambda:eu-west-2:678892195805:layer:remotion-binaries-ffmpeg-arm64',
97
- version: 8,
97
+ version: 10,
98
98
  },
99
99
  {
100
100
  layerArn: 'arn:aws:lambda:eu-west-2:678892195805:layer:remotion-binaries-chromium-arm64',
101
- version: 8,
101
+ version: 12,
102
102
  },
103
103
  ],
104
104
  'us-east-1': [
105
105
  {
106
106
  layerArn: 'arn:aws:lambda:us-east-1:678892195805:layer:remotion-binaries-fonts-arm64',
107
- version: 9,
107
+ version: 13,
108
108
  },
109
109
  {
110
110
  layerArn: 'arn:aws:lambda:us-east-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
111
- version: 17,
111
+ version: 19,
112
112
  },
113
113
  {
114
114
  layerArn: 'arn:aws:lambda:us-east-1:678892195805:layer:remotion-binaries-chromium-arm64',
115
- version: 17,
115
+ version: 21,
116
116
  },
117
117
  ],
118
118
  'us-east-2': [
119
119
  {
120
120
  layerArn: 'arn:aws:lambda:us-east-2:678892195805:layer:remotion-binaries-fonts-arm64',
121
- version: 4,
121
+ version: 8,
122
122
  },
123
123
  {
124
124
  layerArn: 'arn:aws:lambda:us-east-2:678892195805:layer:remotion-binaries-ffmpeg-arm64',
125
- version: 8,
125
+ version: 10,
126
126
  },
127
127
  {
128
128
  layerArn: 'arn:aws:lambda:us-east-2:678892195805:layer:remotion-binaries-chromium-arm64',
129
- version: 8,
129
+ version: 12,
130
130
  },
131
131
  ],
132
132
  'us-west-2': [
133
133
  {
134
134
  layerArn: 'arn:aws:lambda:us-west-2:678892195805:layer:remotion-binaries-fonts-arm64',
135
- version: 4,
135
+ version: 8,
136
136
  },
137
137
  {
138
138
  layerArn: 'arn:aws:lambda:us-west-2:678892195805:layer:remotion-binaries-ffmpeg-arm64',
139
- version: 8,
139
+ version: 10,
140
140
  },
141
141
  {
142
142
  layerArn: 'arn:aws:lambda:us-west-2:678892195805:layer:remotion-binaries-chromium-arm64',
143
- version: 8,
143
+ version: 12,
144
144
  },
145
145
  ],
146
146
  'af-south-1': [
147
147
  {
148
148
  layerArn: 'arn:aws:lambda:af-south-1:678892195805:layer:remotion-binaries-fonts-arm64',
149
- version: 1,
149
+ version: 5,
150
150
  },
151
151
  {
152
152
  layerArn: 'arn:aws:lambda:af-south-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
153
- version: 1,
153
+ version: 3,
154
154
  },
155
155
  {
156
156
  layerArn: 'arn:aws:lambda:af-south-1:678892195805:layer:remotion-binaries-chromium-arm64',
157
- version: 1,
157
+ version: 5,
158
158
  },
159
159
  ],
160
160
  'ap-east-1': [
161
161
  {
162
162
  layerArn: 'arn:aws:lambda:ap-east-1:678892195805:layer:remotion-binaries-fonts-arm64',
163
- version: 1,
163
+ version: 5,
164
164
  },
165
165
  {
166
166
  layerArn: 'arn:aws:lambda:ap-east-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
167
- version: 1,
167
+ version: 3,
168
168
  },
169
169
  {
170
170
  layerArn: 'arn:aws:lambda:ap-east-1:678892195805:layer:remotion-binaries-chromium-arm64',
171
- version: 1,
171
+ version: 5,
172
172
  },
173
173
  ],
174
174
  'ap-northeast-2': [
175
175
  {
176
176
  layerArn: 'arn:aws:lambda:ap-northeast-2:678892195805:layer:remotion-binaries-fonts-arm64',
177
- version: 1,
177
+ version: 5,
178
178
  },
179
179
  {
180
180
  layerArn: 'arn:aws:lambda:ap-northeast-2:678892195805:layer:remotion-binaries-ffmpeg-arm64',
181
- version: 1,
181
+ version: 3,
182
182
  },
183
183
  {
184
184
  layerArn: 'arn:aws:lambda:ap-northeast-2:678892195805:layer:remotion-binaries-chromium-arm64',
185
- version: 1,
185
+ version: 5,
186
186
  },
187
187
  ],
188
188
  'ap-northeast-3': [
189
189
  {
190
190
  layerArn: 'arn:aws:lambda:ap-northeast-3:678892195805:layer:remotion-binaries-fonts-arm64',
191
- version: 1,
191
+ version: 5,
192
192
  },
193
193
  {
194
194
  layerArn: 'arn:aws:lambda:ap-northeast-3:678892195805:layer:remotion-binaries-ffmpeg-arm64',
195
- version: 1,
195
+ version: 3,
196
196
  },
197
197
  {
198
198
  layerArn: 'arn:aws:lambda:ap-northeast-3:678892195805:layer:remotion-binaries-chromium-arm64',
199
- version: 1,
199
+ version: 5,
200
200
  },
201
201
  ],
202
202
  'ca-central-1': [
203
203
  {
204
204
  layerArn: 'arn:aws:lambda:ca-central-1:678892195805:layer:remotion-binaries-fonts-arm64',
205
- version: 1,
205
+ version: 5,
206
206
  },
207
207
  {
208
208
  layerArn: 'arn:aws:lambda:ca-central-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
209
- version: 1,
209
+ version: 3,
210
210
  },
211
211
  {
212
212
  layerArn: 'arn:aws:lambda:ca-central-1:678892195805:layer:remotion-binaries-chromium-arm64',
213
- version: 1,
213
+ version: 5,
214
214
  },
215
215
  ],
216
216
  'eu-north-1': [
217
217
  {
218
218
  layerArn: 'arn:aws:lambda:eu-north-1:678892195805:layer:remotion-binaries-fonts-arm64',
219
- version: 1,
219
+ version: 5,
220
220
  },
221
221
  {
222
222
  layerArn: 'arn:aws:lambda:eu-north-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
223
- version: 1,
223
+ version: 3,
224
224
  },
225
225
  {
226
226
  layerArn: 'arn:aws:lambda:eu-north-1:678892195805:layer:remotion-binaries-chromium-arm64',
227
- version: 1,
227
+ version: 5,
228
228
  },
229
229
  ],
230
230
  'eu-south-1': [
231
231
  {
232
232
  layerArn: 'arn:aws:lambda:eu-south-1:678892195805:layer:remotion-binaries-fonts-arm64',
233
- version: 1,
233
+ version: 5,
234
234
  },
235
235
  {
236
236
  layerArn: 'arn:aws:lambda:eu-south-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
237
- version: 1,
237
+ version: 3,
238
238
  },
239
239
  {
240
240
  layerArn: 'arn:aws:lambda:eu-south-1:678892195805:layer:remotion-binaries-chromium-arm64',
241
- version: 1,
241
+ version: 5,
242
242
  },
243
243
  ],
244
244
  'eu-west-3': [
245
245
  {
246
246
  layerArn: 'arn:aws:lambda:eu-west-3:678892195805:layer:remotion-binaries-fonts-arm64',
247
- version: 1,
247
+ version: 5,
248
248
  },
249
249
  {
250
250
  layerArn: 'arn:aws:lambda:eu-west-3:678892195805:layer:remotion-binaries-ffmpeg-arm64',
251
- version: 1,
251
+ version: 3,
252
252
  },
253
253
  {
254
254
  layerArn: 'arn:aws:lambda:eu-west-3:678892195805:layer:remotion-binaries-chromium-arm64',
255
- version: 1,
255
+ version: 5,
256
256
  },
257
257
  ],
258
258
  'me-south-1': [
259
259
  {
260
260
  layerArn: 'arn:aws:lambda:me-south-1:678892195805:layer:remotion-binaries-fonts-arm64',
261
- version: 1,
261
+ version: 5,
262
262
  },
263
263
  {
264
264
  layerArn: 'arn:aws:lambda:me-south-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
265
- version: 1,
265
+ version: 3,
266
266
  },
267
267
  {
268
268
  layerArn: 'arn:aws:lambda:me-south-1:678892195805:layer:remotion-binaries-chromium-arm64',
269
- version: 1,
269
+ version: 5,
270
270
  },
271
271
  ],
272
272
  'sa-east-1': [
273
273
  {
274
274
  layerArn: 'arn:aws:lambda:sa-east-1:678892195805:layer:remotion-binaries-fonts-arm64',
275
- version: 1,
275
+ version: 5,
276
276
  },
277
277
  {
278
278
  layerArn: 'arn:aws:lambda:sa-east-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
279
- version: 1,
279
+ version: 3,
280
280
  },
281
281
  {
282
282
  layerArn: 'arn:aws:lambda:sa-east-1:678892195805:layer:remotion-binaries-chromium-arm64',
283
- version: 1,
283
+ version: 5,
284
284
  },
285
285
  ],
286
286
  'us-west-1': [
287
287
  {
288
288
  layerArn: 'arn:aws:lambda:us-west-1:678892195805:layer:remotion-binaries-fonts-arm64',
289
- version: 1,
289
+ version: 5,
290
290
  },
291
291
  {
292
292
  layerArn: 'arn:aws:lambda:us-west-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
293
- version: 1,
293
+ version: 3,
294
294
  },
295
295
  {
296
296
  layerArn: 'arn:aws:lambda:us-west-1:678892195805:layer:remotion-binaries-chromium-arm64',
297
- version: 1,
297
+ version: 5,
298
298
  },
299
299
  ],
300
300
  };
301
- exports.__internal_doNotUsehostedLayers = {
302
- arm64: exports.hostedLayers,
303
- x86_64: {
304
- 'ap-northeast-1': [
305
- {
306
- layerArn: 'arn:aws:lambda:ap-northeast-1:678892195805:layer:remotion-binaries-fonts-x86_64',
307
- version: 4,
308
- },
309
- {
310
- layerArn: 'arn:aws:lambda:ap-northeast-1:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
311
- version: 8,
312
- },
313
- {
314
- layerArn: 'arn:aws:lambda:ap-northeast-1:678892195805:layer:remotion-binaries-chromium-x86_64',
315
- version: 8,
316
- },
317
- ],
318
- 'ap-south-1': [
319
- {
320
- layerArn: 'arn:aws:lambda:ap-south-1:678892195805:layer:remotion-binaries-fonts-x86_64',
321
- version: 4,
322
- },
323
- {
324
- layerArn: 'arn:aws:lambda:ap-south-1:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
325
- version: 8,
326
- },
327
- {
328
- layerArn: 'arn:aws:lambda:ap-south-1:678892195805:layer:remotion-binaries-chromium-x86_64',
329
- version: 8,
330
- },
331
- ],
332
- 'ap-southeast-1': [
333
- {
334
- layerArn: 'arn:aws:lambda:ap-southeast-1:678892195805:layer:remotion-binaries-fonts-x86_64',
335
- version: 4,
336
- },
337
- {
338
- layerArn: 'arn:aws:lambda:ap-southeast-1:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
339
- version: 8,
340
- },
341
- {
342
- layerArn: 'arn:aws:lambda:ap-southeast-1:678892195805:layer:remotion-binaries-chromium-x86_64',
343
- version: 8,
344
- },
345
- ],
346
- 'ap-southeast-2': [
347
- {
348
- layerArn: 'arn:aws:lambda:ap-southeast-2:678892195805:layer:remotion-binaries-fonts-x86_64',
349
- version: 4,
350
- },
351
- {
352
- layerArn: 'arn:aws:lambda:ap-southeast-2:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
353
- version: 8,
354
- },
355
- {
356
- layerArn: 'arn:aws:lambda:ap-southeast-2:678892195805:layer:remotion-binaries-chromium-x86_64',
357
- version: 8,
358
- },
359
- ],
360
- 'eu-central-1': [
361
- {
362
- layerArn: 'arn:aws:lambda:eu-central-1:678892195805:layer:remotion-binaries-fonts-x86_64',
363
- version: 4,
364
- },
365
- {
366
- layerArn: 'arn:aws:lambda:eu-central-1:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
367
- version: 8,
368
- },
369
- {
370
- layerArn: 'arn:aws:lambda:eu-central-1:678892195805:layer:remotion-binaries-chromium-x86_64',
371
- version: 8,
372
- },
373
- ],
374
- 'eu-west-1': [
375
- {
376
- layerArn: 'arn:aws:lambda:eu-west-1:678892195805:layer:remotion-binaries-fonts-x86_64',
377
- version: 4,
378
- },
379
- {
380
- layerArn: 'arn:aws:lambda:eu-west-1:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
381
- version: 8,
382
- },
383
- {
384
- layerArn: 'arn:aws:lambda:eu-west-1:678892195805:layer:remotion-binaries-chromium-x86_64',
385
- version: 8,
386
- },
387
- ],
388
- 'eu-west-2': [
389
- {
390
- layerArn: 'arn:aws:lambda:eu-west-2:678892195805:layer:remotion-binaries-fonts-x86_64',
391
- version: 4,
392
- },
393
- {
394
- layerArn: 'arn:aws:lambda:eu-west-2:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
395
- version: 8,
396
- },
397
- {
398
- layerArn: 'arn:aws:lambda:eu-west-2:678892195805:layer:remotion-binaries-chromium-x86_64',
399
- version: 8,
400
- },
401
- ],
402
- 'us-east-1': [
403
- {
404
- layerArn: 'arn:aws:lambda:us-east-1:678892195805:layer:remotion-binaries-fonts-x86_64',
405
- version: 9,
406
- },
407
- {
408
- layerArn: 'arn:aws:lambda:us-east-1:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
409
- version: 17,
410
- },
411
- {
412
- layerArn: 'arn:aws:lambda:us-east-1:678892195805:layer:remotion-binaries-chromium-x86_64',
413
- version: 17,
414
- },
415
- ],
416
- 'us-east-2': [
417
- {
418
- layerArn: 'arn:aws:lambda:us-east-2:678892195805:layer:remotion-binaries-fonts-x86_64',
419
- version: 4,
420
- },
421
- {
422
- layerArn: 'arn:aws:lambda:us-east-2:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
423
- version: 8,
424
- },
425
- {
426
- layerArn: 'arn:aws:lambda:us-east-2:678892195805:layer:remotion-binaries-chromium-x86_64',
427
- version: 8,
428
- },
429
- ],
430
- 'us-west-2': [
431
- {
432
- layerArn: 'arn:aws:lambda:us-west-2:678892195805:layer:remotion-binaries-fonts-x86_64',
433
- version: 4,
434
- },
435
- {
436
- layerArn: 'arn:aws:lambda:us-west-2:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
437
- version: 8,
438
- },
439
- {
440
- layerArn: 'arn:aws:lambda:us-west-2:678892195805:layer:remotion-binaries-chromium-x86_64',
441
- version: 8,
442
- },
443
- ],
444
- 'af-south-1': [
445
- {
446
- layerArn: 'arn:aws:lambda:af-south-1:678892195805:layer:remotion-binaries-fonts-x86_64',
447
- version: 1,
448
- },
449
- {
450
- layerArn: 'arn:aws:lambda:af-south-1:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
451
- version: 1,
452
- },
453
- {
454
- layerArn: 'arn:aws:lambda:af-south-1:678892195805:layer:remotion-binaries-chromium-x86_64',
455
- version: 1,
456
- },
457
- ],
458
- 'ap-east-1': [
459
- {
460
- layerArn: 'arn:aws:lambda:ap-east-1:678892195805:layer:remotion-binaries-fonts-x86_64',
461
- version: 1,
462
- },
463
- {
464
- layerArn: 'arn:aws:lambda:ap-east-1:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
465
- version: 1,
466
- },
467
- {
468
- layerArn: 'arn:aws:lambda:ap-east-1:678892195805:layer:remotion-binaries-chromium-x86_64',
469
- version: 1,
470
- },
471
- ],
472
- 'ap-northeast-2': [
473
- {
474
- layerArn: 'arn:aws:lambda:ap-northeast-2:678892195805:layer:remotion-binaries-fonts-x86_64',
475
- version: 1,
476
- },
477
- {
478
- layerArn: 'arn:aws:lambda:ap-northeast-2:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
479
- version: 1,
480
- },
481
- {
482
- layerArn: 'arn:aws:lambda:ap-northeast-2:678892195805:layer:remotion-binaries-chromium-x86_64',
483
- version: 1,
484
- },
485
- ],
486
- 'ap-northeast-3': [
487
- {
488
- layerArn: 'arn:aws:lambda:ap-northeast-3:678892195805:layer:remotion-binaries-fonts-x86_64',
489
- version: 1,
490
- },
491
- {
492
- layerArn: 'arn:aws:lambda:ap-northeast-3:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
493
- version: 1,
494
- },
495
- {
496
- layerArn: 'arn:aws:lambda:ap-northeast-3:678892195805:layer:remotion-binaries-chromium-x86_64',
497
- version: 1,
498
- },
499
- ],
500
- 'ca-central-1': [
501
- {
502
- layerArn: 'arn:aws:lambda:ca-central-1:678892195805:layer:remotion-binaries-fonts-x86_64',
503
- version: 1,
504
- },
505
- {
506
- layerArn: 'arn:aws:lambda:ca-central-1:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
507
- version: 1,
508
- },
509
- {
510
- layerArn: 'arn:aws:lambda:ca-central-1:678892195805:layer:remotion-binaries-chromium-x86_64',
511
- version: 1,
512
- },
513
- ],
514
- 'eu-north-1': [
515
- {
516
- layerArn: 'arn:aws:lambda:eu-north-1:678892195805:layer:remotion-binaries-fonts-x86_64',
517
- version: 1,
518
- },
519
- {
520
- layerArn: 'arn:aws:lambda:eu-north-1:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
521
- version: 1,
522
- },
523
- {
524
- layerArn: 'arn:aws:lambda:eu-north-1:678892195805:layer:remotion-binaries-chromium-x86_64',
525
- version: 1,
526
- },
527
- ],
528
- 'eu-south-1': [
529
- {
530
- layerArn: 'arn:aws:lambda:eu-south-1:678892195805:layer:remotion-binaries-fonts-x86_64',
531
- version: 1,
532
- },
533
- {
534
- layerArn: 'arn:aws:lambda:eu-south-1:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
535
- version: 1,
536
- },
537
- {
538
- layerArn: 'arn:aws:lambda:eu-south-1:678892195805:layer:remotion-binaries-chromium-x86_64',
539
- version: 1,
540
- },
541
- ],
542
- 'eu-west-3': [
543
- {
544
- layerArn: 'arn:aws:lambda:eu-west-3:678892195805:layer:remotion-binaries-fonts-x86_64',
545
- version: 1,
546
- },
547
- {
548
- layerArn: 'arn:aws:lambda:eu-west-3:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
549
- version: 1,
550
- },
551
- {
552
- layerArn: 'arn:aws:lambda:eu-west-3:678892195805:layer:remotion-binaries-chromium-x86_64',
553
- version: 1,
554
- },
555
- ],
556
- 'me-south-1': [
557
- {
558
- layerArn: 'arn:aws:lambda:me-south-1:678892195805:layer:remotion-binaries-fonts-x86_64',
559
- version: 1,
560
- },
561
- {
562
- layerArn: 'arn:aws:lambda:me-south-1:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
563
- version: 1,
564
- },
565
- {
566
- layerArn: 'arn:aws:lambda:me-south-1:678892195805:layer:remotion-binaries-chromium-x86_64',
567
- version: 1,
568
- },
569
- ],
570
- 'sa-east-1': [
571
- {
572
- layerArn: 'arn:aws:lambda:sa-east-1:678892195805:layer:remotion-binaries-fonts-x86_64',
573
- version: 1,
574
- },
575
- {
576
- layerArn: 'arn:aws:lambda:sa-east-1:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
577
- version: 1,
578
- },
579
- {
580
- layerArn: 'arn:aws:lambda:sa-east-1:678892195805:layer:remotion-binaries-chromium-x86_64',
581
- version: 1,
582
- },
583
- ],
584
- 'us-west-1': [
585
- {
586
- layerArn: 'arn:aws:lambda:us-west-1:678892195805:layer:remotion-binaries-fonts-x86_64',
587
- version: 1,
588
- },
589
- {
590
- layerArn: 'arn:aws:lambda:us-west-1:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
591
- version: 1,
592
- },
593
- {
594
- layerArn: 'arn:aws:lambda:us-west-1:678892195805:layer:remotion-binaries-chromium-x86_64',
595
- version: 1,
596
- },
597
- ],
598
- },
599
- };
@@ -1,7 +1,5 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
- import http from 'http';
4
1
  import https from 'https';
2
+ import http from 'node:http';
5
3
  import type { EnhancedErrorInfo } from '../functions/helpers/write-lambda-error';
6
4
  import type { AfterRenderCost } from './constants';
7
5
  /**