Skip to content

🎥 Make videos programmatically with React

Merge branch 'main' into pr/4486

Jonny Burger69b88d44f2e8
diff --cc packages/core/package.json
index e52eb032b1,cf1433acd0..15d6a465f5
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@@ -25,10 -25,9 +25,10 @@@
"react-dom": ">=16.8.0"
},
"devDependencies": {
- "@testing-library/react": "14.0.0",
"@happy-dom/global-registrator": "14.5.1",
+ "@testing-library/react": "14.0.0",
+ "@types/dom-webcodecs": "0.1.11",
- "happy-dom": "14.5.1",
+ "happy-dom": "15.10.2",
"jsdom": "21.1.0",
"react": "18.3.1",
"react-dom": "18.3.1",
diff --cc packages/example/src/Root.tsx
index f2df41fd78,7568d0c59f..45b59fd1ce
--- a/packages/example/src/Root.tsx
+++ b/packages/example/src/Root.tsx
@@@ -106,13 -114,6 +114,10 @@@ if (alias !== 'alias')
const INCLUDE_COMP_BREAKING_GET_COMPOSITIONS = false;
+import {AvifAnimatedImage} from './AnimatedImage/Avif';
+import {GifAnimatedImage} from './AnimatedImage/Gif';
+import {WebpAnimatedImage} from './AnimatedImage/Webp';
- // @ts-expect-error no types
- import styles from './styles.module.scss';
- import {VideoParser} from './VideoParser';
+
class Vector2 {
readonly x: number;
readonly y: number;
diff --cc pnpm-lock.yaml
index 83d436353c,4e5756f9a5..1396da0ec0
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@@ -349,12 -467,12 +467,15 @@@ importers
'@testing-library/react':
specifier: 14.0.0
+ '@types/dom-webcodecs':
+ specifier: 0.1.11
+ version: 0.1.11
+ eslint:
+ specifier: 9.14.0
+ version: 9.14.0
happy-dom:
- specifier: 14.5.1
- version: 14.5.1
+ specifier: 15.10.2
+ version: 15.10.2
jsdom:
specifier: 21.1.0
version: 21.1.0