remotion 3.3.95 → 3.3.97

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.
@@ -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: (passedDurationInFrames === undefined
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,
@@ -1 +1 @@
1
- export declare const VERSION = "3.3.95";
1
+ export declare const VERSION = "3.3.97";
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
4
  // Automatically generated on publish
5
- exports.VERSION = '3.3.95';
5
+ exports.VERSION = '3.3.97';
@@ -58,7 +58,7 @@ function truthy(value) {
58
58
  }
59
59
 
60
60
  // Automatically generated on publish
61
- const VERSION = '3.3.95';
61
+ const VERSION = '3.3.97';
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: (passedDurationInFrames === undefined
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,
@@ -1,4 +1,4 @@
1
1
  // Automatically generated on publish
2
- const VERSION = '3.3.95';
2
+ const VERSION = '3.3.97';
3
3
 
4
4
  export { VERSION };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remotion",
3
- "version": "3.3.95",
3
+ "version": "3.3.97",
4
4
  "description": "Render videos in React",
5
5
  "main": "dist/cjs/index.js",
6
6
  "types": "dist/cjs/index.d.ts",