Skip to content

🎥 Make videos programmatically with React

fix react version

ChetanKarwaf147afbddaa9
diff --git a/packages/animation-utils/package.json b/packages/animation-utils/package.json
index 3902a003fe..64edb16615 100644
--- a/packages/animation-utils/package.json
+++ b/packages/animation-utils/package.json
@@ -24,9 +24,7 @@
"react-dom": ">=16.8.0"
},
"devDependencies": {
- "@types/react": "18.0.26",
- "@types/react-dom": "^18.2.11",
- "remotion": "^4.0.46"
+ "@types/react": "18.0.26"
},
"publishConfig": {
"access": "public"
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 16eed8f04c..e08f7d4caf 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -22,21 +22,18 @@ importers:
packages/animation-utils:
dependencies:
react:
- specifier: ^18.2.0
+ specifier: '>=16.8.0'
version: 18.2.0
react-dom:
- specifier: ^18.2.0
+ specifier: '>=16.8.0'
version: 18.2.0([email protected])
remotion:
specifier: workspace:*
version: link:../core
devDependencies:
'@types/react':
- specifier: ^18.2.26
- version: 18.2.47
- '@types/react-dom':
- specifier: ^18.2.11
- version: 18.2.18
+ specifier: 18.0.26
+ version: 18.0.26
packages/astro-example:
dependencies:
@@ -6497,7 +6494,7 @@ packages:
'@docusaurus/react-loadable': 5.5.2([email protected])
'@docusaurus/types': 2.4.1(@swc/[email protected])([email protected])([email protected])
'@types/history': 4.7.11
- '@types/react': 18.2.47
+ '@types/react': 18.0.26
'@types/react-router-config': 5.0.6
'@types/react-router-dom': 5.3.1
react: 18.2.0
@@ -6835,7 +6832,7 @@ packages:
peerDependencies:
react: '*'
dependencies:
- '@types/react': 18.2.47
+ '@types/react': 18.0.26
prop-types: 15.8.1
react: 18.2.0
dev: false
@@ -6906,7 +6903,7 @@ packages:
'@docusaurus/utils': 2.4.1(@docusaurus/[email protected])(@swc/[email protected])
'@docusaurus/utils-common': 2.4.1(@docusaurus/[email protected])
'@types/history': 4.7.11
- '@types/react': 18.2.47
+ '@types/react': 18.0.26
'@types/react-router-config': 5.0.6
clsx: 1.2.1
parse-numeric-range: 1.3.0
@@ -6994,7 +6991,7 @@ packages:
react-dom: ^16.8.4 || ^17.0.0
dependencies:
'@types/history': 4.7.11
- '@types/react': 18.2.47
+ '@types/react': 18.0.26
commander: 5.1.0
joi: 17.6.0
react: 18.2.0
@@ -7868,7 +7865,7 @@ packages:
react: '>=16'
dependencies:
'@types/mdx': 2.0.5
- '@types/react': 18.2.47
+ '@types/react': 18.0.26
react: 18.2.0
dev: false
@@ -9263,7 +9260,7 @@ packages:
resolution: {integrity: sha512-iMIqiko6ooLrTh1joXodJK5X9xeEALT1kM5G3ZLhD3hszxBdIEd5C75U834D9mLcINgD4OyZf5uQXjkuYydWvA==}
dependencies:
- '@types/react': 18.2.47
+ '@types/react': 18.0.26
hoist-non-react-statics: 3.3.2
dev: false
@@ -9451,41 +9448,41 @@ packages:
resolution: {integrity: sha512-O38bPbI2CWtgw/OoQoY+BRelw7uysmXbWvw3nLWO21H1HSh+GOlqPuXshJfjmpNlKiiSDG9cc1JZAaMmVdcTlw==}
dependencies:
- '@types/react': 18.2.47
+ '@types/react': 18.0.26
resolution: {integrity: sha512-TJxDm6OfAX2KJWJdMEVTwWke5Sc/E/RlnPGvGfS0W7+6ocy2xhDVQVh/KvC2Uf7kACs+gDytdusDSdWfWkaNzw==}
dependencies:
- '@types/react': 18.2.47
+ '@types/react': 18.0.26
dev: true
resolution: {integrity: sha512-AVdWv4B8/++T5QQdnpveb2OVqD+0i8SOoT63ZRD+lNtQIYxzDak91V0k6olthy+H261d4t/MRBC1cfX1Rwsb6A==}
dependencies:
- '@types/react': 18.2.47
+ '@types/react': 18.0.26
dev: true
resolution: {integrity: sha512-bdx4aIBkQRDAnzc23JBFeZmVpmfLJHfHikmQukEt9qs4bQtq9f+PDbNwhR9u74FkIUyIDz1I1qJ8OF6RwadKpw==}
dependencies:
- '@types/react': 18.2.47
+ '@types/react': 18.0.26
dev: true
resolution: {integrity: sha512-mBDYl8x+oyPX/VBb3E638N0B7xG+SPk/EAMcVPeexqus/5aTpTphQi0curhhshOqRrc9t6OPoJfEUkbymse/lQ==}
dependencies:
- '@types/react': 18.2.47
+ '@types/react': 18.0.26
resolution: {integrity: sha512-5cjk9ottZAj7eaTsqzPUIlrVbh3hBAO2YaEL1rkjHKB3xNAId7oU8GhzvAX+gfmlfoxTwJnBjPxEHyxkEA1Ffg==}
dependencies:
- '@types/react': 18.2.47
+ '@types/react': 18.0.26
resolution: {integrity: sha512-db1mx37a1EJDf1XeX8jJN7R3PZABmJQXR8r28yUjVMFSjkmnQo6X6pOEEmNl+Tp2gYQOGPdYbFIipBtdElZ3Yg==}
dependencies:
'@types/history': 4.7.11
- '@types/react': 18.2.47
+ '@types/react': 18.0.26
'@types/react-router': 5.1.17
dev: false
@@ -9493,7 +9490,7 @@ packages:
resolution: {integrity: sha512-UvyRy73318QI83haXlaMwmklHHzV9hjl3u71MmM6wYNu0hOVk9NLTa0vGukf8zXUqnwz4O06ig876YSPpeK28A==}
dependencies:
'@types/history': 4.7.11
- '@types/react': 18.2.47
+ '@types/react': 18.0.26
'@types/react-router': 5.1.17
dev: false
@@ -9501,7 +9498,7 @@ packages:
resolution: {integrity: sha512-RNSXOyb3VyRs/EOGmjBhhGKTbnN6fHWvy5FNLzWfOWOGjgVUKqJZXfpKzLmgoU8h6Hj8mpALj/mbXQASOb92wQ==}
dependencies:
'@types/history': 4.7.11
- '@types/react': 18.2.47
+ '@types/react': 18.0.26
dev: false
@@ -9511,13 +9508,6 @@ packages:
'@types/scheduler': 0.16.2
csstype: 3.1.1
- resolution: {integrity: sha512-xquNkkOirwyCgoClNk85BjP+aqnIS+ckAJ8i37gAbDs14jfW/J23f2GItAf33oiUPQnqNMALiFeoM9Y5mbjpVQ==}
- dependencies:
- '@types/prop-types': 15.7.4
- '@types/scheduler': 0.16.2
- csstype: 3.1.1
-
resolution: {integrity: sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==}
dev: false
@@ -9593,7 +9583,7 @@ packages:
resolution: {integrity: sha512-KuKJ9Z6xb93uJiIyxo/+ksS7yLjS1KzG6iv5i78dhVg/X3u5t1H7juRWqVmodIdz6wGVaIApo1u01kmFRdJHVw==}
dependencies:
'@types/hoist-non-react-statics': 3.3.1
- '@types/react': 18.2.47
+ '@types/react': 18.0.26
csstype: 3.1.1
dev: false