@remotion/gif 4.0.226 → 4.0.227
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 +2 -2
- package/dist/cjs/GifForDevelopment.js +1 -0
- package/dist/cjs/GifForRendering.js +1 -0
- package/dist/cjs/canvas.d.ts +7 -7
- package/dist/cjs/canvas.js +1 -0
- package/dist/cjs/gifuct/index.js +1 -0
- package/dist/cjs/gifuct/lzw.js +0 -1
- package/dist/cjs/js-binary-schema-parser/uint8-parser.js +0 -1
- package/eslint.config.mjs +10 -0
- package/package.json +7 -5
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
> @remotion/gif@4.0.226 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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> @remotion/gif@4.0.
|
|
4
|
-
> node build.mjs && bun --env-file=../.env.bundle bundle.ts
|
|
3
|
+
> @remotion/gif@4.0.226 make /Users/jonathanburger/remotion/packages/gif
|
|
4
|
+
> tsc -d && node build.mjs && bun --env-file=../.env.bundle bundle.ts
|
|
5
5
|
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GifForDevelopment = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
/* eslint-disable no-console */
|
|
5
6
|
const react_1 = require("react");
|
|
6
7
|
const remotion_1 = require("remotion");
|
|
7
8
|
const canvas_1 = require("./canvas");
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GifForRendering = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
/* eslint-disable no-console */
|
|
5
6
|
const react_1 = require("react");
|
|
6
7
|
const remotion_1 = require("remotion");
|
|
7
8
|
const canvas_1 = require("./canvas");
|
package/dist/cjs/canvas.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { GifFillMode } from './props';
|
|
2
2
|
type Props = {
|
|
3
|
-
index: number;
|
|
4
|
-
frames: ImageData[];
|
|
5
|
-
width?: number;
|
|
6
|
-
height?: number;
|
|
7
|
-
fit: GifFillMode;
|
|
8
|
-
className?: string;
|
|
9
|
-
style?: React.CSSProperties;
|
|
3
|
+
readonly index: number;
|
|
4
|
+
readonly frames: ImageData[];
|
|
5
|
+
readonly width?: number;
|
|
6
|
+
readonly height?: number;
|
|
7
|
+
readonly fit: GifFillMode;
|
|
8
|
+
readonly className?: string;
|
|
9
|
+
readonly style?: React.CSSProperties;
|
|
10
10
|
};
|
|
11
11
|
export declare const Canvas: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<unknown>>;
|
|
12
12
|
export {};
|
package/dist/cjs/canvas.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Canvas = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
/* eslint-disable react/require-default-props */
|
|
5
6
|
const react_1 = require("react");
|
|
6
7
|
const use_element_size_1 = require("./use-element-size");
|
|
7
8
|
const calcArgs = (fit, frameSize, canvasSize) => {
|
package/dist/cjs/gifuct/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.decompressFrames = exports.decompressFrame = exports.parseGIF = void 0;
|
|
4
|
+
/* eslint-disable no-console */
|
|
4
5
|
const gif_1 = require("../js-binary-schema-parser/gif");
|
|
5
6
|
const parser_1 = require("../js-binary-schema-parser/parser");
|
|
6
7
|
const uint8_parser_1 = require("../js-binary-schema-parser/uint8-parser");
|
package/dist/cjs/gifuct/lzw.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/* eslint-disable no-bitwise */
|
|
3
2
|
// Default stream and parsers for Uint8TypedArray data type
|
|
4
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
4
|
exports.readBits = exports.readArray = exports.readUnsigned = exports.readString = exports.peekBytes = exports.readBytes = exports.peekByte = exports.readByte = exports.buildStream = void 0;
|
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.227",
|
|
7
7
|
"description": "Embed GIFs in a Remotion video",
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"bugs": {
|
|
@@ -24,13 +24,15 @@
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"remotion": "4.0.
|
|
27
|
+
"remotion": "4.0.227"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"esbuild": "0.18.6",
|
|
31
31
|
"react": "18.3.1",
|
|
32
32
|
"react-dom": "18.3.1",
|
|
33
|
-
"webpack": "5.94.0"
|
|
33
|
+
"webpack": "5.94.0",
|
|
34
|
+
"eslint": "9.14.0",
|
|
35
|
+
"@remotion/eslint-config-internal": "4.0.227"
|
|
34
36
|
},
|
|
35
37
|
"peerDependencies": {
|
|
36
38
|
"react": ">=16.8.0",
|
|
@@ -49,7 +51,7 @@
|
|
|
49
51
|
"homepage": "https://www.remotion.dev/docs/gif",
|
|
50
52
|
"scripts": {
|
|
51
53
|
"formatting": "prettier src --check",
|
|
52
|
-
"lint": "eslint src
|
|
53
|
-
"make": "node build.mjs && bun --env-file=../.env.bundle bundle.ts"
|
|
54
|
+
"lint": "eslint src",
|
|
55
|
+
"make": "tsc -d && node build.mjs && bun --env-file=../.env.bundle bundle.ts"
|
|
54
56
|
}
|
|
55
57
|
}
|