@remotion/renderer
Advanced tools
@@ -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) => { |
+4
-4
@@ -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; |
+10
-10
@@ -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
Network access
Supply chain riskThis module accesses the network.
Found 3 instances in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 2 instances in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 6 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 3 instances in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 2 instances in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 6 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
1553408
0.01%40853
0.01%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated