From 516b7215a8c519a3dfdbbe9c8c6012208d8e78ae Mon Sep 17 00:00:00 2001 From: Jonny Burger Date: Mon, 22 Apr 2024 11:51:15 +0200 Subject: [PATCH 01/12] Update license for 5.0 --- LICENSE.md | 42 ++++++++++++++++++++++++++---------------- 1 file changed, 26 insertions(+), 16 deletions(-) diff --git a/LICENSE.md b/LICENSE.md index 694f99f3f9a..9f354296cf0 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,45 +1,55 @@ # Remotion License -Depending on the type of your legal entity, you are granted permission to use Remotion for your project. Individuals and small companies are allowed to use Remotion to create videos for free (even commercial), while a company license is required for for-profit organizations of a certain size. This two-tier system was designed to ensure funding for this project while still allowing the source code to be available and the program to be free for most. Read below for the exact terms of use. +Depending on the type of your legal entity, you are granted permission to use the Remotion Software ("Remotion" or "Software") for your project. Individuals and small companies are allowed to use the Software to create media assets (e.g., videos and images) for free (even commercially), while a Company License is required for for-profit organizations and groups of individuals of a certain size. This two-tier system was designed to ensure funding for this Software while still allowing the source code to be available and the program to be free for most. Read below for the exact license description. -- [Free license](#free-license) -- [Company license](#company-license) - -## Free license +- [Free License](#free-license) +- [Company License](#company-license) Copyright © 2024 [Remotion](https://www.remotion.dev) +## Free License + ### Eligibility You are eligible to use Remotion for free if you are: -- an individual -- a for-profit organization with up to 3 employees +- an individual using the Software for personal use +- an organization or team of individuals with up to 3 people - a non-profit or not-for-profit organization -- evaluating whether Remotion is a good fit, and are not yet using it in a commercial way +- evaluating whether Remotion is a good fit, and you are not yet using it in a commercial way ### Allowed use cases -Permission is hereby granted, free of charge, to any person eligible for the "Free license", to use the software non-commercially or commercially for the purpose of creating videos and images and to modify the software to their own liking, for the purpose of fulfilling their custom use case or to contribute bug fixes or improvements back to Remotion. +Permission is hereby granted, free of charge, to any person eligible for the "Free License", to use Remotion non-commercially or commercially for the purpose of creating media assets (e.g. videos and images) and to modify the Software to their own liking, for the purpose of fulfilling their custom use case or to contribute bug fixes or improvements back to Remotion. ### Disallowed use cases -It is not allowed to copy or modify Remotion code for the purpose of selling, renting, licensing, relicensing, or sublicensing your own derivate of Remotion. +It is not allowed to copy or modify Remotion source-code for the purpose of selling, renting, licensing, relicensing, or sublicensing your own derivate of Remotion. ### Warranty notice -The software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and non-infringement. In no event shall the author or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software. +The Software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of + +- merchantability, +- fitness for a particular purpose, and +- non-infringement. + +In no event shall the author or copyright holders be liable for any claims, damages or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection and use of Remotion. ### Support -Support is provided on a best-we-can-do basis via GitHub Issues and Discord. +Support is provided on a best-we-can-do basis via [GitHub Issues](https://github.com/remotion-dev/remotion/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc) and [Discord](https://www.remotion.dev/discord). + +## Company License + +You are required to obtain a Company License to use Remotion if you are not within the group of entities eligible for a Free License. The Company License will enable you to use the Remotion Software for the allowed use cases specified in the Free License, and give you access to prioritized support ([Support Policy](https://www.remotion.dev/docs/support)). -## Company license +Visit [remotion.pro](https://www.remotion.pro/license) for pricing and to buy a Company License. -You are required to obtain a company license to use Remotion if you are not within the group of entities eligible for a free license. This license will enable you to use Remotion for the allowed use cases specified in the free license, and give you access to prioritized support (read the [Support Policy](https://www.remotion.dev/docs/support)). +### Terms and Conditions -Visit [remotion.pro](https://www.remotion.pro/license) for pricing and to buy a license. +Company License Users are required to accept the legally binding [Terms and Conditions](https://www.remotion.pro/terms) to use the Remotion Software. ### FAQs -Are you not sure whether you need a company license because of an edge case? Here are some [frequently asked questions](https://www.remotion.pro/faq). +Are you not sure whether you need a Company License because of an edge case? Here are [frequently asked questions](https://www.remotion.pro/faq). From 62fc53cf7cdf09212786885a4286bf7cfe6f5466 Mon Sep 17 00:00:00 2001 From: Jonny Burger Date: Sat, 27 Apr 2024 11:31:19 +0200 Subject: [PATCH 02/12] Update v5-flag.ts --- packages/core/src/v5-flag.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/v5-flag.ts b/packages/core/src/v5-flag.ts index 5ad20a2cdfd..c187052bb3b 100644 --- a/packages/core/src/v5-flag.ts +++ b/packages/core/src/v5-flag.ts @@ -1 +1 @@ -export const ENABLE_V5_BREAKING_CHANGES = false as const; +export const ENABLE_V5_BREAKING_CHANGES = true as const; From f3b59e8919f86c0af090cd1de5eb1f8d34ee81f0 Mon Sep 17 00:00:00 2001 From: Jonny Burger Date: Sat, 27 Apr 2024 11:32:37 +0200 Subject: [PATCH 03/12] validatefontIsLoaded --- packages/layout-utils/src/layouts/fill-text-box.ts | 2 +- packages/layout-utils/src/layouts/fit-text.ts | 2 +- packages/layout-utils/src/layouts/measure-text.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/layout-utils/src/layouts/fill-text-box.ts b/packages/layout-utils/src/layouts/fill-text-box.ts index 1623f19fe8d..9ce74dfc12e 100644 --- a/packages/layout-utils/src/layouts/fill-text-box.ts +++ b/packages/layout-utils/src/layouts/fill-text-box.ts @@ -17,7 +17,7 @@ export const fillTextBox = ({ fontSize, letterSpacing, fontVariantNumeric, - validateFontIsLoaded, + validateFontIsLoaded = true, textTransform, additionalStyles, }: Word): { diff --git a/packages/layout-utils/src/layouts/fit-text.ts b/packages/layout-utils/src/layouts/fit-text.ts index 06c0e9c1dae..e28c269ef08 100644 --- a/packages/layout-utils/src/layouts/fit-text.ts +++ b/packages/layout-utils/src/layouts/fit-text.ts @@ -27,7 +27,7 @@ export const fitText = ({ fontVariantNumeric, fontWeight, letterSpacing, - validateFontIsLoaded, + validateFontIsLoaded = true, additionalStyles, textTransform, }: { diff --git a/packages/layout-utils/src/layouts/measure-text.ts b/packages/layout-utils/src/layouts/measure-text.ts index 05f1445e1f9..912aea53251 100644 --- a/packages/layout-utils/src/layouts/measure-text.ts +++ b/packages/layout-utils/src/layouts/measure-text.ts @@ -125,7 +125,7 @@ export const measureText = ({ fontWeight, letterSpacing, fontVariantNumeric, - validateFontIsLoaded, + validateFontIsLoaded = true, additionalStyles, }: Word): Dimensions => { const key = `${text}-${fontFamily}-${fontWeight}-${fontSize}-${letterSpacing}`; From cbc62a0faeacc2a6be2716c6d9d1c6dc8fcc7667 Mon Sep 17 00:00:00 2001 From: Jonny Burger Date: Sat, 27 Apr 2024 11:36:19 +0200 Subject: [PATCH 04/12] Update get-instruction-index-at-length.ts --- packages/paths/src/get-instruction-index-at-length.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/paths/src/get-instruction-index-at-length.ts b/packages/paths/src/get-instruction-index-at-length.ts index c66ebcee9e1..1e6de541cd4 100644 --- a/packages/paths/src/get-instruction-index-at-length.ts +++ b/packages/paths/src/get-instruction-index-at-length.ts @@ -15,7 +15,9 @@ export const getInstructionIndexAtLengthFromConstructed = ( } if (fractionLength > constructed.totalLength) { - fractionLength = constructed.totalLength; + throw new Error( + `Length greater than total length was passed. Length: ${fractionLength}, total length: ${constructed.totalLength}`, + ); } let index = constructed.partialLengths.length - 1; From 4e849133cffa5ef02a45b46be4e19d79ec08999c Mon Sep 17 00:00:00 2001 From: Jonny Burger Date: Sat, 27 Apr 2024 11:54:50 +0200 Subject: [PATCH 05/12] update node versions --- .github/workflows/push.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 1c6b06b3750..2a1d718139f 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@main - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 - uses: oven-sh/setup-bun@v1 with: bun-version: 1.1.4 @@ -65,7 +65,7 @@ jobs: - uses: actions/checkout@main - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 - uses: oven-sh/setup-bun@v1 with: bun-version: 1.1.4 @@ -123,7 +123,7 @@ jobs: - uses: actions/checkout@main - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 - uses: oven-sh/setup-bun@v1 with: bun-version: 1.1.4 @@ -155,15 +155,15 @@ jobs: matrix: include: - os: ubuntu-latest - node_version: 16 + node_version: 18 - os: windows-latest - node_version: 16 + node_version: 18 - os: macos-latest - node_version: 16 + node_version: 18 - os: macos-14 - node_version: 16 + node_version: 18 - os: ubuntu-latest - node_version: 20.5 + node_version: 22 steps: - uses: actions/checkout@main - uses: actions/setup-go@v5 From ce9d42b15c9f3888739fff6a9ab9045c52e5d348 Mon Sep 17 00:00:00 2001 From: Jonny Burger Date: Tue, 7 May 2024 15:54:53 +0200 Subject: [PATCH 06/12] alright --- packages/core/package.json | 2 +- packages/core/src/test/series.test.tsx | 34 ++++-- packages/player/package.json | 2 +- packages/renderer/package.json | 2 +- packages/shapes/package.json | 2 +- pnpm-lock.yaml | 144 +++++++++---------------- 6 files changed, 77 insertions(+), 109 deletions(-) diff --git a/packages/core/package.json b/packages/core/package.json index ffbe46ae350..bc4e3b61c9a 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -26,7 +26,7 @@ }, "devDependencies": { "@jonny/eslint-config": "3.0.281", - "@testing-library/react": "14.0.0", + "@testing-library/react": "15.0.7", "@happy-dom/global-registrator": "14.5.1", "happy-dom": "14.5.1", "@types/node": "18.14.6", diff --git a/packages/core/src/test/series.test.tsx b/packages/core/src/test/series.test.tsx index e417119656e..e60f079f8f2 100644 --- a/packages/core/src/test/series.test.tsx +++ b/packages/core/src/test/series.test.tsx @@ -76,7 +76,7 @@ test('Basic series test', () => { , ); expect(outerHTML).toBe( - '
third 0
', + '
third 0
', ); }); @@ -106,7 +106,7 @@ test('Should support fragments', () => { ); expect(outerHtml).not.toBe( - '
second 1
', + '
second 1
', ); }); test('Should not allow foreign elements', () => { @@ -133,7 +133,7 @@ test('Should allow layout prop', () => { , ); expect(outerHTML).toBe( - '
first 0
', + '
first 0
', ); const outerHTML2 = renderForFrame( @@ -146,7 +146,9 @@ test('Should allow layout prop', () => { , ); - expect(outerHTML2).toBe('
first 0
'); + expect(outerHTML2).toBe( + '
first 0
', + ); }); test('Should render nothing after the end', () => { const outerHTML = renderForFrame( @@ -159,7 +161,9 @@ test('Should render nothing after the end', () => { , ); - expect(outerHTML).toBe(''); + expect(outerHTML).toBe( + '
', + ); }); test('Should throw if invalid or no duration provided', () => { expect(() => { @@ -205,7 +209,7 @@ test('Should allow whitespace', () => { ); expect(outerHtml).toBe( - '
second 1
', + '
second 1
', ); }); test('Handle empty Series.Sequence', () => { @@ -238,7 +242,9 @@ test('Should allow negative overlap prop', () => { , ); - expect(outerHTML).toBe('
first 4
second 0
'); + expect(outerHTML).toBe( + '
first 4
second 0
', + ); }); test('Should allow positive overlap prop', () => { @@ -255,7 +261,9 @@ test('Should allow positive overlap prop', () => { , ); - expect(outerHTML).toBe(''); + expect(outerHTML).toBe( + '
', + ); }); test('Should disallow NaN as offset prop', () => { @@ -320,7 +328,9 @@ test('Should cascade negative offset props', () => { , ); - expect(outerHTML).toBe('
third 0
'); + expect(outerHTML).toBe( + '
third 0
', + ); }); test('Should cascade positive offset props', () => { @@ -340,7 +350,9 @@ test('Should cascade positive offset props', () => { , ); - expect(outerHTML).toBe('
third 0
'); + expect(outerHTML).toBe( + '
third 0
', + ); }); test('Allow durationInFrames as Infinity for last Series.Sequence', () => { @@ -361,7 +373,7 @@ test('Allow durationInFrames as Infinity for last Series.Sequence', () => { , ); expect(outerHTML).toBe( - '
third 0
', + '
third 0
', ); }); diff --git a/packages/player/package.json b/packages/player/package.json index 6bc6fb68207..9f4cff85188 100644 --- a/packages/player/package.json +++ b/packages/player/package.json @@ -43,7 +43,7 @@ }, "devDependencies": { "@jonny/eslint-config": "3.0.281", - "@testing-library/react": "13.1.1", + "@testing-library/react": "15.0.7", "@happy-dom/global-registrator": "14.5.1", "@types/node": "18.14.6", "@types/react": "18.3.1", diff --git a/packages/renderer/package.json b/packages/renderer/package.json index d0faf2ab39a..c98bfd89463 100644 --- a/packages/renderer/package.json +++ b/packages/renderer/package.json @@ -35,7 +35,7 @@ "devDependencies": { "@jonny/eslint-config": "3.0.281", "@testing-library/dom": "^8.16.0", - "@testing-library/react": "13.3.0", + "@testing-library/react": "15.0.7", "@types/node": "18.14.6", "@types/progress": "2.0.5", "@types/bun": "1.0.12", diff --git a/packages/shapes/package.json b/packages/shapes/package.json index 0dc6a25783c..9bbac041430 100644 --- a/packages/shapes/package.json +++ b/packages/shapes/package.json @@ -20,7 +20,7 @@ "devDependencies": { "@types/react-dom": "18.3.0", "@jonny/eslint-config": "3.0.281", - "@testing-library/react": "^13.4.0", + "@testing-library/react": "15.0.7", "@types/node": "18.14.6", "@types/react": "18.3.1", "eslint": "8.56.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 74022edba08..ce5a839d636 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -467,8 +467,8 @@ importers: specifier: 3.0.281 version: 3.0.281(eslint@8.56.0)(typescript@5.3.3) '@testing-library/react': - specifier: 14.0.0 - version: 14.0.0(react-dom@18.3.1)(react@18.3.1) + specifier: 15.0.7 + version: 15.0.7(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) '@types/node': specifier: 18.14.6 version: 18.14.6 @@ -1535,8 +1535,8 @@ importers: specifier: 3.0.281 version: 3.0.281(eslint@8.56.0)(typescript@5.3.3) '@testing-library/react': - specifier: 13.1.1 - version: 13.1.1(react-dom@18.3.1)(react@18.3.1) + specifier: 15.0.7 + version: 15.0.7(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) '@types/node': specifier: 18.14.6 version: 18.14.6 @@ -1691,8 +1691,8 @@ importers: specifier: ^8.16.0 version: 8.16.0 '@testing-library/react': - specifier: 13.3.0 - version: 13.3.0(react-dom@18.3.1)(react@18.3.1) + specifier: 15.0.7 + version: 15.0.7(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) '@types/bun': specifier: 1.0.12 version: 1.0.12 @@ -1780,8 +1780,8 @@ importers: specifier: 3.0.281 version: 3.0.281(eslint@8.56.0)(typescript@5.3.3) '@testing-library/react': - specifier: ^13.4.0 - version: 13.4.0(react-dom@18.3.1)(react@18.3.1) + specifier: 15.0.7 + version: 15.0.7(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1) '@types/node': specifier: 18.14.6 version: 18.14.6 @@ -3545,7 +3545,7 @@ packages: /@babel/code-frame@7.10.4: resolution: {integrity: sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==} dependencies: - '@babel/highlight': 7.18.6 + '@babel/highlight': 7.24.2 dev: false /@babel/code-frame@7.16.0: @@ -3559,7 +3559,7 @@ packages: resolution: {integrity: sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==} engines: {node: '>=6.9.0'} dependencies: - '@babel/highlight': 7.18.6 + '@babel/highlight': 7.24.2 /@babel/code-frame@7.24.2: resolution: {integrity: sha512-y5+tLQyV8pg3fsiln67BVLD1P13Eg4lh5RW9mF0zUuvLrv9uIQ4MCL+CRT+FTsBlBjcIan6PGsLcBN0m3ClUyQ==} @@ -3567,7 +3567,6 @@ packages: dependencies: '@babel/highlight': 7.24.2 picocolors: 1.0.0 - dev: true /@babel/compat-data@7.15.0: resolution: {integrity: sha512-0NqAC1IJE0S0+lL1SWFMxMkz1pKCNCjI4tr2Zx4LJSXxCLAdr6KyArnY+sno5m3yH9g737ygOyPABDsnXkpxiA==} @@ -3588,7 +3587,7 @@ packages: resolution: {integrity: sha512-gTXYh3M5wb7FRXQy+FErKFAv90BnlOuNn1QkCK2lREoPAjrQCO49+HVSrFoe5uakFAF5eenS75KbO2vQiLrTMQ==} engines: {node: '>=6.9.0'} dependencies: - '@babel/code-frame': 7.18.6 + '@babel/code-frame': 7.24.2 '@babel/generator': 7.19.0 '@babel/helper-module-transforms': 7.19.0 '@babel/helpers': 7.18.6 @@ -4287,14 +4286,6 @@ packages: js-tokens: 4.0.0 dev: false - /@babel/highlight@7.18.6: - resolution: {integrity: sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-validator-identifier': 7.22.20 - chalk: 2.4.2 - js-tokens: 4.0.0 - /@babel/highlight@7.24.2: resolution: {integrity: sha512-Yac1ao4flkTxTteCDZLEvdxg2fZfz1v8M4QpaGypq/WPDqg3ijHYbDfs+LG5hvzSoqaSZ9/Z9lKSP3CjZjv+pA==} engines: {node: '>=6.9.0'} @@ -4303,7 +4294,6 @@ packages: chalk: 2.4.2 js-tokens: 4.0.0 picocolors: 1.0.0 - dev: true /@babel/parser@7.15.7: resolution: {integrity: sha512-rycZXvQ+xS9QyIcJ9HXeDWf1uxqlbVFAUq0Rq0dbc50Zb/+wUe/ehyfzGfm9KZZF0kBejYgxltBXocP+gKdL2g==} @@ -6321,13 +6311,6 @@ packages: regenerator-runtime: 0.13.9 dev: false - /@babel/runtime@7.17.9: - resolution: {integrity: sha512-lSiBBvodq29uShpWGNbgFdKYNiFDo5/HIYsaCEY9ff4sb10x9jizo2+pRrSyF4jKZCXqgzuqBOQKbUm90gQwJg==} - engines: {node: '>=6.9.0'} - dependencies: - regenerator-runtime: 0.13.9 - dev: true - /@babel/runtime@7.19.0: resolution: {integrity: sha512-eR8Lo9hnDS7tqkO7NsV+mKvCmv5boaXFSZ70DnfhcgiEne8hv9oCEd36Klw74EtizEqLsy4YnW8UWwpBVolHZA==} engines: {node: '>=6.9.0'} @@ -6347,7 +6330,7 @@ packages: resolution: {integrity: sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/code-frame': 7.18.6 + '@babel/code-frame': 7.24.2 '@babel/parser': 7.24.1 '@babel/types': 7.24.0 dev: false @@ -6382,7 +6365,7 @@ packages: resolution: {integrity: sha512-0j/ZfZMxKukDaag2PtOPDbwuELqIar6lLskVPPJDjXMXjfLb1Obo/1yjxIGqqAJrmfaTIY3z2wFLAQ7qSkLsuA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/code-frame': 7.18.6 + '@babel/code-frame': 7.24.2 '@babel/generator': 7.19.0 '@babel/helper-environment-visitor': 7.18.9 '@babel/helper-function-name': 7.19.0 @@ -9426,85 +9409,48 @@ packages: dependencies: defer-to-connect: 2.0.1 - /@testing-library/dom@8.16.0: - resolution: {integrity: sha512-uxF4zmnLHHDlmW4l+0WDjcgLVwCvH+OVLpD8Dfp+Bjfz85prwxWGbwXgJdLtkgjD0qfOzkJF9SmA6YZPsMYX4w==} - engines: {node: '>=12'} + /@testing-library/dom@10.1.0: + resolution: {integrity: sha512-wdsYKy5zupPyLCW2Je5DLHSxSfbIp6h80WoHOQc+RPtmPGA52O9x5MJEkv92Sjonpq+poOAtUKhh1kBGAXBrNA==} + engines: {node: '>=18'} dependencies: - '@babel/code-frame': 7.18.6 + '@babel/code-frame': 7.24.2 '@babel/runtime': 7.19.0 - '@types/aria-query': 4.2.2 - aria-query: 5.0.0 + '@types/aria-query': 5.0.1 + aria-query: 5.3.0 chalk: 4.1.2 dom-accessibility-api: 0.5.14 - lz-string: 1.4.4 - pretty-format: 27.2.4 + lz-string: 1.5.0 + pretty-format: 27.5.1 dev: true - /@testing-library/dom@9.0.0: - resolution: {integrity: sha512-+/TLgKNFsYUshOY/zXsQOk+PlFQK+eyJ9T13IDVNJEi+M+Un7xlJK+FZKkbGSnf0+7E1G6PlDhkSYQ/GFiruBQ==} - engines: {node: '>=14'} + /@testing-library/dom@8.16.0: + resolution: {integrity: sha512-uxF4zmnLHHDlmW4l+0WDjcgLVwCvH+OVLpD8Dfp+Bjfz85prwxWGbwXgJdLtkgjD0qfOzkJF9SmA6YZPsMYX4w==} + engines: {node: '>=12'} dependencies: '@babel/code-frame': 7.18.6 '@babel/runtime': 7.19.0 - '@types/aria-query': 5.0.1 + '@types/aria-query': 4.2.2 aria-query: 5.0.0 chalk: 4.1.2 dom-accessibility-api: 0.5.14 lz-string: 1.4.4 - pretty-format: 27.5.1 - dev: true - - /@testing-library/react@13.1.1(react-dom@18.3.1)(react@18.3.1): - resolution: {integrity: sha512-8mirlAa0OKaUvnqnZF6MdAh2tReYA2KtWVw1PKvaF5EcCZqgK5pl8iF+3uW90JdG5Ua2c2c2E2wtLdaug3dsVg==} - engines: {node: '>=12'} - peerDependencies: - react: ^18.0.0 - react-dom: ^18.0.0 - dependencies: - '@babel/runtime': 7.17.9 - '@testing-library/dom': 8.16.0 - '@types/react-dom': 18.3.0 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - dev: true - - /@testing-library/react@13.3.0(react-dom@18.3.1)(react@18.3.1): - resolution: {integrity: sha512-DB79aA426+deFgGSjnf5grczDPiL4taK3hFaa+M5q7q20Kcve9eQottOG5kZ74KEr55v0tU2CQormSSDK87zYQ==} - engines: {node: '>=12'} - peerDependencies: - react: ^18.0.0 - react-dom: ^18.0.0 - dependencies: - '@babel/runtime': 7.17.9 - '@testing-library/dom': 8.16.0 - '@types/react-dom': 18.3.0 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - dev: true - - /@testing-library/react@13.4.0(react-dom@18.3.1)(react@18.3.1): - resolution: {integrity: sha512-sXOGON+WNTh3MLE9rve97ftaZukN3oNf2KjDy7YTx6hcTO2uuLHuCGynMDhFwGw/jYf4OJ2Qk0i4i79qMNNkyw==} - engines: {node: '>=12'} - peerDependencies: - react: ^18.0.0 - react-dom: ^18.0.0 - dependencies: - '@babel/runtime': 7.19.0 - '@testing-library/dom': 8.16.0 - '@types/react-dom': 18.3.0 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + pretty-format: 27.2.4 dev: true - /@testing-library/react@14.0.0(react-dom@18.3.1)(react@18.3.1): - resolution: {integrity: sha512-S04gSNJbYE30TlIMLTzv6QCTzt9AqIF5y6s6SzVFILNcNvbV/jU96GeiTPillGQo+Ny64M/5PV7klNYYgv5Dfg==} - engines: {node: '>=14'} + /@testing-library/react@15.0.7(@types/react@18.3.1)(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-cg0RvEdD1TIhhkm1IeYMQxrzy0MtUNfa3minv4MjbgcYzJAZ7yD0i0lwoPOTPr+INtiXFezt2o8xMSnyHhEn2Q==} + engines: {node: '>=18'} peerDependencies: + '@types/react': ^18.0.0 react: ^18.0.0 react-dom: ^18.0.0 + peerDependenciesMeta: + '@types/react': + optional: true dependencies: '@babel/runtime': 7.19.0 - '@testing-library/dom': 9.0.0 + '@testing-library/dom': 10.1.0 + '@types/react': 18.3.1 '@types/react-dom': 18.3.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) @@ -11060,6 +11006,12 @@ packages: engines: {node: '>=6.0'} dev: true + /aria-query@5.3.0: + resolution: {integrity: sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==} + dependencies: + dequal: 2.0.3 + dev: true + /arr-diff@4.0.0: resolution: {integrity: sha512-YVIQ82gZPGBebQV/a8dar4AitzCQs0jjXwMPZllpXMaGjXPYVUawSxQrRsjhjupyVxEvbHgUmIhKVlND+j02kA==} engines: {node: '>=0.10.0'} @@ -12964,7 +12916,6 @@ packages: /dequal@2.0.3: resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==} engines: {node: '>=6'} - dev: false /destroy@1.0.4: resolution: {integrity: sha512-3NdhDuEXnfun/z7x9GOElY49LoqVHoGScmOKwmxhsS8N5Y+Z8KyPPDnaSzqWgYt/ji4mqwfTS34Htrk0zPIXVg==} @@ -14446,7 +14397,7 @@ packages: vue-template-compiler: optional: true dependencies: - '@babel/code-frame': 7.18.6 + '@babel/code-frame': 7.24.2 chalk: 2.4.2 eslint: 8.56.0 micromatch: 3.1.10 @@ -14474,7 +14425,7 @@ packages: vue-template-compiler: optional: true dependencies: - '@babel/code-frame': 7.18.6 + '@babel/code-frame': 7.24.2 '@types/json-schema': 7.0.13 chalk: 4.1.2 chokidar: 3.5.3 @@ -16676,6 +16627,11 @@ packages: resolution: {integrity: sha512-0ckx7ZHRPqb0oUm8zNr+90mtf9DQB60H1wMCjBtfi62Kl3a7JbHob6gA2bC+xRvZoOL+1hzUK8jeuEIQE8svEQ==} hasBin: true + /lz-string@1.5.0: + resolution: {integrity: sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ==} + hasBin: true + dev: true + /maath@0.9.0(@types/three@0.157.2)(three@0.158.0): resolution: {integrity: sha512-aAR8hoUqPxlsU8VOxkS9y37jhUzdUxM017NpCuxFU1Gk+nMaZASZxymZrV8LRSHzRk/watlbfyNKu6XPUhCFrQ==} peerDependencies: @@ -18175,7 +18131,7 @@ packages: resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} engines: {node: '>=8'} dependencies: - '@babel/code-frame': 7.18.6 + '@babel/code-frame': 7.24.2 error-ex: 1.3.2 json-parse-even-better-errors: 2.3.1 lines-and-columns: 1.1.6 @@ -19644,7 +19600,7 @@ packages: typescript: optional: true dependencies: - '@babel/code-frame': 7.18.6 + '@babel/code-frame': 7.24.2 address: 1.1.2 browserslist: 4.21.5 chalk: 4.1.2 From 9cfa5571fe974be1175b2b6349f7c526f604009d Mon Sep 17 00:00:00 2001 From: Jonny Burger Date: Tue, 7 May 2024 15:56:59 +0200 Subject: [PATCH 07/12] Update render-hook.tsx --- packages/core/src/test/render-hook.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/test/render-hook.tsx b/packages/core/src/test/render-hook.tsx index a8b53a8425e..80343ead799 100644 --- a/packages/core/src/test/render-hook.tsx +++ b/packages/core/src/test/render-hook.tsx @@ -15,7 +15,7 @@ interface RenderHookOptions { * * @see https://testing-library.com/docs/react-testing-library/api/#wrapper */ - wrapper?: React.JSXElementConstructor<{children: React.ReactElement}>; + wrapper?: React.JSXElementConstructor<{children: React.ReactNode}>; } export function renderHook( From 2345c8452ebd2aef31d892b9a23c7adb606ebf52 Mon Sep 17 00:00:00 2001 From: Jonny Burger Date: Tue, 30 Jul 2024 10:32:39 +0200 Subject: [PATCH 08/12] fix GIF --- packages/it-tests/src/rendering/rendering.test.ts | 3 +-- packages/renderer/src/ffmpeg-args.ts | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/it-tests/src/rendering/rendering.test.ts b/packages/it-tests/src/rendering/rendering.test.ts index d02578a1251..f1285c44848 100644 --- a/packages/it-tests/src/rendering/rendering.test.ts +++ b/packages/it-tests/src/rendering/rendering.test.ts @@ -376,7 +376,6 @@ test( }); const data = info.stderr; expect(data).toContain('Video: h264'); - expect(data).not.toContain('bt709'); expect(data).toContain('Duration: 00:00:01.64'); fs.unlinkSync(outputPath); @@ -507,7 +506,7 @@ test('Dynamic duration should work and audio separation', async () => { const expectedDuration = (randomDuration / 30).toFixed(2); expect(data).toContain(`Duration: 00:00:0${expectedDuration}`); expect(data).toContain( - `Stream #0:0[0x1](und): Video: h264 (avc1 / 0x31637661), yuv420p(tv, bt470bg/unknown/unknown, progressive)`, + `Stream #0:0[0x1](und): Video: h264 (avc1 / 0x31637661), yuv420p(tv, bt709, progressive)`, ); fs.unlinkSync(outputPath); diff --git a/packages/renderer/src/ffmpeg-args.ts b/packages/renderer/src/ffmpeg-args.ts index 2a39139c819..8b7673f6f14 100644 --- a/packages/renderer/src/ffmpeg-args.ts +++ b/packages/renderer/src/ffmpeg-args.ts @@ -78,7 +78,8 @@ export const generateFfmpegArgs = ({ throw new TypeError('encoderName is null: ' + JSON.stringify(codec)); } - const resolvedColorSpace = colorSpace ?? DEFAULT_COLOR_SPACE; + const resolvedColorSpace: ColorSpace = + codec === 'gif' ? 'bt601' : colorSpace ?? DEFAULT_COLOR_SPACE; const colorSpaceOptions: string[][] = resolvedColorSpace === 'bt709' From 481049123a5769ea3a3046eb859cccf3b74b706a Mon Sep 17 00:00:00 2001 From: Jonny Burger Date: Tue, 30 Jul 2024 10:35:18 +0200 Subject: [PATCH 09/12] Update Zod --- packages/cli/package.json | 2 +- packages/cloudrun/package.json | 2 +- packages/core/package.json | 2 +- packages/docs/package.json | 2 +- packages/example/package.json | 2 +- packages/lambda/package.json | 2 +- packages/player/package.json | 2 +- packages/studio/package.json | 2 +- packages/zod-types/package.json | 4 ++-- pnpm-lock.yaml | 40 ++++++++++++++++++--------------- 10 files changed, 32 insertions(+), 28 deletions(-) diff --git a/packages/cli/package.json b/packages/cli/package.json index 34a7192fcbc..0b983e48008 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -60,7 +60,7 @@ "@remotion/skia": "workspace:*", "react": "18.3.1", "react-dom": "18.3.1", - "zod": "3.22.3" + "zod": "3.23.8" }, "keywords": [ "remotion", diff --git a/packages/cloudrun/package.json b/packages/cloudrun/package.json index ae7f0f2ff1d..78046e9f6e0 100644 --- a/packages/cloudrun/package.json +++ b/packages/cloudrun/package.json @@ -27,7 +27,7 @@ "@remotion/renderer": "workspace:*", "google-auth-library": "^8.7.0", "remotion": "workspace:*", - "zod": "3.22.3" + "zod": "3.23.8" }, "devDependencies": { "@remotion/compositor-linux-x64-gnu": "workspace:*", diff --git a/packages/core/package.json b/packages/core/package.json index 86d1f2e075c..0a128578abd 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -33,7 +33,7 @@ "react-dom": "18.3.1", "vitest": "0.31.1", "webpack": "5.83.1", - "zod": "3.22.3" + "zod": "3.23.8" }, "keywords": [ "remotion", diff --git a/packages/docs/package.json b/packages/docs/package.json index 38df11b7963..13267d843d8 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -84,7 +84,7 @@ "three": "0.158.0", "uuid": "^8.3.2", "vitest": "0.31.1", - "zod": "3.22.3" + "zod": "3.23.8" }, "devDependencies": { "@tsconfig/docusaurus": "^1.0.5", diff --git a/packages/example/package.json b/packages/example/package.json index 52ab73411e5..4b6d6fe0d8b 100644 --- a/packages/example/package.json +++ b/packages/example/package.json @@ -82,7 +82,7 @@ "ts-unused-exports": "^7.0.1", "use-asset": "^1.0.4", "vitest": "0.31.1", - "zod": "3.22.3", + "zod": "3.23.8", "style-loader": "2.0.0", "css-loader": "5.2.7", "sass-loader": "14.2.1", diff --git a/packages/lambda/package.json b/packages/lambda/package.json index fab93a3831c..076a1100ece 100644 --- a/packages/lambda/package.json +++ b/packages/lambda/package.json @@ -36,7 +36,7 @@ "@remotion/serverless": "workspace:*", "mime-types": "2.1.34", "remotion": "workspace:*", - "zod": "3.22.3" + "zod": "3.23.8" }, "devDependencies": { "@remotion/bundler": "workspace:*", diff --git a/packages/player/package.json b/packages/player/package.json index 290e3671243..7cf3965c67c 100644 --- a/packages/player/package.json +++ b/packages/player/package.json @@ -48,7 +48,7 @@ "react": "18.3.1", "react-dom": "18.3.1", "webpack": "5.83.1", - "zod": "3.22.3" + "zod": "3.23.8" }, "keywords": [ "remotion", diff --git a/packages/studio/package.json b/packages/studio/package.json index e4385213ef2..01d379f3aa4 100644 --- a/packages/studio/package.json +++ b/packages/studio/package.json @@ -34,7 +34,7 @@ "react": "18.3.1", "react-dom": "18.3.1", "@types/semver": "^7.3.4", - "zod": "3.22.3", + "zod": "3.23.8", "@remotion/zod-types": "workspace:*" }, "publishConfig": { diff --git a/packages/zod-types/package.json b/packages/zod-types/package.json index 94bd3b4a972..92bcbf0d40f 100644 --- a/packages/zod-types/package.json +++ b/packages/zod-types/package.json @@ -24,10 +24,10 @@ "remotion": "workspace:*" }, "peerDependencies": { - "zod": "3.22.3" + "zod": "3.23.8" }, "devDependencies": { - "zod": "3.22.3" + "zod": "3.23.8" }, "keywords": [ "zod", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 186c405599e..8f54866b789 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -253,8 +253,8 @@ importers: specifier: 18.3.1 version: 18.3.1(react@18.3.1) zod: - specifier: 3.22.3 - version: 3.22.3 + specifier: 3.23.8 + version: 3.23.8 packages/cli-autocomplete: devDependencies: @@ -304,8 +304,8 @@ importers: specifier: workspace:* version: link:../core zod: - specifier: 3.22.3 - version: 3.22.3 + specifier: 3.23.8 + version: 3.23.8 devDependencies: '@remotion/compositor-linux-x64-gnu': specifier: workspace:* @@ -361,8 +361,8 @@ importers: specifier: 5.83.1 version: 5.83.1 zod: - specifier: 3.22.3 - version: 3.22.3 + specifier: 3.23.8 + version: 3.23.8 packages/create-video: dependencies: @@ -595,8 +595,8 @@ importers: specifier: 0.31.1 version: 0.31.1(happy-dom@14.5.1)(jsdom@21.1.0) zod: - specifier: 3.22.3 - version: 3.22.3 + specifier: 3.23.8 + version: 3.23.8 devDependencies: '@tsconfig/docusaurus': specifier: ^1.0.5 @@ -880,8 +880,8 @@ importers: specifier: 0.31.1 version: 0.31.1(sass@1.77.2) zod: - specifier: 3.22.3 - version: 3.22.3 + specifier: 3.23.8 + version: 3.23.8 devDependencies: prettier-plugin-organize-imports: specifier: 3.2.4 @@ -1093,8 +1093,8 @@ importers: specifier: workspace:* version: link:../core zod: - specifier: 3.22.3 - version: 3.22.3 + specifier: 3.23.8 + version: 3.23.8 devDependencies: '@remotion/compositor-linux-arm64-gnu': specifier: workspace:* @@ -1221,8 +1221,8 @@ importers: specifier: 5.83.1 version: 5.83.1 zod: - specifier: 3.22.3 - version: 3.22.3 + specifier: 3.23.8 + version: 3.23.8 packages/player-example: dependencies: @@ -1435,8 +1435,8 @@ importers: specifier: 18.3.1 version: 18.3.1(react@18.3.1) zod: - specifier: 3.22.3 - version: 3.22.3 + specifier: 3.23.8 + version: 3.23.8 packages/studio-server: dependencies: @@ -1600,8 +1600,8 @@ importers: version: link:../core devDependencies: zod: - specifier: 3.22.3 - version: 3.22.3 + specifier: 3.23.8 + version: 3.23.8 packages: @@ -24556,6 +24556,10 @@ packages: /zod@3.22.3: resolution: {integrity: sha512-EjIevzuJRiRPbVH4mGc8nApb/lVLKVpmUhAaR5R5doKGfAnGJ6Gr3CViAVjP+4FWSxCsybeWQdcgCtbX+7oZug==} + dev: false + + /zod@3.23.8: + resolution: {integrity: sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==} /zustand@3.7.2(react@18.3.1): resolution: {integrity: sha512-PIJDIZKtokhof+9+60cpockVOq05sJzHCriyvaLBmEJixseQ1a5Kdov6fWZfWOu5SK9c+FhH1jU0tntLxRJYMA==} From 99d42210134886d39a209c42dfda32b43e3df10d Mon Sep 17 00:00:00 2001 From: Jonny Burger Date: Tue, 30 Jul 2024 10:37:20 +0200 Subject: [PATCH 10/12] Update 5-0-migration.mdx --- packages/docs/docs/5-0-migration.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/docs/docs/5-0-migration.mdx b/packages/docs/docs/5-0-migration.mdx index a3e75f7917d..29dee4bac46 100644 --- a/packages/docs/docs/5-0-migration.mdx +++ b/packages/docs/docs/5-0-migration.mdx @@ -56,6 +56,12 @@ It never made sense to have this prop as transitioned elements need to be positi **Required action**: Remove the `layout` prop. +## Zod should be upgraded to 3.23.8 + +Remotion previously used the types of Zod 3.22.3. With Remotion 5.0, the types of 3.23.8 are used. + +**Required action**: If you use Zod, Upgrade Zod to 3.23.8. + ## License changes Remotion 5.0 has an updated license. View the [license](https://github.com/remotion-dev/remotion/blob/5-0-license/LICENSE.md) here or compare the [changes](https://github.com/remotion-dev/remotion/pull/3750). From bf104534c09722efc260e8dd3488e38436ff0640 Mon Sep 17 00:00:00 2001 From: Jonny Burger Date: Tue, 30 Jul 2024 10:39:31 +0200 Subject: [PATCH 11/12] measurespring --- packages/docs/docs/5-0-migration.mdx | 6 ++++++ packages/docs/docs/measure-spring.mdx | 8 ++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/packages/docs/docs/5-0-migration.mdx b/packages/docs/docs/5-0-migration.mdx index 29dee4bac46..f5e1cd589f8 100644 --- a/packages/docs/docs/5-0-migration.mdx +++ b/packages/docs/docs/5-0-migration.mdx @@ -62,6 +62,12 @@ Remotion previously used the types of Zod 3.22.3. With Remotion 5.0, the types o **Required action**: If you use Zod, Upgrade Zod to 3.23.8. +## `measureSpring()` does not accept `from` and `to` options anymore + +The values passed in there did not influence the calculation at all. Therefore we removed those options. + +**Required action**: Remove the `from` and `to` options from your code. + ## License changes Remotion 5.0 has an updated license. View the [license](https://github.com/remotion-dev/remotion/blob/5-0-license/LICENSE.md) here or compare the [changes](https://github.com/remotion-dev/remotion/pull/3750). diff --git a/packages/docs/docs/measure-spring.mdx b/packages/docs/docs/measure-spring.mdx index f2d381adff0..611ffd4e718 100644 --- a/packages/docs/docs/measure-spring.mdx +++ b/packages/docs/docs/measure-spring.mdx @@ -50,16 +50,20 @@ _optional_ The spring configuration that you pass to [spring()](/docs/spring#config). -### `from?` +### ~`from?`~ _optional - default: `0`_ +Removed in `v5.0.0`. The value has no effect on the spring duration. + The initial value of the animation. -### `to?` +### ~`to?`~ _optional - default: `1`_ +Removed in `v5.0.0`. The value has no effect on the spring duration. + The end value of the animation. Note that depending on the parameters, spring animations may overshoot the target a bit, before they bounce back to their final target. ## See also From fc36db69394758c81c46ea5107d8d52eded11dfc Mon Sep 17 00:00:00 2001 From: Jonny Burger Date: Fri, 1 Nov 2024 16:04:35 +0100 Subject: [PATCH 12/12] update zod --- packages/template-audiogram/package.json | 2 +- packages/template-code-hike/package.json | 2 +- packages/template-helloworld/package.json | 2 +- packages/template-javascript/package.json | 2 +- .../template-next-app-tailwind/package.json | 2 +- packages/template-next-app/package.json | 2 +- packages/template-next-pages/package.json | 2 +- packages/template-skia/package.json | 2 +- packages/template-stargazer/package.json | 2 +- packages/template-still/package.json | 2 +- packages/template-three/package.json | 2 +- packages/template-tiktok/package.json | 2 +- packages/template-tts-azure/package.json | 2 +- packages/template-tts-google/package.json | 2 +- pnpm-lock.yaml | 59 +++++++++---------- 15 files changed, 42 insertions(+), 45 deletions(-) diff --git a/packages/template-audiogram/package.json b/packages/template-audiogram/package.json index d9c838c4dbc..bb41940149a 100644 --- a/packages/template-audiogram/package.json +++ b/packages/template-audiogram/package.json @@ -18,7 +18,7 @@ "react": "18.3.1", "react-dom": "18.3.1", "remotion": "workspace:*", - "zod": "3.22.3" + "zod": "3.23.8" }, "devDependencies": { "@remotion/eslint-config": "workspace:*", diff --git a/packages/template-code-hike/package.json b/packages/template-code-hike/package.json index 6f77102c88b..dcf0d91a153 100644 --- a/packages/template-code-hike/package.json +++ b/packages/template-code-hike/package.json @@ -17,7 +17,7 @@ "remotion": "workspace:*", "twoslash-cdn": "0.2.9", "polished": "4.3.1", - "zod": "3.22.3" + "zod": "3.23.8" }, "devDependencies": { "@remotion/eslint-config": "workspace:*", diff --git a/packages/template-helloworld/package.json b/packages/template-helloworld/package.json index 1f7b335802c..a4b754b0fa5 100644 --- a/packages/template-helloworld/package.json +++ b/packages/template-helloworld/package.json @@ -16,7 +16,7 @@ "react": "18.3.1", "react-dom": "18.3.1", "remotion": "workspace:*", - "zod": "3.22.3" + "zod": "3.23.8" }, "devDependencies": { "@remotion/eslint-config": "workspace:*", diff --git a/packages/template-javascript/package.json b/packages/template-javascript/package.json index ac6bf934de3..03badbfc6bf 100644 --- a/packages/template-javascript/package.json +++ b/packages/template-javascript/package.json @@ -15,7 +15,7 @@ "react": "18.3.1", "react-dom": "18.3.1", "remotion": "workspace:*", - "zod": "3.22.3" + "zod": "3.23.8" }, "devDependencies": { "@remotion/eslint-config": "workspace:*", diff --git a/packages/template-next-app-tailwind/package.json b/packages/template-next-app-tailwind/package.json index b105554e891..c0a66d84e3f 100644 --- a/packages/template-next-app-tailwind/package.json +++ b/packages/template-next-app-tailwind/package.json @@ -31,7 +31,7 @@ "react-dom": "18.3.1", "remotion": "workspace:*", "tailwind-merge": "2.5.2", - "zod": "3.22.3" + "zod": "3.23.8" }, "devDependencies": { "@remotion/eslint-config": "workspace:*", diff --git a/packages/template-next-app/package.json b/packages/template-next-app/package.json index da2d3180b81..69eb8fd0d3c 100644 --- a/packages/template-next-app/package.json +++ b/packages/template-next-app/package.json @@ -23,7 +23,7 @@ "react": "18.3.1", "react-dom": "18.3.1", "remotion": "workspace:*", - "zod": "3.22.3" + "zod": "3.23.8" }, "devDependencies": { "@remotion/eslint-config": "workspace:*", diff --git a/packages/template-next-pages/package.json b/packages/template-next-pages/package.json index dfa0de3b11e..ce34cdb3a78 100644 --- a/packages/template-next-pages/package.json +++ b/packages/template-next-pages/package.json @@ -23,7 +23,7 @@ "react": "18.3.1", "react-dom": "18.3.1", "remotion": "workspace:*", - "zod": "3.22.3" + "zod": "3.23.8" }, "devDependencies": { "dotenv": "16.0.3", diff --git a/packages/template-skia/package.json b/packages/template-skia/package.json index 1dca0fbeb6e..e301ef2d87b 100644 --- a/packages/template-skia/package.json +++ b/packages/template-skia/package.json @@ -18,7 +18,7 @@ "react": "18.3.1", "react-dom": "18.3.1", "remotion": "workspace:*", - "zod": "3.22.3" + "zod": "3.23.8" }, "devDependencies": { "@remotion/eslint-config": "workspace:*", diff --git a/packages/template-stargazer/package.json b/packages/template-stargazer/package.json index d479043597b..9ca7d443039 100644 --- a/packages/template-stargazer/package.json +++ b/packages/template-stargazer/package.json @@ -14,7 +14,7 @@ "react": "18.3.1", "react-dom": "18.3.1", "remotion": "workspace:*", - "zod": "3.22.3" + "zod": "3.23.8" }, "devDependencies": { "@remotion/eslint-config": "workspace:*", diff --git a/packages/template-still/package.json b/packages/template-still/package.json index 5057cf174a1..a0f7ae5aa18 100644 --- a/packages/template-still/package.json +++ b/packages/template-still/package.json @@ -31,7 +31,7 @@ "react": "18.3.1", "react-dom": "18.3.1", "remotion": "workspace:*", - "zod": "3.22.3" + "zod": "3.23.8" }, "devDependencies": { "@remotion/eslint-config": "workspace:*", diff --git a/packages/template-three/package.json b/packages/template-three/package.json index f74c479b9da..7f702c350e4 100644 --- a/packages/template-three/package.json +++ b/packages/template-three/package.json @@ -20,7 +20,7 @@ "react-dom": "18.3.1", "remotion": "workspace:*", "three": "0.158.0", - "zod": "3.22.3" + "zod": "3.23.8" }, "devDependencies": { "@remotion/eslint-config": "workspace:*", diff --git a/packages/template-tiktok/package.json b/packages/template-tiktok/package.json index f614d6c75b0..8df573b76c2 100644 --- a/packages/template-tiktok/package.json +++ b/packages/template-tiktok/package.json @@ -20,7 +20,7 @@ "react": "18.3.1", "react-dom": "18.3.1", "remotion": "workspace:*", - "zod": "3.22.3" + "zod": "3.23.8" }, "devDependencies": { "@remotion/eslint-config": "workspace:*", diff --git a/packages/template-tts-azure/package.json b/packages/template-tts-azure/package.json index 05b56fe46f8..d33cac0ac6d 100644 --- a/packages/template-tts-azure/package.json +++ b/packages/template-tts-azure/package.json @@ -31,6 +31,6 @@ "prettier": "3.3.3", "ts-node": "10.9.1", "typescript": "5.5.4", - "zod": "3.22.3" + "zod": "3.23.8" } } diff --git a/packages/template-tts-google/package.json b/packages/template-tts-google/package.json index d4c5bcffb3a..220740fe52d 100644 --- a/packages/template-tts-google/package.json +++ b/packages/template-tts-google/package.json @@ -37,7 +37,7 @@ "react": "18.3.1", "react-dom": "18.3.1", "remotion": "workspace:*", - "zod": "3.22.3" + "zod": "3.23.8" }, "private": true } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b5c8e580f9e..a42e5d69fbf 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1661,8 +1661,8 @@ importers: specifier: workspace:* version: link:../core zod: - specifier: 3.22.3 - version: 3.22.3 + specifier: 3.23.8 + version: 3.23.8 devDependencies: '@remotion/eslint-config': specifier: workspace:* @@ -1753,8 +1753,8 @@ importers: specifier: 0.2.9 version: 0.2.9(typescript@5.5.4) zod: - specifier: 3.22.3 - version: 3.22.3 + specifier: 3.23.8 + version: 3.23.8 devDependencies: '@remotion/eslint-config': specifier: workspace:* @@ -1793,8 +1793,8 @@ importers: specifier: workspace:* version: link:../core zod: - specifier: 3.22.3 - version: 3.22.3 + specifier: 3.23.8 + version: 3.23.8 devDependencies: '@remotion/eslint-config': specifier: workspace:* @@ -1830,8 +1830,8 @@ importers: specifier: workspace:* version: link:../core zod: - specifier: 3.22.3 - version: 3.22.3 + specifier: 3.23.8 + version: 3.23.8 devDependencies: '@remotion/eslint-config': specifier: workspace:* @@ -1879,8 +1879,8 @@ importers: specifier: workspace:* version: link:../core zod: - specifier: 3.22.3 - version: 3.22.3 + specifier: 3.23.8 + version: 3.23.8 devDependencies: '@remotion/eslint-config': specifier: workspace:* @@ -1961,8 +1961,8 @@ importers: specifier: 2.5.2 version: 2.5.2 zod: - specifier: 3.22.3 - version: 3.22.3 + specifier: 3.23.8 + version: 3.23.8 devDependencies: '@remotion/eslint-config': specifier: workspace:* @@ -2043,8 +2043,8 @@ importers: specifier: workspace:* version: link:../core zod: - specifier: 3.22.3 - version: 3.22.3 + specifier: 3.23.8 + version: 3.23.8 devDependencies: '@remotion/eslint-config': specifier: workspace:* @@ -2217,8 +2217,8 @@ importers: specifier: workspace:* version: link:../core zod: - specifier: 3.22.3 - version: 3.22.3 + specifier: 3.23.8 + version: 3.23.8 devDependencies: '@remotion/eslint-config': specifier: workspace:* @@ -2263,8 +2263,8 @@ importers: specifier: workspace:* version: link:../core zod: - specifier: 3.22.3 - version: 3.22.3 + specifier: 3.23.8 + version: 3.23.8 devDependencies: '@remotion/eslint-config': specifier: workspace:* @@ -2336,8 +2336,8 @@ importers: specifier: workspace:* version: link:../core zod: - specifier: 3.22.3 - version: 3.22.3 + specifier: 3.23.8 + version: 3.23.8 devDependencies: '@remotion/eslint-config': specifier: workspace:* @@ -2385,8 +2385,8 @@ importers: specifier: 0.158.0 version: 0.158.0 zod: - specifier: 3.22.3 - version: 3.22.3 + specifier: 3.23.8 + version: 3.23.8 devDependencies: '@remotion/eslint-config': specifier: workspace:* @@ -2437,8 +2437,8 @@ importers: specifier: workspace:* version: link:../core zod: - specifier: 3.22.3 - version: 3.22.3 + specifier: 3.23.8 + version: 3.23.8 devDependencies: '@remotion/captions': specifier: workspace:* @@ -2520,8 +2520,8 @@ importers: specifier: 5.5.4 version: 5.5.4 zod: - specifier: 3.22.3 - version: 3.22.3 + specifier: 3.23.8 + version: 3.23.8 packages/template-tts-google: dependencies: @@ -2574,8 +2574,8 @@ importers: specifier: workspace:* version: link:../core zod: - specifier: 3.22.3 - version: 3.22.3 + specifier: 3.23.8 + version: 3.23.8 devDependencies: '@remotion/eslint-config': specifier: workspace:* @@ -29071,9 +29071,6 @@ packages: zod: 3.23.8 dev: false - /zod@3.22.3: - resolution: {integrity: sha512-EjIevzuJRiRPbVH4mGc8nApb/lVLKVpmUhAaR5R5doKGfAnGJ6Gr3CViAVjP+4FWSxCsybeWQdcgCtbX+7oZug==} - /zod@3.23.8: resolution: {integrity: sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==}