@remotion/renderer 3.3.10 → 3.3.11
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.
|
@@ -65,7 +65,9 @@ const downloadFile = ({ onProgress, url, to: toFn, }) => {
|
|
|
65
65
|
res.on('error', (err) => rejectAndFlag(err));
|
|
66
66
|
res.pipe(writeStream).on('error', (err) => rejectAndFlag(err));
|
|
67
67
|
res.on('data', (d) => {
|
|
68
|
+
refreshTimeout();
|
|
68
69
|
downloaded += d.length;
|
|
70
|
+
refreshTimeout();
|
|
69
71
|
onProgress === null || onProgress === void 0 ? void 0 : onProgress({
|
|
70
72
|
downloaded,
|
|
71
73
|
percent: totalSize === null ? null : downloaded / totalSize,
|
package/dist/ffmpeg-flags.js
CHANGED
|
@@ -178,8 +178,8 @@ const getBinaryDownloadUrl = (binary) => {
|
|
|
178
178
|
contentLength: 42093320,
|
|
179
179
|
}
|
|
180
180
|
: {
|
|
181
|
-
url: 'https://remotion-ffmpeg-binaries.s3.eu-central-1.amazonaws.com/ffprobe-macos-arm64',
|
|
182
|
-
contentLength:
|
|
181
|
+
url: 'https://remotion-ffmpeg-binaries.s3.eu-central-1.amazonaws.com/ffprobe-macos-arm64-v2',
|
|
182
|
+
contentLength: 46690008,
|
|
183
183
|
};
|
|
184
184
|
}
|
|
185
185
|
if (os_1.default.platform() === 'darwin' && process.arch === 'x64') {
|
package/dist/open-browser.d.ts
CHANGED
|
@@ -3,12 +3,15 @@ import type { Browser as PuppeteerBrowser } from './browser/Browser';
|
|
|
3
3
|
import type { Viewport } from './browser/PuppeteerViewport';
|
|
4
4
|
declare const validRenderers: readonly ["swangle", "angle", "egl", "swiftshader"];
|
|
5
5
|
declare type OpenGlRenderer = typeof validRenderers[number];
|
|
6
|
-
export declare type
|
|
6
|
+
export declare type LambdaChromiumOptions = {
|
|
7
7
|
ignoreCertificateErrors?: boolean;
|
|
8
8
|
disableWebSecurity?: boolean;
|
|
9
9
|
gl?: OpenGlRenderer | null;
|
|
10
10
|
headless?: boolean;
|
|
11
11
|
};
|
|
12
|
+
export declare type ChromiumOptions = LambdaChromiumOptions & {
|
|
13
|
+
enableExtensions?: boolean;
|
|
14
|
+
};
|
|
12
15
|
export declare const killAllBrowsers: () => Promise<void>;
|
|
13
16
|
export declare const openBrowser: (browser: Browser, options?: {
|
|
14
17
|
shouldDumpIo?: boolean;
|
package/dist/open-browser.js
CHANGED
|
@@ -28,7 +28,7 @@ const killAllBrowsers = async () => {
|
|
|
28
28
|
};
|
|
29
29
|
exports.killAllBrowsers = killAllBrowsers;
|
|
30
30
|
const openBrowser = async (browser, options) => {
|
|
31
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
31
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
32
32
|
if (browser === 'firefox') {
|
|
33
33
|
throw new TypeError('Firefox supported is not yet turned on. Stay tuned for the future.');
|
|
34
34
|
}
|
|
@@ -51,7 +51,9 @@ const openBrowser = async (browser, options) => {
|
|
|
51
51
|
'--disable-component-extensions-with-background-pages',
|
|
52
52
|
'--disable-default-apps',
|
|
53
53
|
'--disable-dev-shm-usage',
|
|
54
|
-
|
|
54
|
+
((_f = options === null || options === void 0 ? void 0 : options.chromiumOptions) === null || _f === void 0 ? void 0 : _f.enableExtensions)
|
|
55
|
+
? null
|
|
56
|
+
: '--disable-extensions',
|
|
55
57
|
'--no-proxy-server',
|
|
56
58
|
"--proxy-server='direct://'",
|
|
57
59
|
'--proxy-bypass-list=*',
|
|
@@ -71,7 +73,7 @@ const openBrowser = async (browser, options) => {
|
|
|
71
73
|
'--enable-blink-features=IdleDetection',
|
|
72
74
|
'--export-tagged-pdf',
|
|
73
75
|
'--intensive-wake-up-throttling-policy=0',
|
|
74
|
-
((
|
|
76
|
+
((_h = (_g = options === null || options === void 0 ? void 0 : options.chromiumOptions) === null || _g === void 0 ? void 0 : _g.headless) !== null && _h !== void 0 ? _h : true) ? '--headless' : null,
|
|
75
77
|
'--no-sandbox',
|
|
76
78
|
'--disable-setuid-sandbox',
|
|
77
79
|
...customGlRenderer,
|
|
@@ -92,14 +94,14 @@ const openBrowser = async (browser, options) => {
|
|
|
92
94
|
(options === null || options === void 0 ? void 0 : options.forceDeviceScaleFactor)
|
|
93
95
|
? `--force-device-scale-factor=${options.forceDeviceScaleFactor}`
|
|
94
96
|
: null,
|
|
95
|
-
((
|
|
97
|
+
((_j = options === null || options === void 0 ? void 0 : options.chromiumOptions) === null || _j === void 0 ? void 0 : _j.ignoreCertificateErrors)
|
|
96
98
|
? '--ignore-certificate-errors'
|
|
97
99
|
: null,
|
|
98
|
-
...(((
|
|
100
|
+
...(((_k = options === null || options === void 0 ? void 0 : options.chromiumOptions) === null || _k === void 0 ? void 0 : _k.disableWebSecurity)
|
|
99
101
|
? ['--disable-web-security']
|
|
100
102
|
: []),
|
|
101
103
|
].filter(Boolean),
|
|
102
|
-
defaultViewport: (
|
|
104
|
+
defaultViewport: (_l = options === null || options === void 0 ? void 0 : options.viewport) !== null && _l !== void 0 ? _l : {
|
|
103
105
|
height: 720,
|
|
104
106
|
width: 1280,
|
|
105
107
|
deviceScaleFactor: 1,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/renderer",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.11",
|
|
4
4
|
"description": "Renderer for Remotion",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"execa": "5.1.1",
|
|
24
24
|
"extract-zip": "2.0.1",
|
|
25
|
-
"remotion": "3.3.
|
|
25
|
+
"remotion": "3.3.11",
|
|
26
26
|
"source-map": "^0.8.0-beta.0",
|
|
27
27
|
"ws": "8.7.0"
|
|
28
28
|
},
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"publishConfig": {
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "08404196c439c2bf1f06bbb7a99a6fd84d5158e1"
|
|
61
61
|
}
|