@remotion/renderer 4.0.0-fastlambda.11 → 4.0.0-fastlambda.17
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 +1 -4
- package/dist/open-browser.js +7 -5
- package/dist/provide-screenshot.d.ts +1 -0
- package/dist/puppeteer-screenshot.d.ts +1 -0
- package/dist/render-frames.js +1 -0
- package/dist/screenshot-dom-element.d.ts +1 -0
- package/dist/screenshot-task.d.ts +1 -0
- 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, _h, _j;
|
|
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,7 +38,6 @@ 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,
|
|
42
41
|
ignoreDefaultArgs: true,
|
|
43
42
|
args: [
|
|
44
43
|
'about:blank',
|
|
@@ -77,7 +76,7 @@ const openBrowser = async (browser, options) => {
|
|
|
77
76
|
'--enable-blink-features=IdleDetection',
|
|
78
77
|
'--export-tagged-pdf',
|
|
79
78
|
'--intensive-wake-up-throttling-policy=0',
|
|
80
|
-
'--headless',
|
|
79
|
+
((_g = (_f = options === null || options === void 0 ? void 0 : options.chromiumOptions) === null || _f === void 0 ? void 0 : _f.headless) !== null && _g !== void 0 ? _g : true) ? '--headless' : null,
|
|
81
80
|
'--no-sandbox',
|
|
82
81
|
'--disable-setuid-sandbox',
|
|
83
82
|
'--disable-dev-shm-usage',
|
|
@@ -95,10 +94,13 @@ const openBrowser = async (browser, options) => {
|
|
|
95
94
|
'--no-default-browser-check',
|
|
96
95
|
'--no-pings',
|
|
97
96
|
'--no-zygote',
|
|
98
|
-
(
|
|
97
|
+
(options === null || options === void 0 ? void 0 : options.forceDeviceScaleFactor)
|
|
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)
|
|
99
101
|
? '--ignore-certificate-errors'
|
|
100
102
|
: null,
|
|
101
|
-
...(((
|
|
103
|
+
...(((_j = options === null || options === void 0 ? void 0 : options.chromiumOptions) === null || _j === void 0 ? void 0 : _j.disableWebSecurity)
|
|
102
104
|
? [
|
|
103
105
|
'--disable-web-security',
|
|
104
106
|
'--user-data-dir=' +
|
package/dist/render-frames.js
CHANGED
|
@@ -69,6 +69,7 @@ const innerRenderFrames = async ({ onFrameUpdate, outputDir, onStart, inputProps
|
|
|
69
69
|
: frameRange === null || frameRange === undefined
|
|
70
70
|
? 0
|
|
71
71
|
: frameRange[0];
|
|
72
|
+
console.log({ frameRange });
|
|
72
73
|
await (0, set_props_and_env_1.setPropsAndEnv)({
|
|
73
74
|
inputProps,
|
|
74
75
|
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.17+ab926ae8d",
|
|
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.17+ab926ae8d",
|
|
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.17+ab926ae8d",
|
|
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": "ab926ae8d7255286f77960fd2c508c26b2311c3f"
|
|
64
64
|
}
|