@remotion/gif 3.0.11 → 3.0.15

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/Gif.js CHANGED
@@ -7,8 +7,8 @@ const GifForDevelopment_1 = require("./GifForDevelopment");
7
7
  const GifForRendering_1 = require("./GifForRendering");
8
8
  const Gif = (props) => {
9
9
  if (remotion_1.Internals.getRemotionEnvironment() === 'rendering') {
10
- return (0, jsx_runtime_1.jsx)(GifForRendering_1.GifForRendering, { ...props }, void 0);
10
+ return (0, jsx_runtime_1.jsx)(GifForRendering_1.GifForRendering, { ...props });
11
11
  }
12
- return (0, jsx_runtime_1.jsx)(GifForDevelopment_1.GifForDevelopment, { ...props }, void 0);
12
+ return (0, jsx_runtime_1.jsx)(GifForDevelopment_1.GifForDevelopment, { ...props });
13
13
  };
14
14
  exports.Gif = Gif;
@@ -38,5 +38,5 @@ exports.GifForDevelopment = (0, react_1.forwardRef)(({ src, width, height, onErr
38
38
  }
39
39
  });
40
40
  const index = (0, useCurrentGifIndex_1.useCurrentGifIndex)(state.delays);
41
- return ((0, jsx_runtime_1.jsx)(tools_1.Canvas, { fit: fit, index: index, frames: state.frames, width: width !== null && width !== void 0 ? width : state.width, height: height !== null && height !== void 0 ? height : state.height, ...props, ref: ref }, void 0));
41
+ return ((0, jsx_runtime_1.jsx)(tools_1.Canvas, { fit: fit, index: index, frames: state.frames, width: width !== null && width !== void 0 ? width : state.width, height: height !== null && height !== void 0 ? height : state.height, ...props, ref: ref }));
42
42
  });
@@ -31,5 +31,5 @@ exports.GifForRendering = (0, react_1.forwardRef)(({ src, width, height, onLoad,
31
31
  }
32
32
  (0, remotion_1.continueRender)(id);
33
33
  });
34
- return ((0, jsx_runtime_1.jsx)(tools_1.Canvas, { fit: fit, index: index, frames: state.frames, width: width !== null && width !== void 0 ? width : state.width, height: height !== null && height !== void 0 ? height : state.height, ...props, ref: ref }, void 0));
34
+ return ((0, jsx_runtime_1.jsx)(tools_1.Canvas, { fit: fit, index: index, frames: state.frames, width: width !== null && width !== void 0 ? width : state.width, height: height !== null && height !== void 0 ? height : state.height, ...props, ref: ref }));
35
35
  });
package/dist/index.js CHANGED
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/gif",
3
- "version": "3.0.11",
3
+ "version": "3.0.15",
4
4
  "description": "Gif component for remotion",
5
5
  "sideEffects": false,
6
6
  "repository": {
@@ -23,7 +23,7 @@
23
23
  "dependencies": {
24
24
  "@react-gifs/tools": "0.1.2",
25
25
  "lru_map": "0.4.1",
26
- "remotion": "3.0.11"
26
+ "remotion": "3.0.15"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@jonny/eslint-config": "3.0.259",
@@ -36,7 +36,7 @@
36
36
  "prettier-plugin-organize-imports": "^2.3.4",
37
37
  "react": "18.0.0",
38
38
  "react-dom": "18.0.0",
39
- "typescript": "^4.5.5",
39
+ "typescript": "^4.7.0",
40
40
  "webpack": "5.72.0"
41
41
  },
42
42
  "peerDependencies": {
@@ -54,5 +54,5 @@
54
54
  "publishConfig": {
55
55
  "access": "public"
56
56
  },
57
- "gitHead": "7bdd2de3305f669cefecfdbda7f555df1480d9c9"
57
+ "gitHead": "955b43714a53713963f862d3e9aec86de85f1ebd"
58
58
  }