remotion 3.3.94 → 3.3.96
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/spring/index.js +4 -5
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/index.mjs +5 -6
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
package/dist/cjs/spring/index.js
CHANGED
|
@@ -50,15 +50,14 @@ function spring({ frame: passedFrame, fps, config = {}, from = 0, to = 1, durati
|
|
|
50
50
|
throw new Error('did not calculate natural duration, this is an error with Remotion. Please report');
|
|
51
51
|
},
|
|
52
52
|
};
|
|
53
|
-
const frame = reverse
|
|
53
|
+
const frame = (reverse
|
|
54
54
|
? (passedDurationInFrames !== null && passedDurationInFrames !== void 0 ? passedDurationInFrames : naturalDurationGetter.get()) - passedFrame
|
|
55
|
-
: passedFrame;
|
|
55
|
+
: passedFrame) - delay;
|
|
56
56
|
const spr = (0, spring_utils_js_1.springCalculation)({
|
|
57
57
|
fps,
|
|
58
|
-
frame:
|
|
58
|
+
frame: passedDurationInFrames === undefined
|
|
59
59
|
? frame
|
|
60
|
-
: frame / (passedDurationInFrames / naturalDurationGetter.get())
|
|
61
|
-
delay,
|
|
60
|
+
: frame / (passedDurationInFrames / naturalDurationGetter.get()),
|
|
62
61
|
config,
|
|
63
62
|
from,
|
|
64
63
|
to,
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "3.3.
|
|
1
|
+
export declare const VERSION = "3.3.96";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/index.mjs
CHANGED
|
@@ -58,7 +58,7 @@ function truthy(value) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
// Automatically generated on publish
|
|
61
|
-
const VERSION = '3.3.
|
|
61
|
+
const VERSION = '3.3.96';
|
|
62
62
|
|
|
63
63
|
const checkMultipleRemotionVersions = () => {
|
|
64
64
|
if (typeof globalThis === 'undefined') {
|
|
@@ -3617,15 +3617,14 @@ function spring({ frame: passedFrame, fps, config = {}, from = 0, to = 1, durati
|
|
|
3617
3617
|
throw new Error('did not calculate natural duration, this is an error with Remotion. Please report');
|
|
3618
3618
|
},
|
|
3619
3619
|
};
|
|
3620
|
-
const frame = reverse
|
|
3620
|
+
const frame = (reverse
|
|
3621
3621
|
? (passedDurationInFrames !== null && passedDurationInFrames !== void 0 ? passedDurationInFrames : naturalDurationGetter.get()) - passedFrame
|
|
3622
|
-
: passedFrame;
|
|
3622
|
+
: passedFrame) - delay;
|
|
3623
3623
|
const spr = springCalculation({
|
|
3624
3624
|
fps,
|
|
3625
|
-
frame:
|
|
3625
|
+
frame: passedDurationInFrames === undefined
|
|
3626
3626
|
? frame
|
|
3627
|
-
: frame / (passedDurationInFrames / naturalDurationGetter.get())
|
|
3628
|
-
delay,
|
|
3627
|
+
: frame / (passedDurationInFrames / naturalDurationGetter.get()),
|
|
3629
3628
|
config,
|
|
3630
3629
|
from,
|
|
3631
3630
|
to,
|
package/dist/esm/version.mjs
CHANGED