@remotion/gif 4.0.244 → 4.0.246
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/.turbo/turbo-make.log
CHANGED
package/LICENSE.md
CHANGED
package/dist/cjs/Gif.d.ts
CHANGED
|
@@ -1,6 +1,2 @@
|
|
|
1
1
|
import type { RemotionGifProps } from './props';
|
|
2
|
-
/**
|
|
3
|
-
* @description Displays a GIF that synchronizes with Remotions useCurrentFrame().
|
|
4
|
-
* @see [Documentation](https://www.remotion.dev/docs/gif/gif)
|
|
5
|
-
*/
|
|
6
2
|
export declare const Gif: import("react").ForwardRefExoticComponent<RemotionGifProps & import("react").RefAttributes<HTMLCanvasElement>>;
|
package/dist/cjs/Gif.js
CHANGED
|
@@ -6,9 +6,9 @@ const react_1 = require("react");
|
|
|
6
6
|
const remotion_1 = require("remotion");
|
|
7
7
|
const GifForDevelopment_1 = require("./GifForDevelopment");
|
|
8
8
|
const GifForRendering_1 = require("./GifForRendering");
|
|
9
|
-
|
|
9
|
+
/*
|
|
10
10
|
* @description Displays a GIF that synchronizes with Remotions useCurrentFrame().
|
|
11
|
-
* @see [Documentation](https://
|
|
11
|
+
* @see [Documentation](https://remotion.dev/docs/gif)
|
|
12
12
|
*/
|
|
13
13
|
exports.Gif = (0, react_1.forwardRef)((props, ref) => {
|
|
14
14
|
const env = (0, remotion_1.getRemotionEnvironment)();
|
|
@@ -7,9 +7,9 @@ const react_tools_1 = require("./react-tools");
|
|
|
7
7
|
const calcDuration = (parsed) => {
|
|
8
8
|
return (parsed.delays.reduce((sum, delay) => sum + delay, 0) / 1000);
|
|
9
9
|
};
|
|
10
|
-
|
|
11
|
-
* @description Gets the duration in seconds of a GIF
|
|
12
|
-
* @see [Documentation](https://
|
|
10
|
+
/*
|
|
11
|
+
* @description Gets the duration in seconds of a GIF.
|
|
12
|
+
* @see [Documentation](https://remotion.dev/docs/gif/get-gif-duration-in-seconds)
|
|
13
13
|
*/
|
|
14
14
|
const getGifDurationInSeconds = async (src) => {
|
|
15
15
|
var _a;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/gif"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/gif",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.246",
|
|
7
7
|
"description": "Embed GIFs in a Remotion video",
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"bugs": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"remotion": "4.0.
|
|
27
|
+
"remotion": "4.0.246"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"esbuild": "0.24.0",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"react-dom": "19.0.0",
|
|
33
33
|
"webpack": "5.96.1",
|
|
34
34
|
"eslint": "9.14.0",
|
|
35
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
35
|
+
"@remotion/eslint-config-internal": "4.0.246"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"react": ">=16.8.0",
|