@remotion/lambda-client 4.0.463 → 4.0.464

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.
@@ -2,37 +2,27 @@ var __defProp = Object.defineProperty;
2
2
  var __getOwnPropNames = Object.getOwnPropertyNames;
3
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- function __accessProp(key) {
6
- return this[key];
7
- }
5
+ var __moduleCache = /* @__PURE__ */ new WeakMap;
8
6
  var __toCommonJS = (from) => {
9
- var entry = (__moduleCache ??= new WeakMap).get(from), desc;
7
+ var entry = __moduleCache.get(from), desc;
10
8
  if (entry)
11
9
  return entry;
12
10
  entry = __defProp({}, "__esModule", { value: true });
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (var key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(entry, key))
16
- __defProp(entry, key, {
17
- get: __accessProp.bind(from, key),
18
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
19
- });
20
- }
11
+ if (from && typeof from === "object" || typeof from === "function")
12
+ __getOwnPropNames(from).map((key) => !__hasOwnProp.call(entry, key) && __defProp(entry, key, {
13
+ get: () => from[key],
14
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
+ }));
21
16
  __moduleCache.set(from, entry);
22
17
  return entry;
23
18
  };
24
- var __moduleCache;
25
- var __returnValue = (v) => v;
26
- function __exportSetter(name, newValue) {
27
- this[name] = __returnValue.bind(null, newValue);
28
- }
29
19
  var __export = (target, all) => {
30
20
  for (var name in all)
31
21
  __defProp(target, name, {
32
22
  get: all[name],
33
23
  enumerable: true,
34
24
  configurable: true,
35
- set: __exportSetter.bind(all, name)
25
+ set: (newValue) => all[name] = () => newValue
36
26
  });
37
27
  };
38
28
 
package/dist/cjs/index.js CHANGED
@@ -4,60 +4,39 @@ var __defProp = Object.defineProperty;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- function __accessProp(key) {
8
- return this[key];
9
- }
10
- var __toESMCache_node;
11
- var __toESMCache_esm;
12
7
  var __toESM = (mod, isNodeMode, target) => {
13
- var canCache = mod != null && typeof mod === "object";
14
- if (canCache) {
15
- var cache = isNodeMode ? __toESMCache_node ??= new WeakMap : __toESMCache_esm ??= new WeakMap;
16
- var cached = cache.get(mod);
17
- if (cached)
18
- return cached;
19
- }
20
8
  target = mod != null ? __create(__getProtoOf(mod)) : {};
21
9
  const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
22
10
  for (let key of __getOwnPropNames(mod))
23
11
  if (!__hasOwnProp.call(to, key))
24
12
  __defProp(to, key, {
25
- get: __accessProp.bind(mod, key),
13
+ get: () => mod[key],
26
14
  enumerable: true
27
15
  });
28
- if (canCache)
29
- cache.set(mod, to);
30
16
  return to;
31
17
  };
18
+ var __moduleCache = /* @__PURE__ */ new WeakMap;
32
19
  var __toCommonJS = (from) => {
33
- var entry = (__moduleCache ??= new WeakMap).get(from), desc;
20
+ var entry = __moduleCache.get(from), desc;
34
21
  if (entry)
35
22
  return entry;
36
23
  entry = __defProp({}, "__esModule", { value: true });
37
- if (from && typeof from === "object" || typeof from === "function") {
38
- for (var key of __getOwnPropNames(from))
39
- if (!__hasOwnProp.call(entry, key))
40
- __defProp(entry, key, {
41
- get: __accessProp.bind(from, key),
42
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
43
- });
44
- }
24
+ if (from && typeof from === "object" || typeof from === "function")
25
+ __getOwnPropNames(from).map((key) => !__hasOwnProp.call(entry, key) && __defProp(entry, key, {
26
+ get: () => from[key],
27
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
28
+ }));
45
29
  __moduleCache.set(from, entry);
46
30
  return entry;
47
31
  };
48
- var __moduleCache;
49
32
  var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
50
- var __returnValue = (v) => v;
51
- function __exportSetter(name, newValue) {
52
- this[name] = __returnValue.bind(null, newValue);
53
- }
54
33
  var __export = (target, all) => {
55
34
  for (var name in all)
56
35
  __defProp(target, name, {
57
36
  get: all[name],
58
37
  enumerable: true,
59
38
  configurable: true,
60
- set: __exportSetter.bind(all, name)
39
+ set: (newValue) => all[name] = () => newValue
61
40
  });
62
41
  };
63
42
 
@@ -4203,7 +4182,7 @@ var require_serde = __commonJS((exports2) => {
4203
4182
  }
4204
4183
  return value.slice(idx);
4205
4184
  };
4206
- var LazyJsonString = function LazyJsonString2(val) {
4185
+ var LazyJsonString = function LazyJsonString(val) {
4207
4186
  const str = Object.assign(new String(val), {
4208
4187
  deserializeJSON() {
4209
4188
  return JSON.parse(String(val));
@@ -5757,7 +5736,7 @@ var require_dist_cjs19 = __commonJS((exports2) => {
5757
5736
  return httpRequest;
5758
5737
  }
5759
5738
  }
5760
- var createIsIdentityExpiredFunction = (expirationMs) => function isIdentityExpired2(identity) {
5739
+ var createIsIdentityExpiredFunction = (expirationMs) => function isIdentityExpired(identity) {
5761
5740
  return doesIdentityRequireRefresh(identity) && identity.expiration.getTime() - Date.now() < expirationMs;
5762
5741
  };
5763
5742
  var EXPIRATION_MS = 300000;
@@ -70586,7 +70565,7 @@ var proResProfileOptions = [
70586
70565
  "light",
70587
70566
  "proxy"
70588
70567
  ];
70589
- var sequenceStyleSchema = {
70568
+ var sequenceVisualStyleSchema = {
70590
70569
  "style.translate": {
70591
70570
  type: "translate",
70592
70571
  step: 1,
@@ -70614,7 +70593,9 @@ var sequenceStyleSchema = {
70614
70593
  step: 0.01,
70615
70594
  default: 1,
70616
70595
  description: "Opacity"
70617
- },
70596
+ }
70597
+ };
70598
+ var sequencePremountSchema = {
70618
70599
  premountFor: {
70619
70600
  type: "number",
70620
70601
  default: 0,
@@ -70632,6 +70613,10 @@ var sequenceStyleSchema = {
70632
70613
  type: "hidden"
70633
70614
  }
70634
70615
  };
70616
+ var sequenceStyleSchema = {
70617
+ ...sequenceVisualStyleSchema,
70618
+ ...sequencePremountSchema
70619
+ };
70635
70620
  var hiddenField = {
70636
70621
  type: "boolean",
70637
70622
  default: false,
@@ -70886,7 +70871,7 @@ var validateDownloadBehavior = (downloadBehavior) => {
70886
70871
  }
70887
70872
  }
70888
70873
  };
70889
- var VERSION = "4.0.463";
70874
+ var VERSION = "4.0.464";
70890
70875
  var isColorSupported = () => {
70891
70876
  const env = process.env || {};
70892
70877
  const isForceDisabled = "NO_COLOR" in env;
@@ -71166,6 +71151,10 @@ var printUsefulErrorMessage = (err, logLevel, indent) => {
71166
71151
  Log.info({ indent, logLevel });
71167
71152
  Log.info({ indent, logLevel }, "\uD83D\uDCA1 This error indicates that your Lambda concurrency limit is too low. See: https://www.remotion.dev/docs/lambda/troubleshooting/rate-limit");
71168
71153
  }
71154
+ if (err.message.includes("Failed to acquire WebGL2 context") || err.message.includes("Failed to acquire WebGL context")) {
71155
+ Log.info({ indent, logLevel });
71156
+ Log.info({ indent, logLevel }, "\uD83D\uDCA1 Get help for this issue at https://remotion.dev/docs/troubleshooting/webgl2-context");
71157
+ }
71169
71158
  if (err.message.includes("Error creating WebGL context")) {
71170
71159
  Log.info({ indent, logLevel });
71171
71160
  Log.warn({
@@ -71176,6 +71165,7 @@ var printUsefulErrorMessage = (err, logLevel, indent) => {
71176
71165
  indent,
71177
71166
  logLevel
71178
71167
  }, "\uD83D\uDCA1 Check how it's done at https://www.remotion.dev/docs/chromium-flags#--gl");
71168
+ Log.info({ indent, logLevel }, "\uD83D\uDCA1 Get help for this issue at https://remotion.dev/docs/troubleshooting/webgl2-context");
71179
71169
  }
71180
71170
  if (err.message.includes("The bucket does not allow ACLs")) {
71181
71171
  Log.info({ indent, logLevel });
@@ -2,37 +2,27 @@ var __defProp = Object.defineProperty;
2
2
  var __getOwnPropNames = Object.getOwnPropertyNames;
3
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- function __accessProp(key) {
6
- return this[key];
7
- }
5
+ var __moduleCache = /* @__PURE__ */ new WeakMap;
8
6
  var __toCommonJS = (from) => {
9
- var entry = (__moduleCache ??= new WeakMap).get(from), desc;
7
+ var entry = __moduleCache.get(from), desc;
10
8
  if (entry)
11
9
  return entry;
12
10
  entry = __defProp({}, "__esModule", { value: true });
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (var key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(entry, key))
16
- __defProp(entry, key, {
17
- get: __accessProp.bind(from, key),
18
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
19
- });
20
- }
11
+ if (from && typeof from === "object" || typeof from === "function")
12
+ __getOwnPropNames(from).map((key) => !__hasOwnProp.call(entry, key) && __defProp(entry, key, {
13
+ get: () => from[key],
14
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
+ }));
21
16
  __moduleCache.set(from, entry);
22
17
  return entry;
23
18
  };
24
- var __moduleCache;
25
- var __returnValue = (v) => v;
26
- function __exportSetter(name, newValue) {
27
- this[name] = __returnValue.bind(null, newValue);
28
- }
29
19
  var __export = (target, all) => {
30
20
  for (var name in all)
31
21
  __defProp(target, name, {
32
22
  get: all[name],
33
23
  enumerable: true,
34
24
  configurable: true,
35
- set: __exportSetter.bind(all, name)
25
+ set: (newValue) => all[name] = () => newValue
36
26
  });
37
27
  };
38
28
 
@@ -4,29 +4,15 @@ var __getProtoOf = Object.getPrototypeOf;
4
4
  var __defProp = Object.defineProperty;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- function __accessProp(key) {
8
- return this[key];
9
- }
10
- var __toESMCache_node;
11
- var __toESMCache_esm;
12
7
  var __toESM = (mod, isNodeMode, target) => {
13
- var canCache = mod != null && typeof mod === "object";
14
- if (canCache) {
15
- var cache = isNodeMode ? __toESMCache_node ??= new WeakMap : __toESMCache_esm ??= new WeakMap;
16
- var cached = cache.get(mod);
17
- if (cached)
18
- return cached;
19
- }
20
8
  target = mod != null ? __create(__getProtoOf(mod)) : {};
21
9
  const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
22
10
  for (let key of __getOwnPropNames(mod))
23
11
  if (!__hasOwnProp.call(to, key))
24
12
  __defProp(to, key, {
25
- get: __accessProp.bind(mod, key),
13
+ get: () => mod[key],
26
14
  enumerable: true
27
15
  });
28
- if (canCache)
29
- cache.set(mod, to);
30
16
  return to;
31
17
  };
32
18
  var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
@@ -4174,7 +4160,7 @@ var require_serde = __commonJS((exports) => {
4174
4160
  }
4175
4161
  return value.slice(idx);
4176
4162
  };
4177
- var LazyJsonString = function LazyJsonString2(val) {
4163
+ var LazyJsonString = function LazyJsonString(val) {
4178
4164
  const str = Object.assign(new String(val), {
4179
4165
  deserializeJSON() {
4180
4166
  return JSON.parse(String(val));
@@ -5728,7 +5714,7 @@ var require_dist_cjs19 = __commonJS((exports) => {
5728
5714
  return httpRequest;
5729
5715
  }
5730
5716
  }
5731
- var createIsIdentityExpiredFunction = (expirationMs) => function isIdentityExpired2(identity) {
5717
+ var createIsIdentityExpiredFunction = (expirationMs) => function isIdentityExpired(identity) {
5732
5718
  return doesIdentityRequireRefresh(identity) && identity.expiration.getTime() - Date.now() < expirationMs;
5733
5719
  };
5734
5720
  var EXPIRATION_MS = 300000;
@@ -69066,6 +69052,16 @@ var require_db = __commonJS((exports, module) => {
69066
69052
  };
69067
69053
  });
69068
69054
 
69055
+ // ../../node_modules/.bun/mime-db@1.51.0/node_modules/mime-db/index.js
69056
+ var require_mime_db = __commonJS((exports, module) => {
69057
+ /*!
69058
+ * mime-db
69059
+ * Copyright(c) 2014 Jonathan Ong
69060
+ * MIT Licensed
69061
+ */
69062
+ module.exports = require_db();
69063
+ });
69064
+
69069
69065
  // ../../node_modules/.bun/mime-types@2.1.34/node_modules/mime-types/index.js
69070
69066
  var require_mime_types = __commonJS((exports) => {
69071
69067
  /*!
@@ -69074,7 +69070,7 @@ var require_mime_types = __commonJS((exports) => {
69074
69070
  * Copyright(c) 2015 Douglas Christopher Wilson
69075
69071
  * MIT Licensed
69076
69072
  */
69077
- var db = require_db();
69073
+ var db = require_mime_db();
69078
69074
  var extname = __require("path").extname;
69079
69075
  var EXTRACT_TYPE_REGEXP = /^\s*([^;\s]*)(?:;|\s|$)/;
69080
69076
  var TEXT_TYPE_REGEXP = /^text\//i;
@@ -69912,7 +69908,7 @@ var proResProfileOptions = [
69912
69908
  "light",
69913
69909
  "proxy"
69914
69910
  ];
69915
- var sequenceStyleSchema = {
69911
+ var sequenceVisualStyleSchema = {
69916
69912
  "style.translate": {
69917
69913
  type: "translate",
69918
69914
  step: 1,
@@ -69940,7 +69936,9 @@ var sequenceStyleSchema = {
69940
69936
  step: 0.01,
69941
69937
  default: 1,
69942
69938
  description: "Opacity"
69943
- },
69939
+ }
69940
+ };
69941
+ var sequencePremountSchema = {
69944
69942
  premountFor: {
69945
69943
  type: "number",
69946
69944
  default: 0,
@@ -69958,6 +69956,10 @@ var sequenceStyleSchema = {
69958
69956
  type: "hidden"
69959
69957
  }
69960
69958
  };
69959
+ var sequenceStyleSchema = {
69960
+ ...sequenceVisualStyleSchema,
69961
+ ...sequencePremountSchema
69962
+ };
69961
69963
  var hiddenField = {
69962
69964
  type: "boolean",
69963
69965
  default: false,
@@ -70212,7 +70214,7 @@ var validateDownloadBehavior = (downloadBehavior) => {
70212
70214
  }
70213
70215
  }
70214
70216
  };
70215
- var VERSION = "4.0.463";
70217
+ var VERSION = "4.0.464";
70216
70218
  var isColorSupported = () => {
70217
70219
  const env = process.env || {};
70218
70220
  const isForceDisabled = "NO_COLOR" in env;
@@ -70492,6 +70494,10 @@ var printUsefulErrorMessage = (err, logLevel, indent) => {
70492
70494
  Log.info({ indent, logLevel });
70493
70495
  Log.info({ indent, logLevel }, "\uD83D\uDCA1 This error indicates that your Lambda concurrency limit is too low. See: https://www.remotion.dev/docs/lambda/troubleshooting/rate-limit");
70494
70496
  }
70497
+ if (err.message.includes("Failed to acquire WebGL2 context") || err.message.includes("Failed to acquire WebGL context")) {
70498
+ Log.info({ indent, logLevel });
70499
+ Log.info({ indent, logLevel }, "\uD83D\uDCA1 Get help for this issue at https://remotion.dev/docs/troubleshooting/webgl2-context");
70500
+ }
70495
70501
  if (err.message.includes("Error creating WebGL context")) {
70496
70502
  Log.info({ indent, logLevel });
70497
70503
  Log.warn({
@@ -70502,6 +70508,7 @@ var printUsefulErrorMessage = (err, logLevel, indent) => {
70502
70508
  indent,
70503
70509
  logLevel
70504
70510
  }, "\uD83D\uDCA1 Check how it's done at https://www.remotion.dev/docs/chromium-flags#--gl");
70511
+ Log.info({ indent, logLevel }, "\uD83D\uDCA1 Get help for this issue at https://remotion.dev/docs/troubleshooting/webgl2-context");
70505
70512
  }
70506
70513
  if (err.message.includes("The bucket does not allow ACLs")) {
70507
70514
  Log.info({ indent, logLevel });
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/lambda-client"
4
4
  },
5
5
  "name": "@remotion/lambda-client",
6
- "version": "4.0.463",
6
+ "version": "4.0.464",
7
7
  "main": "dist/cjs/index.js",
8
8
  "scripts": {
9
9
  "formatting": "oxfmt src --check",
@@ -26,10 +26,10 @@
26
26
  "@aws-sdk/lib-storage": "3.986.0",
27
27
  "mime-types": "2.1.34",
28
28
  "@aws-sdk/credential-provider-ini": "3.972.5",
29
- "@remotion/serverless-client": "4.0.463",
29
+ "@remotion/serverless-client": "4.0.464",
30
30
  "@types/express": "5.0.1",
31
31
  "express": "4.21.0",
32
- "@remotion/eslint-config-internal": "4.0.463",
32
+ "@remotion/eslint-config-internal": "4.0.464",
33
33
  "eslint": "9.19.0",
34
34
  "next": "16.2.6",
35
35
  "@types/mime-types": "2.1.1",