@remotion/renderer 4.0.275 → 4.0.277
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 +1 -2
- 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
|
@@ -3193,8 +3193,7 @@ var getExecutablePath = (chromeMode) => {
|
|
|
3193
3193
|
throw new Error("unsupported platform" + platform2);
|
|
3194
3194
|
}
|
|
3195
3195
|
if (chromeMode === "headless-shell") {
|
|
3196
|
-
|
|
3197
|
-
return p;
|
|
3196
|
+
return path3.join(folderPath, `chrome-headless-shell-${platform2}`, platform2 === "win64" ? "chrome-headless-shell.exe" : platform2 === "linux-arm64" ? "headless_shell" : "chrome-headless-shell");
|
|
3198
3197
|
}
|
|
3199
3198
|
throw new Error("unsupported chrome mode" + chromeMode);
|
|
3200
3199
|
};
|
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.277",
|
|
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.277",
|
|
22
|
+
"@remotion/streaming": "4.0.277"
|
|
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.277",
|
|
37
|
+
"@remotion/eslint-config-internal": "4.0.277"
|
|
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-
|
|
44
|
-
"@remotion/compositor-linux-x64-
|
|
45
|
-
"@remotion/compositor-win32-x64-msvc": "4.0.
|
|
46
|
-
"@remotion/compositor-linux-
|
|
40
|
+
"@remotion/compositor-darwin-arm64": "4.0.277",
|
|
41
|
+
"@remotion/compositor-darwin-x64": "4.0.277",
|
|
42
|
+
"@remotion/compositor-linux-arm64-gnu": "4.0.277",
|
|
43
|
+
"@remotion/compositor-linux-x64-gnu": "4.0.277",
|
|
44
|
+
"@remotion/compositor-linux-x64-musl": "4.0.277",
|
|
45
|
+
"@remotion/compositor-win32-x64-msvc": "4.0.277",
|
|
46
|
+
"@remotion/compositor-linux-arm64-musl": "4.0.277"
|
|
47
47
|
},
|
|
48
48
|
"keywords": [
|
|
49
49
|
"remotion",
|