@remotion/three 4.0.226 → 4.0.228

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.
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  export declare const SuspenseLoader: React.FC<{
3
- children: React.ReactNode;
3
+ readonly children: React.ReactNode;
4
4
  }>;
@@ -32,6 +32,7 @@ const warnAboutRequestVideoFrameCallback = () => {
32
32
  return false;
33
33
  }
34
34
  warned = true;
35
+ // eslint-disable-next-line no-console
35
36
  console.warn('Browser does not support requestVideoFrameCallback. Cannot display video.');
36
37
  };
37
38
  /**
@@ -0,0 +1,10 @@
1
+ import {remotionFlatConfig} from '@remotion/eslint-config-internal';
2
+
3
+ const config = remotionFlatConfig({react: true});
4
+
5
+ export default {
6
+ ...config,
7
+ rules: {
8
+ ...config.rules,
9
+ },
10
+ };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/three"
4
4
  },
5
5
  "name": "@remotion/three",
6
- "version": "4.0.226",
6
+ "version": "4.0.228",
7
7
  "description": "Include React Three Fiber components in a Remotion video",
8
8
  "main": "dist/cjs/index.js",
9
9
  "types": "dist/cjs/index.d.ts",
@@ -16,14 +16,14 @@
16
16
  "url": "https://github.com/remotion-dev/remotion/issues"
17
17
  },
18
18
  "dependencies": {
19
- "remotion": "4.0.226"
19
+ "remotion": "4.0.228"
20
20
  },
21
21
  "peerDependencies": {
22
22
  "@react-three/fiber": ">=8.0.0",
23
23
  "react": ">=16.8.0",
24
24
  "react-dom": ">=16.8.0",
25
25
  "three": ">=0.137.0",
26
- "remotion": "4.0.226"
26
+ "remotion": "4.0.228"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@react-three/fiber": "8.13.5",
@@ -33,7 +33,9 @@
33
33
  "react": "18.3.1",
34
34
  "react-dom": "18.3.1",
35
35
  "three": "0.158.0",
36
- "remotion": "4.0.226"
36
+ "eslint": "9.14.0",
37
+ "remotion": "4.0.228",
38
+ "@remotion/eslint-config-internal": "4.0.228"
37
39
  },
38
40
  "keywords": [
39
41
  "remotion",
@@ -58,7 +60,7 @@
58
60
  "homepage": "https://www.remotion.dev/docs/three",
59
61
  "scripts": {
60
62
  "formatting": "prettier src --check",
61
- "lint": "eslint src --ext ts,tsx",
62
- "make": "bun --env-file=../.env.bundle bundle.ts"
63
+ "lint": "eslint src",
64
+ "make": "tsc -d && bun --env-file=../.env.bundle bundle.ts"
63
65
  }
64
66
  }