@remotion/renderer 4.0.305 → 4.0.306

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.
File without changes
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,15 @@
1
+ export declare const enableCrossSiteIsolationOption: {
2
+ name: string;
3
+ cliFlag: "cross-site-isolation";
4
+ description: () => import("react/jsx-runtime").JSX.Element;
5
+ ssrName: null;
6
+ docLink: string;
7
+ type: boolean;
8
+ getValue: ({ commandLine }: {
9
+ commandLine: Record<string, unknown>;
10
+ }) => {
11
+ value: boolean;
12
+ source: string;
13
+ };
14
+ setConfig(value: boolean): void;
15
+ };
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.enableCrossSiteIsolationOption = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ let enableCrossSiteIsolation = false;
6
+ const cliFlag = 'cross-site-isolation';
7
+ exports.enableCrossSiteIsolationOption = {
8
+ name: 'Enable Cross-Site Isolation',
9
+ cliFlag,
10
+ description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Enable Cross-Site Isolation in the Studio (sets Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy HTTP headers, required for", ' ', (0, jsx_runtime_1.jsx)("code", { children: "@remotion/whisper-web" }), ")."] })),
11
+ ssrName: null,
12
+ docLink: 'https://www.remotion.dev/docs/config#setenablecrosssiteisolation',
13
+ type: false,
14
+ getValue: ({ commandLine }) => {
15
+ if (commandLine[cliFlag] !== undefined) {
16
+ return {
17
+ value: commandLine[cliFlag],
18
+ source: 'cli',
19
+ };
20
+ }
21
+ return {
22
+ value: enableCrossSiteIsolation,
23
+ source: 'config',
24
+ };
25
+ },
26
+ setConfig(value) {
27
+ enableCrossSiteIsolation = value;
28
+ },
29
+ };
@@ -679,6 +679,21 @@ export declare const allOptions: {
679
679
  };
680
680
  setConfig: (profile: AudioContextLatencyCategory | null) => void;
681
681
  };
682
+ enableCrossSiteIsolationOption: {
683
+ name: string;
684
+ cliFlag: "cross-site-isolation";
685
+ description: () => import("react/jsx-runtime").JSX.Element;
686
+ ssrName: null;
687
+ docLink: string;
688
+ type: boolean;
689
+ getValue: ({ commandLine }: {
690
+ commandLine: Record<string, unknown>;
691
+ }) => {
692
+ value: boolean;
693
+ source: string;
694
+ };
695
+ setConfig(value: boolean): void;
696
+ };
682
697
  };
683
698
  export type AvailableOptions = keyof typeof allOptions;
684
699
  export type TypeOfOption<Type> = Type extends AnyRemotionOption<infer X> ? X : never;
@@ -9,6 +9,7 @@ const binaries_directory_1 = require("./binaries-directory");
9
9
  const chrome_mode_1 = require("./chrome-mode");
10
10
  const color_space_1 = require("./color-space");
11
11
  const crf_1 = require("./crf");
12
+ const cross_site_isolation_1 = require("./cross-site-isolation");
12
13
  const delete_after_1 = require("./delete-after");
13
14
  const disable_git_source_1 = require("./disable-git-source");
14
15
  const enable_lambda_insights_1 = require("./enable-lambda-insights");
@@ -86,4 +87,5 @@ exports.allOptions = {
86
87
  chromeModeOption: chrome_mode_1.chromeModeOption,
87
88
  apiKeyOption: api_key_1.apiKeyOption,
88
89
  audioLatencyHintOption: latency_hint_1.audioLatencyHintOption,
90
+ enableCrossSiteIsolationOption: cross_site_isolation_1.enableCrossSiteIsolationOption,
89
91
  };
@@ -4,7 +4,7 @@ export type RemotionOption<SsrName extends string, Type> = {
4
4
  cliFlag: string;
5
5
  ssrName: SsrName | null;
6
6
  description: (mode: 'ssr' | 'cli') => React.ReactNode;
7
- docLink: string;
7
+ docLink: string | null;
8
8
  type: Type;
9
9
  getValue: (values: {
10
10
  commandLine: Record<string, unknown>;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/renderer"
4
4
  },
5
5
  "name": "@remotion/renderer",
6
- "version": "4.0.305",
6
+ "version": "4.0.306",
7
7
  "description": "Render Remotion videos using Node.js or Bun",
8
8
  "main": "dist/index.js",
9
9
  "types": "dist/index.d.ts",
@@ -18,8 +18,8 @@
18
18
  "extract-zip": "2.0.1",
19
19
  "source-map": "^0.8.0-beta.0",
20
20
  "ws": "8.17.1",
21
- "remotion": "4.0.305",
22
- "@remotion/streaming": "4.0.305"
21
+ "remotion": "4.0.306",
22
+ "@remotion/streaming": "4.0.306"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "react": ">=16.8.0",
@@ -33,17 +33,17 @@
33
33
  "react-dom": "19.0.0",
34
34
  "@types/ws": "8.5.10",
35
35
  "eslint": "9.19.0",
36
- "@remotion/example-videos": "4.0.305",
37
- "@remotion/eslint-config-internal": "4.0.305"
36
+ "@remotion/example-videos": "4.0.306",
37
+ "@remotion/eslint-config-internal": "4.0.306"
38
38
  },
39
39
  "optionalDependencies": {
40
- "@remotion/compositor-darwin-arm64": "4.0.305",
41
- "@remotion/compositor-darwin-x64": "4.0.305",
42
- "@remotion/compositor-linux-arm64-gnu": "4.0.305",
43
- "@remotion/compositor-linux-arm64-musl": "4.0.305",
44
- "@remotion/compositor-linux-x64-musl": "4.0.305",
45
- "@remotion/compositor-win32-x64-msvc": "4.0.305",
46
- "@remotion/compositor-linux-x64-gnu": "4.0.305"
40
+ "@remotion/compositor-darwin-arm64": "4.0.306",
41
+ "@remotion/compositor-linux-arm64-gnu": "4.0.306",
42
+ "@remotion/compositor-darwin-x64": "4.0.306",
43
+ "@remotion/compositor-linux-arm64-musl": "4.0.306",
44
+ "@remotion/compositor-linux-x64-gnu": "4.0.306",
45
+ "@remotion/compositor-linux-x64-musl": "4.0.306",
46
+ "@remotion/compositor-win32-x64-msvc": "4.0.306"
47
47
  },
48
48
  "keywords": [
49
49
  "remotion",