@remotion/lambda-client 4.0.461 → 4.0.463
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/cjs/constants.js +18 -8
- package/dist/cjs/index.js +135 -15
- package/dist/cjs/regions.js +18 -8
- package/dist/esm/index.mjs +121 -18
- package/package.json +3 -4
package/dist/cjs/constants.js
CHANGED
|
@@ -2,27 +2,37 @@ var __defProp = Object.defineProperty;
|
|
|
2
2
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
|
|
5
|
+
function __accessProp(key) {
|
|
6
|
+
return this[key];
|
|
7
|
+
}
|
|
6
8
|
var __toCommonJS = (from) => {
|
|
7
|
-
var entry = __moduleCache.get(from), desc;
|
|
9
|
+
var entry = (__moduleCache ??= new WeakMap).get(from), desc;
|
|
8
10
|
if (entry)
|
|
9
11
|
return entry;
|
|
10
12
|
entry = __defProp({}, "__esModule", { value: true });
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function")
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
+
}
|
|
16
21
|
__moduleCache.set(from, entry);
|
|
17
22
|
return entry;
|
|
18
23
|
};
|
|
24
|
+
var __moduleCache;
|
|
25
|
+
var __returnValue = (v) => v;
|
|
26
|
+
function __exportSetter(name, newValue) {
|
|
27
|
+
this[name] = __returnValue.bind(null, newValue);
|
|
28
|
+
}
|
|
19
29
|
var __export = (target, all) => {
|
|
20
30
|
for (var name in all)
|
|
21
31
|
__defProp(target, name, {
|
|
22
32
|
get: all[name],
|
|
23
33
|
enumerable: true,
|
|
24
34
|
configurable: true,
|
|
25
|
-
set: (
|
|
35
|
+
set: __exportSetter.bind(all, name)
|
|
26
36
|
});
|
|
27
37
|
};
|
|
28
38
|
|
package/dist/cjs/index.js
CHANGED
|
@@ -4,39 +4,60 @@ 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;
|
|
7
12
|
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
|
+
}
|
|
8
20
|
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
9
21
|
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
10
22
|
for (let key of __getOwnPropNames(mod))
|
|
11
23
|
if (!__hasOwnProp.call(to, key))
|
|
12
24
|
__defProp(to, key, {
|
|
13
|
-
get: (
|
|
25
|
+
get: __accessProp.bind(mod, key),
|
|
14
26
|
enumerable: true
|
|
15
27
|
});
|
|
28
|
+
if (canCache)
|
|
29
|
+
cache.set(mod, to);
|
|
16
30
|
return to;
|
|
17
31
|
};
|
|
18
|
-
var __moduleCache = /* @__PURE__ */ new WeakMap;
|
|
19
32
|
var __toCommonJS = (from) => {
|
|
20
|
-
var entry = __moduleCache.get(from), desc;
|
|
33
|
+
var entry = (__moduleCache ??= new WeakMap).get(from), desc;
|
|
21
34
|
if (entry)
|
|
22
35
|
return entry;
|
|
23
36
|
entry = __defProp({}, "__esModule", { value: true });
|
|
24
|
-
if (from && typeof from === "object" || typeof from === "function")
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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
|
+
}
|
|
29
45
|
__moduleCache.set(from, entry);
|
|
30
46
|
return entry;
|
|
31
47
|
};
|
|
48
|
+
var __moduleCache;
|
|
32
49
|
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
|
+
}
|
|
33
54
|
var __export = (target, all) => {
|
|
34
55
|
for (var name in all)
|
|
35
56
|
__defProp(target, name, {
|
|
36
57
|
get: all[name],
|
|
37
58
|
enumerable: true,
|
|
38
59
|
configurable: true,
|
|
39
|
-
set: (
|
|
60
|
+
set: __exportSetter.bind(all, name)
|
|
40
61
|
});
|
|
41
62
|
};
|
|
42
63
|
|
|
@@ -4182,7 +4203,7 @@ var require_serde = __commonJS((exports2) => {
|
|
|
4182
4203
|
}
|
|
4183
4204
|
return value.slice(idx);
|
|
4184
4205
|
};
|
|
4185
|
-
var LazyJsonString = function
|
|
4206
|
+
var LazyJsonString = function LazyJsonString2(val) {
|
|
4186
4207
|
const str = Object.assign(new String(val), {
|
|
4187
4208
|
deserializeJSON() {
|
|
4188
4209
|
return JSON.parse(String(val));
|
|
@@ -5736,7 +5757,7 @@ var require_dist_cjs19 = __commonJS((exports2) => {
|
|
|
5736
5757
|
return httpRequest;
|
|
5737
5758
|
}
|
|
5738
5759
|
}
|
|
5739
|
-
var createIsIdentityExpiredFunction = (expirationMs) => function
|
|
5760
|
+
var createIsIdentityExpiredFunction = (expirationMs) => function isIdentityExpired2(identity) {
|
|
5740
5761
|
return doesIdentityRequireRefresh(identity) && identity.expiration.getTime() - Date.now() < expirationMs;
|
|
5741
5762
|
};
|
|
5742
5763
|
var EXPIRATION_MS = 300000;
|
|
@@ -69921,6 +69942,23 @@ function checkInfiniteRange(name, arr) {
|
|
|
69921
69942
|
}
|
|
69922
69943
|
}
|
|
69923
69944
|
}
|
|
69945
|
+
function assertValidInterpolateEasingOption(easing, inputRangeLength) {
|
|
69946
|
+
if (easing === undefined) {
|
|
69947
|
+
return;
|
|
69948
|
+
}
|
|
69949
|
+
if (typeof easing === "function") {
|
|
69950
|
+
return;
|
|
69951
|
+
}
|
|
69952
|
+
const expectedLength = inputRangeLength - 1;
|
|
69953
|
+
if (easing.length !== expectedLength) {
|
|
69954
|
+
throw new Error(`When easing is an array, it must have one entry per segment between keyframes (length inputRange.length - 1 = ${expectedLength}), but got length ${easing.length}`);
|
|
69955
|
+
}
|
|
69956
|
+
for (let i = 0;i < easing.length; i++) {
|
|
69957
|
+
if (typeof easing[i] !== "function") {
|
|
69958
|
+
throw new Error(`easing[${i}] must be a function`);
|
|
69959
|
+
}
|
|
69960
|
+
}
|
|
69961
|
+
}
|
|
69924
69962
|
function interpolate(input, inputRange, outputRange, options) {
|
|
69925
69963
|
if (typeof input === "undefined") {
|
|
69926
69964
|
throw new Error("input can not be undefined");
|
|
@@ -69937,7 +69975,18 @@ function interpolate(input, inputRange, outputRange, options) {
|
|
|
69937
69975
|
checkInfiniteRange("inputRange", inputRange);
|
|
69938
69976
|
checkInfiniteRange("outputRange", outputRange);
|
|
69939
69977
|
checkValidInputRange(inputRange);
|
|
69940
|
-
|
|
69978
|
+
assertValidInterpolateEasingOption(options?.easing, inputRange.length);
|
|
69979
|
+
const easingOption = options?.easing;
|
|
69980
|
+
const defaultEasing = (num) => num;
|
|
69981
|
+
const resolveEasingForSegment = (segmentIndex) => {
|
|
69982
|
+
if (easingOption === undefined) {
|
|
69983
|
+
return defaultEasing;
|
|
69984
|
+
}
|
|
69985
|
+
if (typeof easingOption === "function") {
|
|
69986
|
+
return easingOption;
|
|
69987
|
+
}
|
|
69988
|
+
return easingOption[segmentIndex];
|
|
69989
|
+
};
|
|
69941
69990
|
let extrapolateLeft = "extend";
|
|
69942
69991
|
if (options?.extrapolateLeft !== undefined) {
|
|
69943
69992
|
extrapolateLeft = options.extrapolateLeft;
|
|
@@ -69951,7 +70000,7 @@ function interpolate(input, inputRange, outputRange, options) {
|
|
|
69951
70000
|
}
|
|
69952
70001
|
const range = findRange(input, inputRange);
|
|
69953
70002
|
return interpolateFunction(input, [inputRange[range], inputRange[range + 1]], [outputRange[range], outputRange[range + 1]], {
|
|
69954
|
-
easing,
|
|
70003
|
+
easing: resolveEasingForSegment(range),
|
|
69955
70004
|
extrapolateLeft,
|
|
69956
70005
|
extrapolateRight
|
|
69957
70006
|
});
|
|
@@ -70537,6 +70586,76 @@ var proResProfileOptions = [
|
|
|
70537
70586
|
"light",
|
|
70538
70587
|
"proxy"
|
|
70539
70588
|
];
|
|
70589
|
+
var sequenceStyleSchema = {
|
|
70590
|
+
"style.translate": {
|
|
70591
|
+
type: "translate",
|
|
70592
|
+
step: 1,
|
|
70593
|
+
default: "0px 0px",
|
|
70594
|
+
description: "Offset"
|
|
70595
|
+
},
|
|
70596
|
+
"style.scale": {
|
|
70597
|
+
type: "number",
|
|
70598
|
+
min: 0.05,
|
|
70599
|
+
max: 100,
|
|
70600
|
+
step: 0.01,
|
|
70601
|
+
default: 1,
|
|
70602
|
+
description: "Scale"
|
|
70603
|
+
},
|
|
70604
|
+
"style.rotate": {
|
|
70605
|
+
type: "rotation",
|
|
70606
|
+
step: 1,
|
|
70607
|
+
default: "0deg",
|
|
70608
|
+
description: "Rotation"
|
|
70609
|
+
},
|
|
70610
|
+
"style.opacity": {
|
|
70611
|
+
type: "number",
|
|
70612
|
+
min: 0,
|
|
70613
|
+
max: 1,
|
|
70614
|
+
step: 0.01,
|
|
70615
|
+
default: 1,
|
|
70616
|
+
description: "Opacity"
|
|
70617
|
+
},
|
|
70618
|
+
premountFor: {
|
|
70619
|
+
type: "number",
|
|
70620
|
+
default: 0,
|
|
70621
|
+
description: "Premount For",
|
|
70622
|
+
min: 0,
|
|
70623
|
+
step: 1
|
|
70624
|
+
},
|
|
70625
|
+
postmountFor: {
|
|
70626
|
+
type: "hidden"
|
|
70627
|
+
},
|
|
70628
|
+
styleWhilePremounted: {
|
|
70629
|
+
type: "hidden"
|
|
70630
|
+
},
|
|
70631
|
+
styleWhilePostmounted: {
|
|
70632
|
+
type: "hidden"
|
|
70633
|
+
}
|
|
70634
|
+
};
|
|
70635
|
+
var hiddenField = {
|
|
70636
|
+
type: "boolean",
|
|
70637
|
+
default: false,
|
|
70638
|
+
description: "Hidden"
|
|
70639
|
+
};
|
|
70640
|
+
var sequenceSchema = {
|
|
70641
|
+
hidden: hiddenField,
|
|
70642
|
+
layout: {
|
|
70643
|
+
type: "enum",
|
|
70644
|
+
default: "absolute-fill",
|
|
70645
|
+
description: "Layout",
|
|
70646
|
+
variants: {
|
|
70647
|
+
"absolute-fill": sequenceStyleSchema,
|
|
70648
|
+
none: {}
|
|
70649
|
+
}
|
|
70650
|
+
}
|
|
70651
|
+
};
|
|
70652
|
+
var sequenceSchemaDefaultLayoutNone = {
|
|
70653
|
+
...sequenceSchema,
|
|
70654
|
+
layout: {
|
|
70655
|
+
...sequenceSchema.layout,
|
|
70656
|
+
default: "none"
|
|
70657
|
+
}
|
|
70658
|
+
};
|
|
70540
70659
|
var ENABLE_V5_BREAKING_CHANGES = false;
|
|
70541
70660
|
var validateFrame = ({
|
|
70542
70661
|
allowFloats,
|
|
@@ -70700,7 +70819,8 @@ var NoReactInternals = {
|
|
|
70700
70819
|
FILE_TOKEN,
|
|
70701
70820
|
validateCodec,
|
|
70702
70821
|
proResProfileOptions,
|
|
70703
|
-
findPropsToDelete
|
|
70822
|
+
findPropsToDelete,
|
|
70823
|
+
sequenceSchema
|
|
70704
70824
|
};
|
|
70705
70825
|
var COMMAND_NOT_FOUND = "Command not found";
|
|
70706
70826
|
var expiryDays = {
|
|
@@ -70766,7 +70886,7 @@ var validateDownloadBehavior = (downloadBehavior) => {
|
|
|
70766
70886
|
}
|
|
70767
70887
|
}
|
|
70768
70888
|
};
|
|
70769
|
-
var VERSION = "4.0.
|
|
70889
|
+
var VERSION = "4.0.463";
|
|
70770
70890
|
var isColorSupported = () => {
|
|
70771
70891
|
const env = process.env || {};
|
|
70772
70892
|
const isForceDisabled = "NO_COLOR" in env;
|
package/dist/cjs/regions.js
CHANGED
|
@@ -2,27 +2,37 @@ var __defProp = Object.defineProperty;
|
|
|
2
2
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
|
|
5
|
+
function __accessProp(key) {
|
|
6
|
+
return this[key];
|
|
7
|
+
}
|
|
6
8
|
var __toCommonJS = (from) => {
|
|
7
|
-
var entry = __moduleCache.get(from), desc;
|
|
9
|
+
var entry = (__moduleCache ??= new WeakMap).get(from), desc;
|
|
8
10
|
if (entry)
|
|
9
11
|
return entry;
|
|
10
12
|
entry = __defProp({}, "__esModule", { value: true });
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function")
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
+
}
|
|
16
21
|
__moduleCache.set(from, entry);
|
|
17
22
|
return entry;
|
|
18
23
|
};
|
|
24
|
+
var __moduleCache;
|
|
25
|
+
var __returnValue = (v) => v;
|
|
26
|
+
function __exportSetter(name, newValue) {
|
|
27
|
+
this[name] = __returnValue.bind(null, newValue);
|
|
28
|
+
}
|
|
19
29
|
var __export = (target, all) => {
|
|
20
30
|
for (var name in all)
|
|
21
31
|
__defProp(target, name, {
|
|
22
32
|
get: all[name],
|
|
23
33
|
enumerable: true,
|
|
24
34
|
configurable: true,
|
|
25
|
-
set: (
|
|
35
|
+
set: __exportSetter.bind(all, name)
|
|
26
36
|
});
|
|
27
37
|
};
|
|
28
38
|
|
package/dist/esm/index.mjs
CHANGED
|
@@ -4,15 +4,29 @@ 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;
|
|
7
12
|
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
|
+
}
|
|
8
20
|
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
9
21
|
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
10
22
|
for (let key of __getOwnPropNames(mod))
|
|
11
23
|
if (!__hasOwnProp.call(to, key))
|
|
12
24
|
__defProp(to, key, {
|
|
13
|
-
get: (
|
|
25
|
+
get: __accessProp.bind(mod, key),
|
|
14
26
|
enumerable: true
|
|
15
27
|
});
|
|
28
|
+
if (canCache)
|
|
29
|
+
cache.set(mod, to);
|
|
16
30
|
return to;
|
|
17
31
|
};
|
|
18
32
|
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
@@ -4160,7 +4174,7 @@ var require_serde = __commonJS((exports) => {
|
|
|
4160
4174
|
}
|
|
4161
4175
|
return value.slice(idx);
|
|
4162
4176
|
};
|
|
4163
|
-
var LazyJsonString = function
|
|
4177
|
+
var LazyJsonString = function LazyJsonString2(val) {
|
|
4164
4178
|
const str = Object.assign(new String(val), {
|
|
4165
4179
|
deserializeJSON() {
|
|
4166
4180
|
return JSON.parse(String(val));
|
|
@@ -5714,7 +5728,7 @@ var require_dist_cjs19 = __commonJS((exports) => {
|
|
|
5714
5728
|
return httpRequest;
|
|
5715
5729
|
}
|
|
5716
5730
|
}
|
|
5717
|
-
var createIsIdentityExpiredFunction = (expirationMs) => function
|
|
5731
|
+
var createIsIdentityExpiredFunction = (expirationMs) => function isIdentityExpired2(identity) {
|
|
5718
5732
|
return doesIdentityRequireRefresh(identity) && identity.expiration.getTime() - Date.now() < expirationMs;
|
|
5719
5733
|
};
|
|
5720
5734
|
var EXPIRATION_MS = 300000;
|
|
@@ -69052,16 +69066,6 @@ var require_db = __commonJS((exports, module) => {
|
|
|
69052
69066
|
};
|
|
69053
69067
|
});
|
|
69054
69068
|
|
|
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
|
-
|
|
69065
69069
|
// ../../node_modules/.bun/mime-types@2.1.34/node_modules/mime-types/index.js
|
|
69066
69070
|
var require_mime_types = __commonJS((exports) => {
|
|
69067
69071
|
/*!
|
|
@@ -69070,7 +69074,7 @@ var require_mime_types = __commonJS((exports) => {
|
|
|
69070
69074
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
69071
69075
|
* MIT Licensed
|
|
69072
69076
|
*/
|
|
69073
|
-
var db =
|
|
69077
|
+
var db = require_db();
|
|
69074
69078
|
var extname = __require("path").extname;
|
|
69075
69079
|
var EXTRACT_TYPE_REGEXP = /^\s*([^;\s]*)(?:;|\s|$)/;
|
|
69076
69080
|
var TEXT_TYPE_REGEXP = /^text\//i;
|
|
@@ -69264,6 +69268,23 @@ function checkInfiniteRange(name, arr) {
|
|
|
69264
69268
|
}
|
|
69265
69269
|
}
|
|
69266
69270
|
}
|
|
69271
|
+
function assertValidInterpolateEasingOption(easing, inputRangeLength) {
|
|
69272
|
+
if (easing === undefined) {
|
|
69273
|
+
return;
|
|
69274
|
+
}
|
|
69275
|
+
if (typeof easing === "function") {
|
|
69276
|
+
return;
|
|
69277
|
+
}
|
|
69278
|
+
const expectedLength = inputRangeLength - 1;
|
|
69279
|
+
if (easing.length !== expectedLength) {
|
|
69280
|
+
throw new Error(`When easing is an array, it must have one entry per segment between keyframes (length inputRange.length - 1 = ${expectedLength}), but got length ${easing.length}`);
|
|
69281
|
+
}
|
|
69282
|
+
for (let i = 0;i < easing.length; i++) {
|
|
69283
|
+
if (typeof easing[i] !== "function") {
|
|
69284
|
+
throw new Error(`easing[${i}] must be a function`);
|
|
69285
|
+
}
|
|
69286
|
+
}
|
|
69287
|
+
}
|
|
69267
69288
|
function interpolate(input, inputRange, outputRange, options) {
|
|
69268
69289
|
if (typeof input === "undefined") {
|
|
69269
69290
|
throw new Error("input can not be undefined");
|
|
@@ -69280,7 +69301,18 @@ function interpolate(input, inputRange, outputRange, options) {
|
|
|
69280
69301
|
checkInfiniteRange("inputRange", inputRange);
|
|
69281
69302
|
checkInfiniteRange("outputRange", outputRange);
|
|
69282
69303
|
checkValidInputRange(inputRange);
|
|
69283
|
-
|
|
69304
|
+
assertValidInterpolateEasingOption(options?.easing, inputRange.length);
|
|
69305
|
+
const easingOption = options?.easing;
|
|
69306
|
+
const defaultEasing = (num) => num;
|
|
69307
|
+
const resolveEasingForSegment = (segmentIndex) => {
|
|
69308
|
+
if (easingOption === undefined) {
|
|
69309
|
+
return defaultEasing;
|
|
69310
|
+
}
|
|
69311
|
+
if (typeof easingOption === "function") {
|
|
69312
|
+
return easingOption;
|
|
69313
|
+
}
|
|
69314
|
+
return easingOption[segmentIndex];
|
|
69315
|
+
};
|
|
69284
69316
|
let extrapolateLeft = "extend";
|
|
69285
69317
|
if (options?.extrapolateLeft !== undefined) {
|
|
69286
69318
|
extrapolateLeft = options.extrapolateLeft;
|
|
@@ -69294,7 +69326,7 @@ function interpolate(input, inputRange, outputRange, options) {
|
|
|
69294
69326
|
}
|
|
69295
69327
|
const range = findRange(input, inputRange);
|
|
69296
69328
|
return interpolateFunction(input, [inputRange[range], inputRange[range + 1]], [outputRange[range], outputRange[range + 1]], {
|
|
69297
|
-
easing,
|
|
69329
|
+
easing: resolveEasingForSegment(range),
|
|
69298
69330
|
extrapolateLeft,
|
|
69299
69331
|
extrapolateRight
|
|
69300
69332
|
});
|
|
@@ -69880,6 +69912,76 @@ var proResProfileOptions = [
|
|
|
69880
69912
|
"light",
|
|
69881
69913
|
"proxy"
|
|
69882
69914
|
];
|
|
69915
|
+
var sequenceStyleSchema = {
|
|
69916
|
+
"style.translate": {
|
|
69917
|
+
type: "translate",
|
|
69918
|
+
step: 1,
|
|
69919
|
+
default: "0px 0px",
|
|
69920
|
+
description: "Offset"
|
|
69921
|
+
},
|
|
69922
|
+
"style.scale": {
|
|
69923
|
+
type: "number",
|
|
69924
|
+
min: 0.05,
|
|
69925
|
+
max: 100,
|
|
69926
|
+
step: 0.01,
|
|
69927
|
+
default: 1,
|
|
69928
|
+
description: "Scale"
|
|
69929
|
+
},
|
|
69930
|
+
"style.rotate": {
|
|
69931
|
+
type: "rotation",
|
|
69932
|
+
step: 1,
|
|
69933
|
+
default: "0deg",
|
|
69934
|
+
description: "Rotation"
|
|
69935
|
+
},
|
|
69936
|
+
"style.opacity": {
|
|
69937
|
+
type: "number",
|
|
69938
|
+
min: 0,
|
|
69939
|
+
max: 1,
|
|
69940
|
+
step: 0.01,
|
|
69941
|
+
default: 1,
|
|
69942
|
+
description: "Opacity"
|
|
69943
|
+
},
|
|
69944
|
+
premountFor: {
|
|
69945
|
+
type: "number",
|
|
69946
|
+
default: 0,
|
|
69947
|
+
description: "Premount For",
|
|
69948
|
+
min: 0,
|
|
69949
|
+
step: 1
|
|
69950
|
+
},
|
|
69951
|
+
postmountFor: {
|
|
69952
|
+
type: "hidden"
|
|
69953
|
+
},
|
|
69954
|
+
styleWhilePremounted: {
|
|
69955
|
+
type: "hidden"
|
|
69956
|
+
},
|
|
69957
|
+
styleWhilePostmounted: {
|
|
69958
|
+
type: "hidden"
|
|
69959
|
+
}
|
|
69960
|
+
};
|
|
69961
|
+
var hiddenField = {
|
|
69962
|
+
type: "boolean",
|
|
69963
|
+
default: false,
|
|
69964
|
+
description: "Hidden"
|
|
69965
|
+
};
|
|
69966
|
+
var sequenceSchema = {
|
|
69967
|
+
hidden: hiddenField,
|
|
69968
|
+
layout: {
|
|
69969
|
+
type: "enum",
|
|
69970
|
+
default: "absolute-fill",
|
|
69971
|
+
description: "Layout",
|
|
69972
|
+
variants: {
|
|
69973
|
+
"absolute-fill": sequenceStyleSchema,
|
|
69974
|
+
none: {}
|
|
69975
|
+
}
|
|
69976
|
+
}
|
|
69977
|
+
};
|
|
69978
|
+
var sequenceSchemaDefaultLayoutNone = {
|
|
69979
|
+
...sequenceSchema,
|
|
69980
|
+
layout: {
|
|
69981
|
+
...sequenceSchema.layout,
|
|
69982
|
+
default: "none"
|
|
69983
|
+
}
|
|
69984
|
+
};
|
|
69883
69985
|
var ENABLE_V5_BREAKING_CHANGES = false;
|
|
69884
69986
|
var validateFrame = ({
|
|
69885
69987
|
allowFloats,
|
|
@@ -70043,7 +70145,8 @@ var NoReactInternals = {
|
|
|
70043
70145
|
FILE_TOKEN,
|
|
70044
70146
|
validateCodec,
|
|
70045
70147
|
proResProfileOptions,
|
|
70046
|
-
findPropsToDelete
|
|
70148
|
+
findPropsToDelete,
|
|
70149
|
+
sequenceSchema
|
|
70047
70150
|
};
|
|
70048
70151
|
var COMMAND_NOT_FOUND = "Command not found";
|
|
70049
70152
|
var expiryDays = {
|
|
@@ -70109,7 +70212,7 @@ var validateDownloadBehavior = (downloadBehavior) => {
|
|
|
70109
70212
|
}
|
|
70110
70213
|
}
|
|
70111
70214
|
};
|
|
70112
|
-
var VERSION = "4.0.
|
|
70215
|
+
var VERSION = "4.0.463";
|
|
70113
70216
|
var isColorSupported = () => {
|
|
70114
70217
|
const env = process.env || {};
|
|
70115
70218
|
const isForceDisabled = "NO_COLOR" in env;
|
package/package.json
CHANGED
|
@@ -3,9 +3,8 @@
|
|
|
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.
|
|
6
|
+
"version": "4.0.463",
|
|
7
7
|
"main": "dist/cjs/index.js",
|
|
8
|
-
"sideEffects": false,
|
|
9
8
|
"scripts": {
|
|
10
9
|
"formatting": "oxfmt src --check",
|
|
11
10
|
"format": "oxfmt src",
|
|
@@ -27,10 +26,10 @@
|
|
|
27
26
|
"@aws-sdk/lib-storage": "3.986.0",
|
|
28
27
|
"mime-types": "2.1.34",
|
|
29
28
|
"@aws-sdk/credential-provider-ini": "3.972.5",
|
|
30
|
-
"@remotion/serverless-client": "4.0.
|
|
29
|
+
"@remotion/serverless-client": "4.0.463",
|
|
31
30
|
"@types/express": "5.0.1",
|
|
32
31
|
"express": "4.21.0",
|
|
33
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
32
|
+
"@remotion/eslint-config-internal": "4.0.463",
|
|
34
33
|
"eslint": "9.19.0",
|
|
35
34
|
"next": "16.2.6",
|
|
36
35
|
"@types/mime-types": "2.1.1",
|