@remotion/gif 4.0.243 → 4.0.245
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-formatting.log +7 -0
- package/.turbo/turbo-lint.log +5 -0
- package/.turbo/turbo-make.log +1 -1
- package/LICENSE.md +1 -1
- package/dist/cjs/Gif.d.ts +0 -4
- package/dist/cjs/Gif.js +2 -2
- package/dist/cjs/get-gif-duration-in-seconds.d.ts +0 -4
- package/dist/cjs/get-gif-duration-in-seconds.js +3 -3
- package/package.json +3 -3
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
> @remotion/gif@4.0.244 formatting /Users/jonathanburger/remotion/packages/gif
|
|
4
|
+
> prettier src --check
|
|
5
|
+
|
|
6
|
+
Checking formatting...
|
|
7
|
+
src/canvas.tsx[2K[1Gsrc/get-gif-duration-in-seconds.ts[2K[1Gsrc/gif-cache.ts[2K[1Gsrc/Gif.tsx[2K[1Gsrc/GifForDevelopment.tsx[2K[1Gsrc/GifForRendering.tsx[2K[1Gsrc/gifuct/deinterlace.ts[2K[1Gsrc/gifuct/index.ts[2K[1Gsrc/gifuct/lzw.ts[2K[1Gsrc/gifuct/types.ts[2K[1Gsrc/index.ts[2K[1Gsrc/is-cors-error.ts[2K[1Gsrc/js-binary-schema-parser/gif.ts[2K[1Gsrc/js-binary-schema-parser/parser.ts[2K[1Gsrc/js-binary-schema-parser/uint8-parser.ts[2K[1Gsrc/lru/index.ts[2K[1Gsrc/parse-generate.ts[2K[1Gsrc/parser/decompress-frames.ts[2K[1Gsrc/preload-gif.ts[2K[1Gsrc/props.ts[2K[1Gsrc/react-tools.ts[2K[1Gsrc/resolve-gif-source.ts[2K[1Gsrc/use-element-size.ts[2K[1Gsrc/useCurrentGifIndex.tsx[2K[1Gsrc/worker/index.ts[2K[1Gsrc/worker/worker.ts[2K[1GAll matched files use Prettier code style!
|
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.245",
|
|
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.245"
|
|
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.245"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"react": ">=16.8.0",
|