@remotion/renderer 4.0.0-fastlambda.17 → 4.0.0-fastlambda.5
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/create-ffmpeg-complex-filter.d.ts +4 -1
- package/dist/open-browser.js +13 -12
- package/dist/provide-screenshot.d.ts +0 -1
- package/dist/puppeteer-screenshot.d.ts +0 -1
- package/dist/render-frames.js +0 -1
- package/dist/screenshot-dom-element.d.ts +0 -1
- package/dist/screenshot-task.d.ts +0 -1
- package/package.json +4 -4
package/dist/open-browser.js
CHANGED
|
@@ -27,7 +27,7 @@ const killAllBrowsers = async () => {
|
|
|
27
27
|
};
|
|
28
28
|
exports.killAllBrowsers = killAllBrowsers;
|
|
29
29
|
const openBrowser = async (browser, options) => {
|
|
30
|
-
var _a, _b, _c, _d, _e, _f, _g
|
|
30
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
31
31
|
if (browser === 'firefox' && !remotion_1.Internals.FEATURE_FLAG_FIREFOX_SUPPORT) {
|
|
32
32
|
throw new TypeError('Firefox supported is not yet turned on. Stay tuned for the future.');
|
|
33
33
|
}
|
|
@@ -38,9 +38,13 @@ const openBrowser = async (browser, options) => {
|
|
|
38
38
|
executablePath,
|
|
39
39
|
product: browser,
|
|
40
40
|
dumpio: (_e = options === null || options === void 0 ? void 0 : options.shouldDumpIo) !== null && _e !== void 0 ? _e : false,
|
|
41
|
+
headless: false,
|
|
41
42
|
ignoreDefaultArgs: true,
|
|
43
|
+
defaultViewport: {
|
|
44
|
+
width: 1920,
|
|
45
|
+
height: 1080,
|
|
46
|
+
},
|
|
42
47
|
args: [
|
|
43
|
-
'about:blank',
|
|
44
48
|
'--allow-pre-commit-input',
|
|
45
49
|
'--disable-background-networking',
|
|
46
50
|
'--enable-features=NetworkService,NetworkServiceInProcess',
|
|
@@ -52,9 +56,6 @@ const openBrowser = async (browser, options) => {
|
|
|
52
56
|
'--disable-default-apps',
|
|
53
57
|
'--disable-dev-shm-usage',
|
|
54
58
|
'--disable-extensions',
|
|
55
|
-
'--no-proxy-server',
|
|
56
|
-
"--proxy-server='direct://'",
|
|
57
|
-
'--proxy-bypass-list=*',
|
|
58
59
|
// TODO: remove AvoidUnnecessaryBeforeUnloadCheckSync below
|
|
59
60
|
// once crbug.com/1324138 is fixed and released.
|
|
60
61
|
'--disable-features=Translate,BackForwardCache,AvoidUnnecessaryBeforeUnloadCheckSync',
|
|
@@ -71,12 +72,15 @@ const openBrowser = async (browser, options) => {
|
|
|
71
72
|
'--enable-automation',
|
|
72
73
|
'--password-store=basic',
|
|
73
74
|
'--use-mock-keychain',
|
|
75
|
+
(options === null || options === void 0 ? void 0 : options.forceDeviceScaleFactor)
|
|
76
|
+
? `--force-device-scale-factor=${options.forceDeviceScaleFactor}`
|
|
77
|
+
: null,
|
|
74
78
|
// TODO(sadym): remove '--enable-blink-features=IdleDetection'
|
|
75
79
|
// once IdleDetection is turned on by default.
|
|
76
80
|
'--enable-blink-features=IdleDetection',
|
|
77
81
|
'--export-tagged-pdf',
|
|
78
82
|
'--intensive-wake-up-throttling-policy=0',
|
|
79
|
-
|
|
83
|
+
'--headless',
|
|
80
84
|
'--no-sandbox',
|
|
81
85
|
'--disable-setuid-sandbox',
|
|
82
86
|
'--disable-dev-shm-usage',
|
|
@@ -89,18 +93,15 @@ const openBrowser = async (browser, options) => {
|
|
|
89
93
|
'--disable-features=AudioServiceOutOfProcess,IsolateOrigins,site-per-process',
|
|
90
94
|
'--disable-print-preview',
|
|
91
95
|
'--disable-site-isolation-trials',
|
|
92
|
-
'--disk-cache-size=
|
|
96
|
+
'--disk-cache-size=33554432',
|
|
93
97
|
'--hide-scrollbars',
|
|
94
98
|
'--no-default-browser-check',
|
|
95
99
|
'--no-pings',
|
|
96
100
|
'--no-zygote',
|
|
97
|
-
(options === null || options === void 0 ? void 0 : options.
|
|
98
|
-
? `--force-device-scale-factor=${options.forceDeviceScaleFactor}`
|
|
99
|
-
: null,
|
|
100
|
-
((_h = options === null || options === void 0 ? void 0 : options.chromiumOptions) === null || _h === void 0 ? void 0 : _h.ignoreCertificateErrors)
|
|
101
|
+
((_f = options === null || options === void 0 ? void 0 : options.chromiumOptions) === null || _f === void 0 ? void 0 : _f.ignoreCertificateErrors)
|
|
101
102
|
? '--ignore-certificate-errors'
|
|
102
103
|
: null,
|
|
103
|
-
...(((
|
|
104
|
+
...(((_g = options === null || options === void 0 ? void 0 : options.chromiumOptions) === null || _g === void 0 ? void 0 : _g.disableWebSecurity)
|
|
104
105
|
? [
|
|
105
106
|
'--disable-web-security',
|
|
106
107
|
'--user-data-dir=' +
|
package/dist/render-frames.js
CHANGED
|
@@ -69,7 +69,6 @@ const innerRenderFrames = async ({ onFrameUpdate, outputDir, onStart, inputProps
|
|
|
69
69
|
: frameRange === null || frameRange === undefined
|
|
70
70
|
? 0
|
|
71
71
|
: frameRange[0];
|
|
72
|
-
console.log({ frameRange });
|
|
73
72
|
await (0, set_props_and_env_1.setPropsAndEnv)({
|
|
74
73
|
inputProps,
|
|
75
74
|
envVariables,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/renderer",
|
|
3
|
-
"version": "4.0.0-fastlambda.
|
|
3
|
+
"version": "4.0.0-fastlambda.5+861af2196",
|
|
4
4
|
"description": "Renderer for Remotion",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"url": "https://github.com/remotion-dev/remotion/issues"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@remotion/bundler": "4.0.0-fastlambda.
|
|
23
|
+
"@remotion/bundler": "4.0.0-fastlambda.5+861af2196",
|
|
24
24
|
"execa": "5.1.1",
|
|
25
25
|
"puppeteer-core": "13.5.1",
|
|
26
|
-
"remotion": "4.0.0-fastlambda.
|
|
26
|
+
"remotion": "4.0.0-fastlambda.5+861af2196",
|
|
27
27
|
"serve-handler": "6.1.3",
|
|
28
28
|
"source-map": "^0.8.0-beta.0"
|
|
29
29
|
},
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"publishConfig": {
|
|
61
61
|
"access": "public"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "861af2196b375f96fdc0786521b9b966f7fb7982"
|
|
64
64
|
}
|