@remotion/renderer
Advanced tools
Comparing version 4.0.220 to 4.0.221
@@ -23,3 +23,3 @@ import type { BrowserExecutable } from './browser-executable'; | ||
} & ToOptions<typeof BrowserSafeApis.optionsMap.ensureBrowser>>; | ||
export declare const internalEnsureBrowser: ({ indent, logLevel, browserExecutable, onBrowserDownload, }: InternalEnsureBrowserOptions) => Promise<BrowserStatus>; | ||
export declare const internalEnsureBrowser: (options: InternalEnsureBrowserOptions) => Promise<BrowserStatus>; | ||
/** | ||
@@ -26,0 +26,0 @@ * Ensures a browser is locally installed so a Remotion render can be executed. This function manages the browser's download or validates existing browser paths. |
@@ -11,3 +11,4 @@ "use strict"; | ||
const get_local_browser_1 = require("./get-local-browser"); | ||
const internalEnsureBrowser = async ({ indent, logLevel, browserExecutable, onBrowserDownload, }) => { | ||
let currentEnsureBrowserOperation = Promise.resolve(); | ||
const internalEnsureBrowserUncapped = async ({ indent, logLevel, browserExecutable, onBrowserDownload, }) => { | ||
const status = getBrowserStatus(browserExecutable); | ||
@@ -21,2 +22,6 @@ if (status.type === 'no-browser') { | ||
}; | ||
const internalEnsureBrowser = (options) => { | ||
currentEnsureBrowserOperation = currentEnsureBrowserOperation.then(() => internalEnsureBrowserUncapped(options)); | ||
return currentEnsureBrowserOperation; | ||
}; | ||
exports.internalEnsureBrowser = internalEnsureBrowser; | ||
@@ -23,0 +28,0 @@ const getBrowserStatus = (browserExecutable) => { |
@@ -142,3 +142,3 @@ import execa from 'execa'; | ||
validateFrameRange: (frameRange: import("./frame-range").FrameRange | null) => void; | ||
DEFAULT_OPENGL_RENDERER: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null; | ||
DEFAULT_OPENGL_RENDERER: "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null; | ||
validateOpenGlRenderer: (option: unknown) => import("./options/gl").OpenGlRenderer | null; | ||
@@ -356,4 +356,4 @@ validCodecs: readonly ["h264", "h265", "vp8", "vp9", "mp3", "aac", "wav", "prores", "h264-mkv", "h264-ts", "gif"]; | ||
validVideoImageFormats: readonly ["png", "jpeg", "none"]; | ||
DEFAULT_STILL_IMAGE_FORMAT: "jpeg" | "png" | "webp" | "pdf"; | ||
DEFAULT_VIDEO_IMAGE_FORMAT: "jpeg" | "png" | "none"; | ||
DEFAULT_STILL_IMAGE_FORMAT: "png" | "jpeg" | "pdf" | "webp"; | ||
DEFAULT_VIDEO_IMAGE_FORMAT: "png" | "jpeg" | "none"; | ||
DEFAULT_JPEG_QUALITY: number; | ||
@@ -931,3 +931,3 @@ chalk: { | ||
toMegabytes: typeof toMegabytes; | ||
internalEnsureBrowser: ({ indent, logLevel, browserExecutable, onBrowserDownload, }: { | ||
internalEnsureBrowser: (options: { | ||
browserExecutable: import("./browser-executable").BrowserExecutable; | ||
@@ -934,0 +934,0 @@ indent: boolean; |
export declare const validOpenGlRenderers: readonly ["swangle", "angle", "egl", "swiftshader", "vulkan", "angle-egl"]; | ||
export type OpenGlRenderer = (typeof validOpenGlRenderers)[number]; | ||
export declare const DEFAULT_OPENGL_RENDERER: OpenGlRenderer | null; | ||
export declare const getChromiumOpenGlRenderer: () => "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null; | ||
export declare const getChromiumOpenGlRenderer: () => "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null; | ||
export declare const setChromiumOpenGlRenderer: (renderer: OpenGlRenderer) => void; | ||
@@ -6,0 +6,0 @@ export declare const glOption: { |
@@ -174,3 +174,3 @@ import type { AnyRemotionOption } from './option'; | ||
cliFlag: "webhook-custom-data"; | ||
description: (type: "ssr" | "cli") => import("react/jsx-runtime").JSX.Element; | ||
description: (type: "cli" | "ssr") => import("react/jsx-runtime").JSX.Element; | ||
ssrName: "customData"; | ||
@@ -588,3 +588,3 @@ docLink: string; | ||
cliFlag: "metadata"; | ||
description: (mode: "ssr" | "cli") => import("react/jsx-runtime").JSX.Element; | ||
description: (mode: "cli" | "ssr") => import("react/jsx-runtime").JSX.Element; | ||
docLink: string; | ||
@@ -591,0 +591,0 @@ type: import("./metadata").Metadata; |
@@ -5,3 +5,3 @@ export type Metadata = Record<string, string>; | ||
cliFlag: "metadata"; | ||
description: (mode: "ssr" | "cli") => import("react/jsx-runtime").JSX.Element; | ||
description: (mode: "cli" | "ssr") => import("react/jsx-runtime").JSX.Element; | ||
docLink: string; | ||
@@ -8,0 +8,0 @@ type: Metadata; |
export declare const webhookCustomDataOption: { | ||
name: string; | ||
cliFlag: "webhook-custom-data"; | ||
description: (type: "ssr" | "cli") => import("react/jsx-runtime").JSX.Element; | ||
description: (type: "cli" | "ssr") => import("react/jsx-runtime").JSX.Element; | ||
ssrName: "customData"; | ||
@@ -6,0 +6,0 @@ docLink: string; |
@@ -6,3 +6,3 @@ { | ||
"name": "@remotion/renderer", | ||
"version": "4.0.220", | ||
"version": "4.0.221", | ||
"description": "Render Remotion videos using Node.js or Bun", | ||
@@ -22,4 +22,4 @@ "main": "dist/index.js", | ||
"ws": "8.17.1", | ||
"remotion": "4.0.220", | ||
"@remotion/streaming": "4.0.220" | ||
"remotion": "4.0.221", | ||
"@remotion/streaming": "4.0.221" | ||
}, | ||
@@ -39,9 +39,9 @@ "peerDependencies": { | ||
"optionalDependencies": { | ||
"@remotion/compositor-darwin-arm64": "4.0.220", | ||
"@remotion/compositor-darwin-x64": "4.0.220", | ||
"@remotion/compositor-linux-x64-gnu": "4.0.220", | ||
"@remotion/compositor-win32-x64-msvc": "4.0.220", | ||
"@remotion/compositor-linux-x64-musl": "4.0.220", | ||
"@remotion/compositor-linux-arm64-gnu": "4.0.220", | ||
"@remotion/compositor-linux-arm64-musl": "4.0.220" | ||
"@remotion/compositor-linux-arm64-gnu": "4.0.221", | ||
"@remotion/compositor-linux-arm64-musl": "4.0.221", | ||
"@remotion/compositor-darwin-arm64": "4.0.221", | ||
"@remotion/compositor-darwin-x64": "4.0.221", | ||
"@remotion/compositor-linux-x64-gnu": "4.0.221", | ||
"@remotion/compositor-linux-x64-musl": "4.0.221", | ||
"@remotion/compositor-win32-x64-msvc": "4.0.221" | ||
}, | ||
@@ -48,0 +48,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
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
1553408
40853
+ Added@remotion/compositor-darwin-arm64@4.0.221(transitive)
+ Added@remotion/compositor-darwin-x64@4.0.221(transitive)
+ Added@remotion/compositor-linux-arm64-gnu@4.0.221(transitive)
+ Added@remotion/compositor-linux-arm64-musl@4.0.221(transitive)
+ Added@remotion/compositor-linux-x64-gnu@4.0.221(transitive)
+ Added@remotion/compositor-linux-x64-musl@4.0.221(transitive)
+ Added@remotion/compositor-win32-x64-msvc@4.0.221(transitive)
+ Added@remotion/streaming@4.0.221(transitive)
+ Added@types/node@22.9.3(transitive)
+ Addedremotion@4.0.221(transitive)
- Removed@remotion/compositor-darwin-arm64@4.0.220(transitive)
- Removed@remotion/compositor-darwin-x64@4.0.220(transitive)
- Removed@remotion/compositor-linux-arm64-gnu@4.0.220(transitive)
- Removed@remotion/compositor-linux-arm64-musl@4.0.220(transitive)
- Removed@remotion/compositor-linux-x64-gnu@4.0.220(transitive)
- Removed@remotion/compositor-linux-x64-musl@4.0.220(transitive)
- Removed@remotion/compositor-win32-x64-msvc@4.0.220(transitive)
- Removed@remotion/streaming@4.0.220(transitive)
- Removed@types/node@22.9.1(transitive)
- Removedremotion@4.0.220(transitive)
Updated@remotion/streaming@4.0.221
Updatedremotion@4.0.221