Comparing version 1.5.0-alpha.d77b446c to 1.5.0
@@ -0,1 +1,3 @@ | ||
import { Browser } from './browser'; | ||
import { BrowserExecutable } from './browser-executable'; | ||
import { Codec } from './codec'; | ||
@@ -15,2 +17,9 @@ import { Concurrency } from './concurrency'; | ||
}; | ||
readonly Puppeteer: { | ||
/** | ||
* Specify executable path for the browser to use. | ||
* Default: null, which will make Remotion find or download a version of said browser. | ||
*/ | ||
readonly setBrowserExecutable: (newBrowserExecutablePath: string | null) => void; | ||
}; | ||
readonly Rendering: { | ||
@@ -29,4 +38,3 @@ /** | ||
readonly setQuality: (q: number | undefined) => void; | ||
/** | ||
* Decide in which image format to render. Can be either 'jpeg' or 'png'. | ||
/** Decide in which image format to render. Can be either 'jpeg' or 'png'. | ||
* PNG is slower, but supports transparency. | ||
@@ -70,3 +78,3 @@ */ | ||
}; | ||
export type { PixelFormat, Concurrency, WebpackConfiguration, WebpackOverrideFn, ImageFormat, Codec, }; | ||
export type { PixelFormat, Concurrency, WebpackConfiguration, WebpackOverrideFn, BrowserExecutable, ImageFormat, Codec, Browser, }; | ||
//# sourceMappingURL=index.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Config = void 0; | ||
const browser_executable_1 = require("./browser-executable"); | ||
const codec_1 = require("./codec"); | ||
@@ -22,2 +23,9 @@ const concurrency_1 = require("./concurrency"); | ||
}, | ||
Puppeteer: { | ||
/** | ||
* Specify executable path for the browser to use. | ||
* Default: null, which will make Remotion find or download a version of said browser. | ||
*/ | ||
setBrowserExecutable: browser_executable_1.setBrowserExecutable, | ||
}, | ||
Rendering: { | ||
@@ -36,4 +44,3 @@ /** | ||
setQuality: quality_1.setQuality, | ||
/** | ||
* Decide in which image format to render. Can be either 'jpeg' or 'png'. | ||
/** Decide in which image format to render. Can be either 'jpeg' or 'png'. | ||
* PNG is slower, but supports transparency. | ||
@@ -40,0 +47,0 @@ */ |
@@ -14,2 +14,3 @@ /// <reference types="react" /> | ||
getRoot: () => import("react").FC<{}> | null; | ||
getBrowserExecutable: () => string | null; | ||
getCompositionName: () => string; | ||
@@ -32,2 +33,5 @@ getIsEvaluation: () => boolean; | ||
DEFAULT_PIXEL_FORMAT: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le"; | ||
FEATURE_FLAG_FIREFOX_SUPPORT: boolean; | ||
getBrowser: () => "chrome" | "firefox" | null; | ||
DEFAULT_BROWSER: import("./config/browser").Browser; | ||
getDefaultCrfForCodec: (codec: "h264" | "h265" | "vp8" | "vp9") => number; | ||
@@ -34,0 +38,0 @@ getActualCrf: (codec: "h264" | "h265" | "vp8" | "vp9") => number; |
@@ -24,2 +24,4 @@ "use strict"; | ||
const CompositionManager_1 = require("./CompositionManager"); | ||
const browser_1 = require("./config/browser"); | ||
const browser_executable_1 = require("./config/browser-executable"); | ||
const codec_1 = require("./config/codec"); | ||
@@ -50,2 +52,3 @@ const concurrency_1 = require("./config/concurrency"); | ||
getRoot: register_root_1.getRoot, | ||
getBrowserExecutable: browser_executable_1.getBrowserExecutable, | ||
getCompositionName: register_root_1.getCompositionName, | ||
@@ -64,2 +67,5 @@ getIsEvaluation: register_root_1.getIsEvaluation, | ||
DEFAULT_PIXEL_FORMAT: pixel_format_1.DEFAULT_PIXEL_FORMAT, | ||
FEATURE_FLAG_FIREFOX_SUPPORT: browser_1.FEATURE_FLAG_FIREFOX_SUPPORT, | ||
getBrowser: browser_1.getBrowser, | ||
DEFAULT_BROWSER: browser_1.DEFAULT_BROWSER, | ||
getDefaultCrfForCodec: crf_1.getDefaultCrfForCodec, | ||
@@ -66,0 +72,0 @@ getActualCrf: crf_1.getActualCrf, |
{ | ||
"name": "remotion", | ||
"version": "1.5.0-alpha.d77b446c", | ||
"version": "1.5.0", | ||
"description": "Render videos in React", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
189458
230
2340
1