@remotion/renderer 4.0.86 → 4.0.87

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/client.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export { AvailableOptions } from './options';
2
3
  export declare const BrowserSafeApis: {
3
4
  getFileExtensionFromCodec: <T extends "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif">(codec: T, audioCodec: "opus" | "aac" | "mp3" | "pcm-16" | null) => import("./file-extensions").FileExtension;
@@ -316,7 +317,7 @@ export declare const BrowserSafeApis: {
316
317
  cliFlag: "gl";
317
318
  docLink: string;
318
319
  name: string;
319
- type: "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | "angle-egl";
320
+ type: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl";
320
321
  ssrName: string;
321
322
  description: () => JSX.Element;
322
323
  };
@@ -188,7 +188,7 @@ const startCompositor = (type, payload, logLevel, indent) => {
188
188
  throw new Error(`Compositor quit${runningStatus.signal ? ` with signal ${runningStatus.signal}` : ''}`);
189
189
  }
190
190
  if (runningStatus.type === 'quit-with-error') {
191
- throw new Error(`Compositor quit: ${runningStatus.error}`);
191
+ throw new Error(`Compositor quit${runningStatus.signal ? ` with signal ${runningStatus.signal}` : ''}: ${runningStatus.error}`);
192
192
  }
193
193
  return new Promise((_resolve, _reject) => {
194
194
  const nonce = (0, make_nonce_1.makeNonce)();
package/dist/index.d.ts CHANGED
@@ -1,3 +1,6 @@
1
+ /// <reference types="node" />
2
+ /// <reference types="react" />
3
+ /// <reference types="node" />
1
4
  import execa from 'execa';
2
5
  import { HeadlessBrowser } from './browser/Browser';
3
6
  import { SymbolicateableError } from './error-handling/symbolicateable-error';
@@ -135,8 +138,8 @@ export declare const RenderInternals: {
135
138
  validPixelFormats: readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"];
136
139
  DEFAULT_BROWSER: "chrome";
137
140
  validateFrameRange: (frameRange: import("./frame-range").FrameRange | null) => void;
138
- DEFAULT_OPENGL_RENDERER: "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null;
139
- validateOpenGlRenderer: (option: "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null) => "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null;
141
+ DEFAULT_OPENGL_RENDERER: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null;
142
+ validateOpenGlRenderer: (option: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null) => "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null;
140
143
  validCodecs: readonly ["h264", "h265", "vp8", "vp9", "mp3", "aac", "wav", "prores", "h264-mkv", "gif"];
141
144
  DEFAULT_PIXEL_FORMAT: "yuv420p" | "yuv422p" | "yuv444p" | "yuva420p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
142
145
  validateJpegQuality: (q: number | undefined) => void;
@@ -328,7 +331,7 @@ export declare const RenderInternals: {
328
331
  validStillImageFormats: readonly ["png", "jpeg", "pdf", "webp"];
329
332
  validVideoImageFormats: readonly ["png", "jpeg", "none"];
330
333
  DEFAULT_STILL_IMAGE_FORMAT: "jpeg" | "png" | "webp" | "pdf";
331
- DEFAULT_VIDEO_IMAGE_FORMAT: "jpeg" | "png" | "none";
334
+ DEFAULT_VIDEO_IMAGE_FORMAT: "none" | "jpeg" | "png";
332
335
  DEFAULT_JPEG_QUALITY: number;
333
336
  chalk: {
334
337
  enabled: () => boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const audioBitrateOption: {
2
3
  name: string;
3
4
  cliFlag: "audio-bitrate";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const beepOnFinishOption: {
2
3
  name: string;
3
4
  cliFlag: "beep-on-finish";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const validColorSpaces: readonly ["default", "bt709", "bt2020-ncl"];
2
3
  export type ColorSpace = (typeof validColorSpaces)[number];
3
4
  export declare const colorSpaceOption: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const crfOption: {
2
3
  name: string;
3
4
  cliFlag: "crf";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const enableLambdaInsights: {
2
3
  name: string;
3
4
  cliFlag: "enable-lambda-insights";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const encodingBufferSizeOption: {
2
3
  name: string;
3
4
  cliFlag: "buffer-size";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const encodingMaxRateOption: {
2
3
  name: string;
3
4
  cliFlag: "max-rate";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const enforceAudioOption: {
2
3
  name: string;
3
4
  cliFlag: "enforce-audio-track";
@@ -1,9 +1,10 @@
1
+ /// <reference types="react" />
1
2
  export declare const validOpenGlRenderers: readonly ["swangle", "angle", "egl", "swiftshader", "vulkan", "angle-egl"];
2
3
  export declare const glOption: {
3
4
  cliFlag: "gl";
4
5
  docLink: string;
5
6
  name: string;
6
- type: "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | "angle-egl";
7
+ type: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl";
7
8
  ssrName: string;
8
9
  description: () => JSX.Element;
9
10
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const allOptions: {
2
3
  scaleOption: {
3
4
  name: string;
@@ -115,7 +116,7 @@ export declare const allOptions: {
115
116
  cliFlag: "gl";
116
117
  docLink: string;
117
118
  name: string;
118
- type: "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | "angle-egl";
119
+ type: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl";
119
120
  ssrName: string;
120
121
  description: () => JSX.Element;
121
122
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const jpegQualityOption: {
2
3
  name: string;
3
4
  cliFlag: "jpeg-quality";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const numberOfGifLoopsOption: {
2
3
  name: string;
3
4
  cliFlag: "number-of-gif-loops";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const offthreadVideoCacheSizeInBytes: {
2
3
  name: string;
3
4
  cliFlag: "offthreadvideo-cache-size-in-bytes";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const optionsMap: {
2
3
  readonly renderMedia: {
3
4
  readonly offthreadVideoCacheSizeInBytes: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const scaleOption: {
2
3
  name: string;
3
4
  cliFlag: "scale";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const videoBitrate: {
2
3
  name: string;
3
4
  cliFlag: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const videoCodecOption: {
2
3
  name: string;
3
4
  cliFlag: "codec";
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  import type { ClipRegion } from 'remotion/no-react';
2
3
  import type { Page } from './browser/BrowserPage';
3
4
  import type { StillImageFormat } from './image-format';
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  import type { ClipRegion } from 'remotion/no-react';
2
3
  import type { Page } from './browser/BrowserPage';
3
4
  import type { StillImageFormat } from './image-format';
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  import type { ClipRegion } from 'remotion/no-react';
2
3
  import type { Page } from './browser/BrowserPage';
3
4
  import type { StillImageFormat } from './image-format';
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  import type { ClipRegion } from 'remotion/no-react';
2
3
  import type { Page } from './browser/BrowserPage';
3
4
  import type { StillImageFormat } from './image-format';
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  import type { RenderMediaOnDownload } from './assets/download-and-map-assets-to-file';
2
3
  import type { RenderAssetInfo } from './assets/download-map';
3
4
  import type { AudioCodec } from './audio-codec';
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  import type { TRenderAsset } from 'remotion/no-react';
2
3
  import type { DownloadMap } from './assets/download-map';
3
4
  import type { Page } from './browser/BrowserPage';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/renderer",
3
- "version": "4.0.86",
3
+ "version": "4.0.87",
4
4
  "description": "Renderer for Remotion",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "extract-zip": "2.0.1",
19
19
  "source-map": "^0.8.0-beta.0",
20
20
  "ws": "8.7.0",
21
- "remotion": "4.0.86"
21
+ "remotion": "4.0.87"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "react": ">=16.8.0",
@@ -40,13 +40,13 @@
40
40
  "vitest": "0.31.1"
41
41
  },
42
42
  "optionalDependencies": {
43
- "@remotion/compositor-darwin-x64": "4.0.86",
44
- "@remotion/compositor-darwin-arm64": "4.0.86",
45
- "@remotion/compositor-linux-arm64-musl": "4.0.86",
46
- "@remotion/compositor-linux-x64-gnu": "4.0.86",
47
- "@remotion/compositor-linux-arm64-gnu": "4.0.86",
48
- "@remotion/compositor-linux-x64-musl": "4.0.86",
49
- "@remotion/compositor-win32-x64-msvc": "4.0.86"
43
+ "@remotion/compositor-darwin-arm64": "4.0.87",
44
+ "@remotion/compositor-linux-arm64-gnu": "4.0.87",
45
+ "@remotion/compositor-linux-x64-gnu": "4.0.87",
46
+ "@remotion/compositor-linux-x64-musl": "4.0.87",
47
+ "@remotion/compositor-win32-x64-msvc": "4.0.87",
48
+ "@remotion/compositor-linux-arm64-musl": "4.0.87",
49
+ "@remotion/compositor-darwin-x64": "4.0.87"
50
50
  },
51
51
  "keywords": [
52
52
  "remotion",