Skip to content

πŸŽ₯ Make videos programmatically with React

fix stuff

Jonny Burger17ee81af9fec
diff --git a/package.json b/package.json
index 9c7eb7a134..4a07255748 100644
--- a/package.json
+++ b/package.json
@@ -27,6 +27,13 @@
"prettier": "^2.2.1",
"prettier-plugin-organize-imports": "^1.1.1",
"sharp": "^0.29.0",
+ "@remotion/three": "^2.4.3",
+ "@remotion/player": "^2.4.3",
+ "@remotion/gif": "^2.4.3",
+ "@remotion/cli": "^2.4.3",
+ "@remotion/media-utils": "^2.4.3",
+ "@remotion/renderer": "^2.4.3",
+ "@remotion/bundler": "^2.4.3",
"remotion": "^2.4.3",
"ts-jest": "^27.0.5",
"typescript": "^4.4.2"
diff --git a/packages/docs/blog/2021-02-26-remotion-1-4.md b/packages/docs/blog/2021-02-26-remotion-1-4.md
index 6742f6bb8b..fbc539751e 100644
--- a/packages/docs/blog/2021-02-26-remotion-1-4.md
+++ b/packages/docs/blog/2021-02-26-remotion-1-4.md
@@ -35,10 +35,10 @@ export const MyComp = () => {
const [particles] = useState(() => {
return new Array(100).fill(true).map(() => ({
x: Math.random(),
- y: Math.random()
+ y: Math.random(),
}));
- })
-}
+ });
+};
```
While this will work while previewing the video, during rendering, the random numbers will change during frames. This is because Remotion spins up multiple instances of Chrome and the random numbers will be different in each instance.
@@ -46,7 +46,7 @@ While this will work while previewing the video, during rendering, the random nu
To help you avoid this mistake, there is now a new ESLint rule that will warn when you use `Math.random()`. Instead using it, you can use the new [`random()`](/docs/random) API. It will take a `seed` parameter and output a number between 0 and 1. The point of it is: As long as you pass the same seed, you get the same output! That way you don't get unintended effects while multithreaded rendering is performed.
```tsx {7-8}
-import {random} from 'remotion';
+import { random } from "remotion";
export const MyComp = () => {
// βœ… Pseudo-random values that will be same across threads
@@ -55,8 +55,8 @@ export const MyComp = () => {
x: random(`x-${idx}`),
y: random(`y-${idx}`),
}));
- })
-}
+ });
+};
```
Want to learn more? Read the new documentation page about [using randomness](/docs/using-randomness).
diff --git a/packages/docs/docs/using-randomness.md b/packages/docs/docs/using-randomness.md
index ce3e26efb4..2630ca9492 100644
--- a/packages/docs/docs/using-randomness.md
+++ b/packages/docs/docs/using-randomness.md
@@ -6,7 +6,7 @@ title: Using randomness
The following thing is an anti-pattern in Remotion:
```tsx twoslash
-import {useState} from 'react'
+import { useState } from "react";
// ---cut---
const MyComp: React.FC = () => {
const [randomValues] = useState(() =>
@@ -14,12 +14,12 @@ const MyComp: React.FC = () => {
return {
x: Math.random(),
y: Math.random(),
- }
+ };
})
- )
+ );
// Do something with coordinates
- return <></>
-}
+ return <></>;
+};
```
While this will work during preview, it will break while rendering. The reason is that Remotion is spinning up multiple instances of the webpage to render frames in parallel, and the random values will be different on every instance.
@@ -29,18 +29,18 @@ While this will work during preview, it will break while rendering. The reason i
Use the [`random()`](/docs/random) API from Remotion to get deterministic pseudorandom values. Pass in a seed (number or string) and as long as the seed is the same, the return value will be the same.
```tsx twoslash {5-6}
-import {random} from 'remotion'
+import { random } from "remotion";
const MyComp: React.FC = () => {
// No need to use useState
const randomValues = new Array(10).fill(true).map((a, i) => {
return {
x: random(`x-${i}`),
y: random(`y-${i}`),
- }
- })
+ };
+ });
- return <></>
-}
+ return <></>;
+};
```
Now the random values will be the same on all threads.
diff --git a/packages/docs/package.json b/packages/docs/package.json
index c7d4919842..49735c5a8e 100644
--- a/packages/docs/package.json
+++ b/packages/docs/package.json
@@ -6,7 +6,7 @@
"docusaurus": "docusaurus",
"start": "docusaurus start",
"build": "tsc",
- "build-docs": "node --max_old_space_size=16000 node_modules/@docusaurus/core/bin/docusaurus.js build",
+ "build-docs": "docusaurus build",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"serve": "docusaurus serve",
@@ -15,7 +15,7 @@
},
"dependencies": {
"@docusaurus/core": "2.0.0-beta.7",
- "@docusaurus/plugin-content-blog": "^2.0.0-beta.7",
+ "@docusaurus/plugin-content-blog": "2.0.0-beta.7",
"@docusaurus/preset-classic": "2.0.0-beta.7",
"@mdx-js/react": "^1.6.21",
"@remotion/babel-loader": "^2.4.3",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 7a74528e47..e8aeb2a029 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -6,6 +6,13 @@ importers:
specifiers:
'@jonny/eslint-config': ^2.1.233
'@react-three/fiber': ^6.1.2
+ '@remotion/bundler': ^2.4.3
+ '@remotion/cli': ^2.4.3
+ '@remotion/gif': ^2.4.3
+ '@remotion/media-utils': ^2.4.3
+ '@remotion/player': ^2.4.3
+ '@remotion/renderer': ^2.4.3
+ '@remotion/three': ^2.4.3
'@types/jest': ^27.0.2
'@types/minimist': ^1.2.1
'@types/node': ^16.7.5
@@ -34,6 +41,13 @@ importers:
three: 0.128.0
devDependencies:
'@jonny/eslint-config': [email protected][email protected]
+ '@remotion/bundler': link:packages/bundler
+ '@remotion/cli': link:packages/cli
+ '@remotion/gif': link:packages/gif
+ '@remotion/media-utils': link:packages/media-utils
+ '@remotion/player': link:packages/player
+ '@remotion/renderer': link:packages/renderer
+ '@remotion/three': link:packages/three
'@types/jest': 27.0.2
'@types/minimist': 1.2.2
'@types/node': 16.10.2
@@ -261,10 +275,10 @@ importers:
packages/docs:
specifiers:
- '@docusaurus/core': 2.0.0-beta.7
- '@docusaurus/module-type-aliases': ^2.0.0-beta.7
- '@docusaurus/plugin-content-blog': ^2.0.0-beta.7
- '@docusaurus/preset-classic': 2.0.0-beta.7
+ '@docusaurus/core': 2.0.0-beta.3
+ '@docusaurus/module-type-aliases': ^2.0.0-beta.3
+ '@docusaurus/plugin-content-blog': 2.0.0-beta.3
+ '@docusaurus/preset-classic': 2.0.0-beta.3
'@mdx-js/react': ^1.6.21
'@remotion/babel-loader': ^2.4.3
'@remotion/bundler': ^2.4.3
@@ -291,9 +305,9 @@ importers:
ts-jest: ^27.0.5
url-loader: ^4.1.1
dependencies:
- '@docusaurus/plugin-content-blog': [email protected][email protected]
- '@docusaurus/preset-classic': 2.0.0-beta.7_9c6a8df88c2691f81f37725d5b4de033
+ '@docusaurus/plugin-content-blog': [email protected][email protected]
+ '@docusaurus/preset-classic': 2.0.0-beta.3_9c6a8df88c2691f81f37725d5b4de033
'@mdx-js/react': [email protected]
'@remotion/babel-loader': link:../babel-loader
'@remotion/bundler': link:../bundler
@@ -4097,8 +4111,8 @@ packages:
- '@algolia/client-search'
dev: false
- resolution: {integrity: sha512-owJDhldpimQBOCr6YbGJiQRQufK3A9zmA3lyDnbtipAGV+sDRQNiYKUDtwnbESCchA4vhKj7suvcLvA4sSEVIQ==}
+ resolution: {integrity: sha512-vzKmQsvOCte9odf0ZRU2h5UzdI1km5D0NU3Ee6xn06VydYZ169B1IF5KV1LWHSYklnsEmzizJ/jeopFCry0cGg==}
engines: {node: '>=12.13.0'}
hasBin: true
peerDependencies:
@@ -4115,12 +4129,12 @@ packages:
'@babel/runtime': 7.15.4
'@babel/runtime-corejs3': 7.15.4
'@babel/traverse': 7.15.4
- '@docusaurus/cssnano-preset': 2.0.0-beta.7
+ '@docusaurus/cssnano-preset': 2.0.0-beta.3
'@docusaurus/react-loadable': [email protected]
- '@docusaurus/types': 2.0.0-beta.7
- '@docusaurus/utils-common': 2.0.0-beta.7
- '@docusaurus/utils-validation': [email protected][email protected]
+ '@docusaurus/types': 2.0.0-beta.3
+ '@docusaurus/utils': 2.0.0-beta.3
+ '@docusaurus/utils-common': 2.0.0-beta.3
+ '@docusaurus/utils-validation': 2.0.0-beta.3
'@slorber/static-site-generator-webpack-plugin': 4.0.1
'@svgr/webpack': 5.5.0
autoprefixer: [email protected]
@@ -4145,7 +4159,7 @@ packages:
fs-extra: 10.0.0
github-slugger: 1.4.0
globby: 11.0.4
- html-minifier-terser: 6.0.2
+ html-minifier-terser: 5.1.1
html-tags: 3.1.0
html-webpack-plugin: [email protected]
import-fresh: 3.3.0
@@ -4156,7 +4170,7 @@ packages:
module-alias: 2.2.2
nprogress: 0.2.0
postcss: 8.3.9
prompts: 2.4.1
react: 17.0.2
react-dev-utils: 11.0.4
@@ -4168,7 +4182,6 @@ packages:
react-router: [email protected]
react-router-dom: [email protected]
- remark-admonitions: 1.2.1
resolve-pathname: 3.0.0
rtl-detect: 1.0.4
semver: 7.3.5
@@ -4180,7 +4193,7 @@ packages:
tslib: 2.3.1
update-notifier: 5.1.0
- wait-on: 6.0.0
+ wait-on: 5.3.0
webpack: 5.57.0
webpack-bundle-analyzer: 4.4.2
webpack-dev-server: [email protected]
@@ -4198,16 +4211,16 @@ packages:
- webpack-cli
dev: false
- /@docusaurus/cssnano-preset/2.0.0-beta.7:
- resolution: {integrity: sha512-S1vMCRpIpxWbETcQ/7KzZmFct7WYM2IN1FQSHqCxF1UmAfDH5wwlxUhCe8aQu00f/JV/0Oy/HMOOCJ3cDnLjgw==}
+ /@docusaurus/cssnano-preset/2.0.0-beta.3:
+ resolution: {integrity: sha512-k7EkNPluB+TV++oZB8Je4EQ6Xs6cR0SvgIU9vdXm00qyPCu38MMfRwSY4HnsVUV797T/fQUD91zkuwhyXCUGLA==}
dependencies:
cssnano-preset-advanced: [email protected]
postcss: 8.3.9
- postcss-sort-media-queries: [email protected]
+ postcss-sort-media-queries: [email protected]
dev: false
- /@docusaurus/mdx-loader/[email protected][email protected]:
- resolution: {integrity: sha512-AGL+JDQy/mcJ9IEbCdVDdvqCBvbvG8EIomtopxpxE307gpC3QjQT4bLyUyYBIESDEoniwNsE0R4cABqp+zoIoA==}
+ /@docusaurus/mdx-loader/[email protected][email protected]:
+ resolution: {integrity: sha512-xH6zjNokZD2D7Y+Af3gMO692lwfw5N3NzxuLqMF3D0HPHOLrokDeIeVPeY/EBJBxZiXgqWGZ/ESewNDU1ZUfRQ==}
engines: {node: '>=12.13.0'}
peerDependencies:
react: ^16.8.4 || ^17.0.0
@@ -4215,11 +4228,10 @@ packages:
dependencies:
'@babel/parser': 7.15.7
'@babel/traverse': 7.15.4
+ '@docusaurus/utils': 2.0.0-beta.3
'@mdx-js/mdx': 1.6.22
'@mdx-js/react': [email protected]
- chalk: 4.1.2
escape-html: 1.0.3
file-loader: [email protected]
fs-extra: 10.0.0
@@ -4255,24 +4267,23 @@ packages:
'@types/react-router-dom': 5.3.1
dev: true
- /@docusaurus/plugin-content-blog/[email protected][email protected]:
- resolution: {integrity: sha512-Pz4peB7I38aCMogdqiDhp43ip22GtSUWSewMRwZFd5poxvhShAb7/TUOP85p4bHfTmEWPcsFxQkDBMiv2nFkbw==}
+ /@docusaurus/plugin-content-blog/[email protected][email protected]:
+ resolution: {integrity: sha512-QynxHVzS3jItnDbmu9wkASyMxrduauqONVqYHrL4x2pC4kzSTIrcDnOK1JXUJAuDg9XY66ISWQ8dN7YZOpU+4Q==}
engines: {node: '>=12.13.0'}
peerDependencies:
react: ^16.8.4 || ^17.0.0
react-dom: ^16.8.4 || ^17.0.0
dependencies:
- '@docusaurus/mdx-loader': [email protected][email protected]
- '@docusaurus/types': 2.0.0-beta.7
- '@docusaurus/utils-validation': [email protected][email protected]
+ '@docusaurus/mdx-loader': [email protected][email protected]
+ '@docusaurus/types': 2.0.0-beta.3
+ '@docusaurus/utils': 2.0.0-beta.3
+ '@docusaurus/utils-validation': 2.0.0-beta.3
chalk: 4.1.2
escape-string-regexp: 4.0.0
feed: 4.2.2
fs-extra: 10.0.0
globby: 11.0.4
- js-yaml: 4.1.0
loader-utils: 2.0.0
lodash: 4.17.21
react: 17.0.2
@@ -4280,7 +4291,6 @@ packages:
reading-time: 1.5.0
remark-admonitions: 1.2.1
tslib: 2.3.1
- utility-types: 3.10.0
webpack: 5.57.0
transitivePeerDependencies:
- '@swc/core'
@@ -4294,18 +4304,18 @@ packages:
- webpack-cli
dev: false
- /@docusaurus/plugin-content-docs/[email protected][email protected]:
- resolution: {integrity: sha512-O8Ky+xqiL4+LGIa2hT5WMknbbpw9Q0GaOfnPgX1XTBUwWFlwadMX1rMb4Vb1ki7qhqV1clVCcWZ2EdilkMqhUg==}
+ /@docusaurus/plugin-content-docs/[email protected][email protected]:
+ resolution: {integrity: sha512-lB9UjDyFtq89tpyif+JDIJ/gtwtSTEwOBNTLAzOsg4ZIfNLfyifrWN4ci0TkZV0xShWUHqGp36/5XTpHRn1jJQ==}
engines: {node: '>=12.13.0'}
peerDependencies:
react: ^16.8.4 || ^17.0.0
react-dom: ^16.8.4 || ^17.0.0
dependencies:
- '@docusaurus/mdx-loader': [email protected][email protected]
- '@docusaurus/types': 2.0.0-beta.7
- '@docusaurus/utils-validation': [email protected][email protected]
+ '@docusaurus/mdx-loader': [email protected][email protected]
+ '@docusaurus/types': 2.0.0-beta.3
+ '@docusaurus/utils': 2.0.0-beta.3
+ '@docusaurus/utils-validation': 2.0.0-beta.3
chalk: 4.1.2
combine-promises: 1.1.0
escape-string-regexp: 4.0.0
@@ -4314,7 +4324,7 @@ packages:
globby: 11.0.4
import-fresh: 3.3.0
js-yaml: 4.1.0
- loader-utils: 2.0.0
+ loader-utils: 1.4.0
lodash: 4.17.21
react: 17.0.2
react-dom: [email protected]
@@ -4335,23 +4345,25 @@ packages:
- webpack-cli
dev: false
- /@docusaurus/plugin-content-pages/[email protected][email protected]:
- resolution: {integrity: sha512-5NKtexqh5Ug75xDUQ8ZhgTZ5qDQKF+5/MvOsDdV6OPPq39Rc54RnXyOBpn2hmG4sOkITSav0Rx9WdSwXQ1S56w==}
+ /@docusaurus/plugin-content-pages/[email protected][email protected]:
+ resolution: {integrity: sha512-lV6ZoSkkVwN10kQLE4sEAubaEnzXjKBQBhMCx49wkrvRwKzjBoRnfWV8qAswN1KU2YZZL1ixFpcr8+oXvhxkuA==}
engines: {node: '>=12.13.0'}
peerDependencies:
react: ^16.8.4 || ^17.0.0
react-dom: ^16.8.4 || ^17.0.0
dependencies:
- '@docusaurus/mdx-loader': [email protected][email protected]
- '@docusaurus/types': 2.0.0-beta.7
- '@docusaurus/utils-validation': [email protected][email protected]
+ '@docusaurus/mdx-loader': [email protected][email protected]
+ '@docusaurus/types': 2.0.0-beta.3
+ '@docusaurus/utils': 2.0.0-beta.3
+ '@docusaurus/utils-validation': 2.0.0-beta.3
globby: 11.0.4
lodash: 4.17.21
+ minimatch: 3.0.4
react: 17.0.2
react-dom: [email protected]
remark-admonitions: 1.2.1
+ slash: 3.0.0
tslib: 2.3.1
webpack: 5.57.0
transitivePeerDependencies:
@@ -4366,17 +4378,16 @@ packages:
- webpack-cli
dev: false
- /@docusaurus/plugin-debug/2.0.0-beta.7_9c6a8df88c2691f81f37725d5b4de033:
- resolution: {integrity: sha512-yClzF4ATBclrnBf5hz5YlFmK7Ds63suWf9Sv6VaLsrW4nnP/TinpbBfXSPdbM1zqaDqzNGcYabm0jbA2bstXJA==}
+ /@docusaurus/plugin-debug/2.0.0-beta.3_9c6a8df88c2691f81f37725d5b4de033:
+ resolution: {integrity: sha512-EeHUcCPsr9S1tsyRo42SnhrCCOlcvkcA8CR4pOofiJkG1gJ8IwhY9fNOLJM7dYs0bMtViiqXy5fD2jUib4G1jw==}
engines: {node: '>=12.13.0'}
peerDependencies:
react: ^16.8.4 || ^17.0.0
react-dom: ^16.8.4 || ^17.0.0
dependencies:
- '@docusaurus/types': 2.0.0-beta.7
- fs-extra: 10.0.0
+ '@docusaurus/types': 2.0.0-beta.3
+ '@docusaurus/utils': 2.0.0-beta.3
react: 17.0.2
react-dom: [email protected]
react-json-view: 1.21.3_9c6a8df88c2691f81f37725d5b4de033
@@ -4394,14 +4405,14 @@ packages:
- webpack-cli
dev: false
- /@docusaurus/plugin-google-analytics/[email protected][email protected]:
- resolution: {integrity: sha512-588Fwd5vlcS13osCm9SeQOL4BnEH5M680pLnFQ2oTfZ1RzLfNFJ0O2mP3c4ivZCsHqT8OguUwZBoSKQC3FtBzg==}
+ /@docusaurus/plugin-google-analytics/[email protected][email protected]:
+ resolution: {integrity: sha512-e6tO1FCIdAqIjcLAUaHugz/dErAP/wx67WyN6bWSdAMJRobmav+TFesE2iVzzIMxuRB3pY0Y7TtLL5dF5xpIsg==}
engines: {node: '>=12.13.0'}
peerDependencies:
react: ^16.8.4 || ^17.0.0
react-dom: ^16.8.4 || ^17.0.0
dependencies:
react: 17.0.2
react-dom: [email protected]
transitivePeerDependencies:
@@ -4416,14 +4427,14 @@ packages:
- webpack-cli
dev: false
- /@docusaurus/plugin-google-gtag/[email protected][email protected]:
- resolution: {integrity: sha512-52nm+VlFk4sGX6R9H3PMv5VVIZSEpzMhnAWTrcLNJyCj7TmX45Rr44+nkFdC1S5xg1Jy6u6farpD9VUK69oQfA==}
+ /@docusaurus/plugin-google-gtag/[email protected][email protected]:
+ resolution: {integrity: sha512-p48CK7ZwThs9wc/UEv+zG3lZ/Eh4Rwg2c0MBBLYATGE+Wwh6HIyilhjQAj4dC6wf9iYvCZFXX2pNOr+cKKafIA==}
engines: {node: '>=12.13.0'}
peerDependencies:
react: ^16.8.4 || ^17.0.0
react-dom: ^16.8.4 || ^17.0.0
dependencies:
react: 17.0.2
react-dom: [email protected]
transitivePeerDependencies:
@@ -4438,18 +4449,18 @@ packages:
- webpack-cli
dev: false
- /@docusaurus/plugin-sitemap/[email protected][email protected]:
- resolution: {integrity: sha512-jCBwxHFDkKbUTa+rc1TGegBpaLM+F/C2N97jhnvT9i07kUClt5w+tWplc+jm1Z1Ei/qwiMC+VLAK7xXnnPWTWg==}
+ /@docusaurus/plugin-sitemap/[email protected][email protected]:
+ resolution: {integrity: sha512-ilEJ3Xb8zbShjGhdRHGAm4OZ0bUwFxtMtcTyqLlGmk9r0U2h0CWcaS+geJfLwgUJkwgKZfGdDrmTpmf8oeGQvw==}
engines: {node: '>=12.13.0'}
peerDependencies:
react: ^16.8.4 || ^17.0.0
react-dom: ^16.8.4 || ^17.0.0
dependencies:
- '@docusaurus/types': 2.0.0-beta.7
- '@docusaurus/utils-common': 2.0.0-beta.7
- '@docusaurus/utils-validation': [email protected][email protected]
+ '@docusaurus/types': 2.0.0-beta.3
+ '@docusaurus/utils': 2.0.0-beta.3
+ '@docusaurus/utils-common': 2.0.0-beta.3
+ '@docusaurus/utils-validation': 2.0.0-beta.3
fs-extra: 10.0.0
react: 17.0.2
react-dom: [email protected]
@@ -4467,23 +4478,23 @@ packages:
- webpack-cli
dev: false
- /@docusaurus/preset-classic/2.0.0-beta.7_9c6a8df88c2691f81f37725d5b4de033:
- resolution: {integrity: sha512-lrIpgjrcea3AxroU7G1q1cMFxYNBJleNWCMJ+3Ed1cwn6yRmOQAtUJPQzhPX67Uay5Wl6d2K8/cPpMdAT3E0Fg==}
+ /@docusaurus/preset-classic/2.0.0-beta.3_9c6a8df88c2691f81f37725d5b4de033:
+ resolution: {integrity: sha512-32B/7X3H8XX5jBqg23veEqNJ0JtKCG0Va+7wTX9+B36tMyPnsq3H3m0m5XICfX/NGfPICfjw/oCN2CEAYFd47Q==}
engines: {node: '>=12.13.0'}
peerDependencies:
react: ^16.8.4 || ^17.0.0
react-dom: ^16.8.4 || ^17.0.0
dependencies:
- '@docusaurus/plugin-content-blog': [email protected][email protected]
- '@docusaurus/plugin-content-docs': [email protected][email protected]
- '@docusaurus/plugin-content-pages': [email protected][email protected]
- '@docusaurus/plugin-debug': 2.0.0-beta.7_9c6a8df88c2691f81f37725d5b4de033
- '@docusaurus/plugin-google-analytics': [email protected][email protected]
- '@docusaurus/plugin-google-gtag': [email protected][email protected]
- '@docusaurus/plugin-sitemap': [email protected][email protected]
- '@docusaurus/theme-classic': [email protected][email protected]
- '@docusaurus/theme-search-algolia': 2.0.0-beta.7_9c6a8df88c2691f81f37725d5b4de033
+ '@docusaurus/plugin-content-blog': [email protected][email protected]
+ '@docusaurus/plugin-content-docs': [email protected][email protected]
+ '@docusaurus/plugin-content-pages': [email protected][email protected]
+ '@docusaurus/plugin-debug': 2.0.0-beta.3_9c6a8df88c2691f81f37725d5b4de033
+ '@docusaurus/plugin-google-analytics': [email protected][email protected]
+ '@docusaurus/plugin-google-gtag': [email protected][email protected]
+ '@docusaurus/plugin-sitemap': [email protected][email protected]
+ '@docusaurus/theme-classic': [email protected][email protected]
+ '@docusaurus/theme-search-algolia': 2.0.0-beta.3_9c6a8df88c2691f81f37725d5b4de033
react: 17.0.2
react-dom: [email protected]
transitivePeerDependencies:
@@ -4510,22 +4521,22 @@ packages:
react: 17.0.2
dev: false
- /@docusaurus/theme-classic/[email protected][email protected]:
- resolution: {integrity: sha512-x93sqAlR5l0oZa12GetWrvwm6Olx23bA3nv1gYIAhaxHqo374vC6EWIsvjJCBdCSmmuPX6TaZm1rSDYFWc/37g==}
+ /@docusaurus/theme-classic/[email protected][email protected]:
+ resolution: {integrity: sha512-d2I4r9FQ67hCTGq+fkz0tDNvpCLxm/HAtjuu+XsZkX6Snh50XpWYfwOD4w8oFbbup5Imli2q7Z8Q2+9izphizw==}
engines: {node: '>=12.13.0'}
peerDependencies:
react: ^16.8.4 || ^17.0.0
react-dom: ^16.8.4 || ^17.0.0
dependencies:
- '@docusaurus/plugin-content-blog': [email protected][email protected]
- '@docusaurus/plugin-content-docs': [email protected][email protected]
- '@docusaurus/plugin-content-pages': [email protected][email protected]
- '@docusaurus/theme-common': 2.0.0-beta.7_cf03b7458ee8070c9e09362c20b6f0a1
- '@docusaurus/types': 2.0.0-beta.7
- '@docusaurus/utils-common': 2.0.0-beta.7
- '@docusaurus/utils-validation': [email protected][email protected]
+ '@docusaurus/plugin-content-blog': [email protected][email protected]
+ '@docusaurus/plugin-content-docs': [email protected][email protected]
+ '@docusaurus/plugin-content-pages': [email protected][email protected]
+ '@docusaurus/theme-common': 2.0.0-beta.3_cf03b7458ee8070c9e09362c20b6f0a1
+ '@docusaurus/types': 2.0.0-beta.3
+ '@docusaurus/utils': 2.0.0-beta.3
+ '@docusaurus/utils-common': 2.0.0-beta.3
+ '@docusaurus/utils-validation': 2.0.0-beta.3
'@mdx-js/mdx': 1.6.22
'@mdx-js/react': [email protected]
chalk: 4.1.2
@@ -4533,7 +4544,7 @@ packages:
copy-text-to-clipboard: 3.0.1
fs-extra: 10.0.0
globby: 11.0.4
- infima: 0.2.0-alpha.34
+ infima: 0.2.0-alpha.26
lodash: 4.17.21
parse-numeric-range: 1.3.0
postcss: 8.3.9
@@ -4556,26 +4567,23 @@ packages:
- webpack-cli
dev: false
- /@docusaurus/theme-common/2.0.0-beta.7_cf03b7458ee8070c9e09362c20b6f0a1:
- resolution: {integrity: sha512-50ySwGxsLDS2Jqh771ZkN72QJvLHu+mz+oh/sVerfaQZUmTHZ2AHm0F2Ugzwcwu7ZeuAt31qjHsCLC0ZgVy88A==}
+ /@docusaurus/theme-common/2.0.0-beta.3_cf03b7458ee8070c9e09362c20b6f0a1:
+ resolution: {integrity: sha512-XuiqpfQyOWGniN7d8uMfUQ3OmCc70u+O0ObPUONj7gFglCzwu33Izx05gNrV9ekhnpQ1pkPcvGU7Soe9Hc5i6g==}
engines: {node: '>=12.13.0'}
peerDependencies:
prism-react-renderer: ^1.2.1
react: ^16.8.4 || ^17.0.0
react-dom: ^16.8.4 || ^17.0.0
dependencies:
- '@docusaurus/plugin-content-blog': [email protected][email protected]
- '@docusaurus/plugin-content-docs': [email protected][email protected]
- '@docusaurus/plugin-content-pages': [email protected][email protected]
- '@docusaurus/types': 2.0.0-beta.7
- clsx: 1.1.1
- fs-extra: 10.0.0
+ '@docusaurus/plugin-content-blog': [email protected][email protected]
+ '@docusaurus/plugin-content-docs': [email protected][email protected]
+ '@docusaurus/plugin-content-pages': [email protected][email protected]
+ '@docusaurus/types': 2.0.0-beta.3
prism-react-renderer: [email protected]
react: 17.0.2
react-dom: [email protected]
tslib: 2.3.1
- utility-types: 3.10.0
transitivePeerDependencies:
- '@swc/core'
- bufferutil
@@ -4588,25 +4596,22 @@ packages:
- webpack-cli
dev: false
- /@docusaurus/theme-common/[email protected][email protected]:
- resolution: {integrity: sha512-50ySwGxsLDS2Jqh771ZkN72QJvLHu+mz+oh/sVerfaQZUmTHZ2AHm0F2Ugzwcwu7ZeuAt31qjHsCLC0ZgVy88A==}
+ /@docusaurus/theme-common/[email protected][email protected]:
+ resolution: {integrity: sha512-XuiqpfQyOWGniN7d8uMfUQ3OmCc70u+O0ObPUONj7gFglCzwu33Izx05gNrV9ekhnpQ1pkPcvGU7Soe9Hc5i6g==}
engines: {node: '>=12.13.0'}
peerDependencies:
prism-react-renderer: ^1.2.1
react: ^16.8.4 || ^17.0.0
react-dom: ^16.8.4 || ^17.0.0
dependencies:
- '@docusaurus/plugin-content-blog': [email protected][email protected]
- '@docusaurus/plugin-content-docs': [email protected][email protected]
- '@docusaurus/plugin-content-pages': [email protected][email protected]
- '@docusaurus/types': 2.0.0-beta.7
- clsx: 1.1.1
- fs-extra: 10.0.0
+ '@docusaurus/plugin-content-blog': [email protected][email protected]
+ '@docusaurus/plugin-content-docs': [email protected][email protected]
+ '@docusaurus/plugin-content-pages': [email protected][email protected]
+ '@docusaurus/types': 2.0.0-beta.3
react: 17.0.2
react-dom: [email protected]
tslib: 2.3.1
- utility-types: 3.10.0
transitivePeerDependencies:
- '@swc/core'
- bufferutil
@@ -4619,18 +4624,18 @@ packages:
- webpack-cli
dev: false
- /@docusaurus/theme-search-algolia/2.0.0-beta.7_9c6a8df88c2691f81f37725d5b4de033:
- resolution: {integrity: sha512-N/5AVhs/nx1lcHeWG6ek3SjpARJ8UCGyWgcDDb0Li867YFle/b8Slai8ZgKUDrHlRl1+t3iE8G9w5+xAB+FdwA==}
+ /@docusaurus/theme-search-algolia/2.0.0-beta.3_9c6a8df88c2691f81f37725d5b4de033:
+ resolution: {integrity: sha512-fxWxcXGmqjwuA7zYRAbwqSANx3PVVjYUehV9SI28u5qq8U2tSYflhd1nGogM6guiV+Er6u8gwO91PL6wg3/vBA==}
engines: {node: '>=12.13.0'}
peerDependencies:
react: ^16.8.4 || ^17.0.0
react-dom: ^16.8.4 || ^17.0.0
dependencies:
'@docsearch/react': 3.0.0-alpha.40_9c6a8df88c2691f81f37725d5b4de033
- '@docusaurus/theme-common': [email protected][email protected]
- '@docusaurus/utils-validation': [email protected][email protected]
+ '@docusaurus/theme-common': [email protected][email protected]
+ '@docusaurus/utils': 2.0.0-beta.3
+ '@docusaurus/utils-validation': 2.0.0-beta.3
algoliasearch: 4.10.5
algoliasearch-helper: [email protected]
clsx: 1.1.1
@@ -4653,13 +4658,12 @@ packages:
- webpack-cli
dev: false
- /@docusaurus/types/2.0.0-beta.7:
- resolution: {integrity: sha512-p65Fy/8yhnhOvEcqrDtSqfepEmBOxo6mFtCVFS/zQJgXCH10pvbN4SjIFIFFHh8AvbAgv1Dp2TBel2mdwQO2yA==}
+ /@docusaurus/types/2.0.0-beta.3:
+ resolution: {integrity: sha512-ivQ6L1ahju06ldTvFsZLQxcN6DP32iIB7DscxWVRqP0eyuyX2xAy+jrASqih3lB8lyw0JJaaDEeVE5fjroAQ/Q==}
dependencies:
commander: 5.1.0
joi: 17.4.2
querystring: 0.2.0
- utility-types: 3.10.0
webpack: 5.57.0
webpack-merge: 5.8.0
transitivePeerDependencies:
@@ -4669,11 +4673,11 @@ packages:
- webpack-cli
dev: false
- /@docusaurus/utils-common/2.0.0-beta.7:
- resolution: {integrity: sha512-qfuEZFe81TEJfNVx5rbwRSPID/guulpr0mTVOTpe8y4MozkqhWvK2j9xElVg9olJc+6WBd9IUN2NIq33g7QjYQ==}
+ /@docusaurus/utils-common/2.0.0-beta.3:
+ resolution: {integrity: sha512-KJgDN4G2MzJcHy+OR2e/xgEwRy+vX26pzwtjPkRjNf24CPa0BwFbRmR5apbltCgTB10vT6xroStc8Quv/286Cg==}
engines: {node: '>=12.13.0'}
dependencies:
- '@docusaurus/types': 2.0.0-beta.7
+ '@docusaurus/types': 2.0.0-beta.3
tslib: 2.3.1
transitivePeerDependencies:
- '@swc/core'
@@ -4682,51 +4686,37 @@ packages:
- webpack-cli
dev: false
- /@docusaurus/utils-validation/[email protected][email protected]:
- resolution: {integrity: sha512-lcnsW1sJ+DUTkPS2aA3JysO6pZ9kqDAhesrG7Y8q2ivlwU/unED2N7/rubP0Yw0KYFr/1b+v/uOtyfNYZya3gQ==}
+ /@docusaurus/utils-validation/2.0.0-beta.3:
+ resolution: {integrity: sha512-jGX78NNrxDZFgDjLaa6wuJ/eKDoHdZFG2CVX3uCaIGe1x8eTMG2/e/39GzbZl+W7VHYpW0bzdf/5dFhaKLfQbQ==}
engines: {node: '>=12.13.0'}
dependencies:
+ '@docusaurus/utils': 2.0.0-beta.3
chalk: 4.1.2
joi: 17.4.2
tslib: 2.3.1
transitivePeerDependencies:
- '@swc/core'
- esbuild
- - react
- - react-dom
- - supports-color
- uglify-js
- webpack-cli
dev: false
- resolution: {integrity: sha512-sL6IKOR/12btiHZS1yiCwlyFMbbkTUGSXSMSmDgumQRSDU63OaAvTLO7lWi2zDwFPXtFtfruAULcXc8XO4RjUA==}
+ /@docusaurus/utils/2.0.0-beta.3:
+ resolution: {integrity: sha512-DApc6xcb3CvvsBCfRU6Zk3KoZa4mZfCJA4XRv5zhlhaSb0GFuAo7KQ353RUu6d0eYYylY3GGRABXkxRE1SEClA==}
engines: {node: '>=12.13.0'}
- peerDependencies:
- react: '*'
- react-dom: '*'
dependencies:
- '@docusaurus/types': 2.0.0-beta.7
- '@mdx-js/runtime': [email protected]
+ '@docusaurus/types': 2.0.0-beta.3
'@types/github-slugger': 1.3.0
chalk: 4.1.2
escape-string-regexp: 4.0.0
fs-extra: 10.0.0
- globby: 11.0.4
gray-matter: 4.0.3
lodash: 4.17.21
- micromatch: 4.0.4
- react: 17.0.2
- react-dom: [email protected]
- remark-mdx-remove-exports: 1.6.22
- remark-mdx-remove-imports: 1.6.22
resolve-pathname: 3.0.0
tslib: 2.3.1
transitivePeerDependencies:
- '@swc/core'
- esbuild
- - supports-color
- uglify-js
- webpack-cli
dev: false
@@ -6006,20 +5996,6 @@ packages:
react: 17.0.2
dev: false
- /@mdx-js/runtime/[email protected]:
- resolution: {integrity: sha512-p17spaO2+55VLCuxXA3LVHC4phRx60NR2XMdZ+qgVU1lKvEX4y88dmFNOzGDCPLJ03IZyKrJ/rPWWRiBrd9JrQ==}
- engines: {node: '>=8'}
- peerDependencies:
- react: ^16.13.1
- dependencies:
- '@mdx-js/mdx': 1.6.22
- '@mdx-js/react': [email protected]
- buble-jsx-only: 0.19.8
- react: 17.0.2
- transitivePeerDependencies:
- - supports-color
- dev: false
-
/@mdx-js/util/1.6.22:
resolution: {integrity: sha512-H1rQc1ZOHANWBvPcW+JpGwr+juXSxM8Q8YCkm3GhZd8REu1fHR3z99CErO1p9pkcfcxZnMdIZdIsXkOHY0NilA==}
dev: false
@@ -7728,14 +7704,6 @@ packages:
negotiator: 0.6.2
dev: false
- /acorn-dynamic-import/[email protected]:
- resolution: {integrity: sha512-d3OEjQV4ROpoflsnUA8HozoIR504TFxNivYEUi6uwz0IYhBkTDXGuWlNdMtybRt3nqVx/L6XqMt0FxkXuWKZhw==}
- peerDependencies:
- acorn: ^6.0.0
- dependencies:
- acorn: 6.4.2
- dev: false
-
/acorn-globals/6.0.0:
resolution: {integrity: sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg==}
dependencies:
@@ -7749,14 +7717,6 @@ packages:
dependencies:
acorn: 8.5.0
- /acorn-jsx/[email protected]:
- resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}
- peerDependencies:
- acorn: ^6.0.0 || ^7.0.0 || ^8.0.0
- dependencies:
- acorn: 6.4.2
- dev: false
-
/acorn-jsx/[email protected]:
resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}
peerDependencies:
@@ -8924,19 +8884,6 @@ packages:
dependencies:
node-int64: 0.4.0
- /buble-jsx-only/0.19.8:
- resolution: {integrity: sha512-7AW19pf7PrKFnGTEDzs6u9+JZqQwM1VnLS19OlqYDhXomtFFknnoQJAPHeg84RMFWAvOhYrG7harizJNwUKJsA==}
- hasBin: true
- dependencies:
- acorn: 6.4.2
- acorn-dynamic-import: [email protected]
- acorn-jsx: [email protected]
- chalk: 2.4.2
- magic-string: 0.25.7
- minimist: 1.2.5
- regexpu-core: 4.8.0
- dev: false
-
/buffer-crc32/0.2.13:
resolution: {integrity: sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=}
dev: false
@@ -9592,11 +9539,6 @@ packages:
engines: {node: '>= 10'}
dev: false
- /commander/8.2.0:
- resolution: {integrity: sha512-LLKxDvHeL91/8MIyTAD5BFMNtoIwztGPMiM/7Bl8rIPmHCZXRxmSWr91h57dpOpnQ6jIUqEWdXE/uBYMfiVZDA==}
- engines: {node: '>= 12'}
- dev: false
-
/common-tags/1.8.0:
resolution: {integrity: sha512-6P6g0uetGpW/sdyUy/iQQCbFF0kWVMSIVSyYz7Zgjcgh8mgw8PQzDNZeyZ5DQ2gM7LBoZPHmnjz8rUthkBG5tw==}
engines: {node: '>=4.0.0'}
@@ -12951,20 +12893,6 @@ packages:
terser: 4.8.0
dev: false
- /html-minifier-terser/6.0.2:
- resolution: {integrity: sha512-AgYO3UGhMYQx2S/FBJT3EM0ZYcKmH6m9XL9c1v77BeK/tYJxGPxT1/AtsdUi4FcP8kZGmqqnItCcjFPcX9hk6A==}
- engines: {node: '>=12'}
- hasBin: true
- dependencies:
- camel-case: 4.1.2
- clean-css: 5.2.1
- commander: 8.2.0
- he: 1.2.0
- param-case: 3.0.4
- relateurl: 0.2.7
- terser: 5.9.0
- dev: false
-
/html-tags/3.1.0:
resolution: {integrity: sha512-1qYz89hW3lFDEazhjW0yVAV87lw8lVkrJocr72XmBkMKsoSVJCQx3W8BXsC7hO2qAt8BoVjYjtAcZ9perqGnNg==}
engines: {node: '>=8'}
@@ -13277,8 +13205,8 @@ packages:
resolution: {integrity: sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==}
dev: false
- /infima/0.2.0-alpha.34:
- resolution: {integrity: sha512-Na6A2Tl56i1p9dzu7VOAT1Kmu3f5buz63Wvd+D9ZZWL6siQ47L7wkEZUICVKFgc5gERFZVZ/PoPB57Kl++h37Q==}
+ /infima/0.2.0-alpha.26:
+ resolution: {integrity: sha512-0/Dt+89mf8xW+9/hKGmynK+WOAsiy0QydVJL0qie6WK57yGIQv+SjJrhMybKndnmkZBQ+Vlt0tWPnTakx8X2Qw==}
engines: {node: '>=12'}
dev: false
@@ -17576,9 +17504,9 @@ packages:
schema-utils: 1.0.0
dev: false
- resolution: {integrity: sha512-H9hv447QjQJVDbHj3OUdciyAXY3v5+UDduzEytAlZCVHCpNAAg/mCSwhYYqZr9BiGYhmYspU8QXxZwiHTLn3yA==}
- engines: {node: '>= 12.13.0'}
+ resolution: {integrity: sha512-/+Z1RAmssdiSLgIZwnJHwBMnlABPgF7giYzTN2NOfr9D21IJZ4mQC1R2miwp80zno9M4zMD/umGI8cR+2EL5zw==}
+ engines: {node: '>= 10.13.0'}
peerDependencies:
postcss: ^7.0.0 || ^8.0.1
webpack: ^5.0.0
@@ -18214,8 +18142,8 @@ packages:
util-deprecate: 1.0.2
dev: false
- /postcss-sort-media-queries/[email protected]:
- resolution: {integrity: sha512-pPiw94cMOqGFSlp4QGzOKrhYr8O3VyMNQnb7qlGM25H4EDEii3iKtIUMoFe5gKiCEAt/Iyk2ah47eoRhGqSBGA==}
+ /postcss-sort-media-queries/[email protected]:
+ resolution: {integrity: sha512-bFbR1+P6HhZWXcT5DVV2pBH5Y2U5daKbFd0j+kcwKdzrxkbmgFu0GhI2JfFUyy5KQIeW+YJGP+vwNDOS5hIn2g==}
engines: {node: '>=10.0.0'}
peerDependencies:
postcss: ^8.3.6
@@ -19377,18 +19305,6 @@ packages:
unist-util-visit: 1.4.1
dev: false
- /remark-mdx-remove-exports/1.6.22:
- resolution: {integrity: sha512-7g2uiTmTGfz5QyVb+toeX25frbk1Y6yd03RXGPtqx0+DVh86Gb7MkNYbk7H2X27zdZ3CQv1W/JqlFO0Oo8IxVA==}
- dependencies:
- unist-util-remove: 2.0.0
- dev: false
-
- /remark-mdx-remove-imports/1.6.22:
- resolution: {integrity: sha512-lmjAXD8Ltw0TsvBzb45S+Dxx7LTJAtDaMneMAv8LAUIPEyYoKkmGbmVsiF0/pY6mhM1Q16swCmu1TN+ie/vn/A==}
- dependencies:
- unist-util-remove: 2.0.0
- dev: false
-
/remark-mdx/1.6.22:
resolution: {integrity: sha512-phMHBJgeV76uyFkH4rvzCftLfKCr2RZuF+/gmVcaKrpsihyzmhXjA0BEMDaPTXG5y8qZOKPVo83NAOX01LPnOQ==}
dependencies:
@@ -19791,12 +19707,6 @@ packages:
tslib: 1.14.1
dev: false
- /rxjs/7.4.0:
- resolution: {integrity: sha512-7SQDi7xeTMCJpqViXh8gL/lebcwlp3d831F05+9B44A4B0WfsEwUQHR64gsH1kvJ+Ep/J9K2+n1hVl1CsGN23w==}
- dependencies:
- tslib: 2.1.0
- dev: false
-
/safe-buffer/5.1.2:
resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==}
@@ -21802,12 +21712,6 @@ packages:
unist-util-is: 3.0.0
dev: false
- /unist-util-remove/2.0.0:
- resolution: {integrity: sha512-HwwWyNHKkeg/eXRnE11IpzY8JT55JNM1YCwwU9YNCnfzk6s8GhPXrVBBZWiwLeATJbI7euvoGSzcy9M29UeW3g==}
- dependencies:
- unist-util-is: 4.1.0
- dev: false
-
/unist-util-remove/2.1.0:
resolution: {integrity: sha512-J8NYPyBm4baYLdCbjmf1bhPu45Cr1MWTm77qd9istEkzWpnN6O9tMsEbB2JhNnBCqGENRqEWomQ+He6au0B27Q==}
dependencies:
@@ -22233,16 +22137,16 @@ packages:
dependencies:
xml-name-validator: 3.0.0
- /wait-on/6.0.0:
- resolution: {integrity: sha512-tnUJr9p5r+bEYXPUdRseolmz5XqJTTj98JgOsfBn7Oz2dxfE2g3zw1jE+Mo8lopM3j3et/Mq1yW7kKX6qw7RVw==}
- engines: {node: '>=10.0.0'}
+ /wait-on/5.3.0:
+ resolution: {integrity: sha512-DwrHrnTK+/0QFaB9a8Ol5Lna3k7WvUR4jzSKmz0YaPBpuN2sACyiPVKVfj6ejnjcajAcvn3wlbTyMIn9AZouOg==}
+ engines: {node: '>=8.9.0'}
hasBin: true
dependencies:
axios: 0.21.4
joi: 17.4.2
lodash: 4.17.21
minimist: 1.2.5
- rxjs: 7.4.0
+ rxjs: 6.6.7
transitivePeerDependencies:
- debug
dev: false