@remotion/renderer 4.0.275 → 4.0.276
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.
- package/dist/browser/BrowserFetcher.js +4 -5
- package/dist/esm/index.mjs +2 -5
- package/ensure-browser.mjs +5 -3
- package/package.json +12 -12
|
@@ -56,10 +56,7 @@ const TESTED_VERSION = '133.0.6943.0';
|
|
|
56
56
|
const PLAYWRIGHT_VERSION = '1155'; // 133.0.6943.16
|
|
57
57
|
function getChromeDownloadUrl({ platform, version, chromeMode, }) {
|
|
58
58
|
if (platform === 'linux-arm64') {
|
|
59
|
-
|
|
60
|
-
throw new Error(`chromeMode: 'chrome-for-testing' is not supported on platform linux-arm64`);
|
|
61
|
-
}
|
|
62
|
-
return `https://playwright.azureedge.net/builds/chromium/${version !== null && version !== void 0 ? version : PLAYWRIGHT_VERSION}/chromium-linux-arm64.zip`;
|
|
59
|
+
return `https://playwright.azureedge.net/builds/chromium/${version !== null && version !== void 0 ? version : PLAYWRIGHT_VERSION}/chromium-headless-shell-linux-arm64.zip`;
|
|
63
60
|
}
|
|
64
61
|
if (chromeMode === 'headless-shell') {
|
|
65
62
|
return `https://storage.googleapis.com/chrome-for-testing-public/${version !== null && version !== void 0 ? version : TESTED_VERSION}/${platform}/chrome-headless-shell-${platform}.zip`;
|
|
@@ -182,7 +179,9 @@ const getExecutablePath = (chromeMode) => {
|
|
|
182
179
|
if (chromeMode === 'headless-shell') {
|
|
183
180
|
return path.join(folderPath, `chrome-headless-shell-${platform}`, platform === 'win64'
|
|
184
181
|
? 'chrome-headless-shell.exe'
|
|
185
|
-
: '
|
|
182
|
+
: platform === 'linux-arm64'
|
|
183
|
+
? 'headless_shell'
|
|
184
|
+
: 'chrome-headless-shell');
|
|
186
185
|
}
|
|
187
186
|
throw new Error('unsupported chrome mode' + chromeMode);
|
|
188
187
|
};
|
package/dist/esm/index.mjs
CHANGED
|
@@ -5510,10 +5510,7 @@ function getChromeDownloadUrl({
|
|
|
5510
5510
|
chromeMode
|
|
5511
5511
|
}) {
|
|
5512
5512
|
if (platform2 === "linux-arm64") {
|
|
5513
|
-
|
|
5514
|
-
throw new Error(`chromeMode: 'chrome-for-testing' is not supported on platform linux-arm64`);
|
|
5515
|
-
}
|
|
5516
|
-
return `https://playwright.azureedge.net/builds/chromium/${version ?? PLAYWRIGHT_VERSION}/chromium-linux-arm64.zip`;
|
|
5513
|
+
return `https://playwright.azureedge.net/builds/chromium/${version ?? PLAYWRIGHT_VERSION}/chromium-headless-shell-linux-arm64.zip`;
|
|
5517
5514
|
}
|
|
5518
5515
|
if (chromeMode === "headless-shell") {
|
|
5519
5516
|
return `https://storage.googleapis.com/chrome-for-testing-public/${version ?? TESTED_VERSION}/${platform2}/chrome-headless-shell-${platform2}.zip`;
|
|
@@ -5634,7 +5631,7 @@ var getExecutablePath2 = (chromeMode) => {
|
|
|
5634
5631
|
throw new Error("unsupported platform" + platform2);
|
|
5635
5632
|
}
|
|
5636
5633
|
if (chromeMode === "headless-shell") {
|
|
5637
|
-
return path8.join(folderPath, `chrome-headless-shell-${platform2}`, platform2 === "win64" ? "chrome-headless-shell.exe" : "chrome-headless-shell");
|
|
5634
|
+
return path8.join(folderPath, `chrome-headless-shell-${platform2}`, platform2 === "win64" ? "chrome-headless-shell.exe" : platform2 === "linux-arm64" ? "headless_shell" : "chrome-headless-shell");
|
|
5638
5635
|
}
|
|
5639
5636
|
throw new Error("unsupported chrome mode" + chromeMode);
|
|
5640
5637
|
};
|
package/ensure-browser.mjs
CHANGED
|
@@ -3072,7 +3072,10 @@ function getChromeDownloadUrl({
|
|
|
3072
3072
|
chromeMode
|
|
3073
3073
|
}) {
|
|
3074
3074
|
if (platform2 === "linux-arm64") {
|
|
3075
|
-
|
|
3075
|
+
if (chromeMode === "chrome-for-testing") {
|
|
3076
|
+
throw new Error(`chromeMode: 'chrome-for-testing' is not supported on platform linux-arm64`);
|
|
3077
|
+
}
|
|
3078
|
+
return `https://playwright.azureedge.net/builds/chromium/${version ?? PLAYWRIGHT_VERSION}/chromium-linux-arm64.zip`;
|
|
3076
3079
|
}
|
|
3077
3080
|
if (chromeMode === "headless-shell") {
|
|
3078
3081
|
return `https://storage.googleapis.com/chrome-for-testing-public/${version ?? TESTED_VERSION}/${platform2}/chrome-headless-shell-${platform2}.zip`;
|
|
@@ -3193,8 +3196,7 @@ var getExecutablePath = (chromeMode) => {
|
|
|
3193
3196
|
throw new Error("unsupported platform" + platform2);
|
|
3194
3197
|
}
|
|
3195
3198
|
if (chromeMode === "headless-shell") {
|
|
3196
|
-
|
|
3197
|
-
return p;
|
|
3199
|
+
return path3.join(folderPath, `chrome-headless-shell-${platform2}`, platform2 === "win64" ? "chrome-headless-shell.exe" : "chrome-headless-shell");
|
|
3198
3200
|
}
|
|
3199
3201
|
throw new Error("unsupported chrome mode" + chromeMode);
|
|
3200
3202
|
};
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/renderer"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/renderer",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.276",
|
|
7
7
|
"description": "Render Remotion videos using Node.js or Bun",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"types": "dist/index.d.ts",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"extract-zip": "2.0.1",
|
|
19
19
|
"source-map": "^0.8.0-beta.0",
|
|
20
20
|
"ws": "8.17.1",
|
|
21
|
-
"remotion": "4.0.
|
|
22
|
-
"@remotion/streaming": "4.0.
|
|
21
|
+
"remotion": "4.0.276",
|
|
22
|
+
"@remotion/streaming": "4.0.276"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"react": ">=16.8.0",
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
"react-dom": "19.0.0",
|
|
34
34
|
"@types/ws": "8.5.10",
|
|
35
35
|
"eslint": "9.19.0",
|
|
36
|
-
"@remotion/
|
|
37
|
-
"@remotion/
|
|
36
|
+
"@remotion/example-videos": "4.0.276",
|
|
37
|
+
"@remotion/eslint-config-internal": "4.0.276"
|
|
38
38
|
},
|
|
39
39
|
"optionalDependencies": {
|
|
40
|
-
"@remotion/compositor-darwin-arm64": "4.0.
|
|
41
|
-
"@remotion/compositor-darwin-x64": "4.0.
|
|
42
|
-
"@remotion/compositor-linux-arm64-gnu": "4.0.
|
|
43
|
-
"@remotion/compositor-linux-arm64-musl": "4.0.
|
|
44
|
-
"@remotion/compositor-linux-x64-gnu": "4.0.
|
|
45
|
-
"@remotion/compositor-win32-x64-msvc": "4.0.
|
|
46
|
-
"@remotion/compositor-linux-x64-musl": "4.0.
|
|
40
|
+
"@remotion/compositor-darwin-arm64": "4.0.276",
|
|
41
|
+
"@remotion/compositor-darwin-x64": "4.0.276",
|
|
42
|
+
"@remotion/compositor-linux-arm64-gnu": "4.0.276",
|
|
43
|
+
"@remotion/compositor-linux-arm64-musl": "4.0.276",
|
|
44
|
+
"@remotion/compositor-linux-x64-gnu": "4.0.276",
|
|
45
|
+
"@remotion/compositor-win32-x64-msvc": "4.0.276",
|
|
46
|
+
"@remotion/compositor-linux-x64-musl": "4.0.276"
|
|
47
47
|
},
|
|
48
48
|
"keywords": [
|
|
49
49
|
"remotion",
|