@remotion/cli 4.0.71 → 4.0.72

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/benchmark.js CHANGED
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.benchmarkCommand = void 0;
4
4
  const renderer_1 = require("@remotion/renderer");
5
- const remotion_1 = require("remotion");
5
+ const no_react_1 = require("remotion/no-react");
6
6
  const chalk_1 = require("./chalk");
7
7
  const cleanup_before_quit_1 = require("./cleanup-before-quit");
8
8
  const config_1 = require("./config");
@@ -128,7 +128,7 @@ const benchmarkCommand = async (remotionRoot, args, logLevel) => {
128
128
  });
129
129
  (0, cleanup_before_quit_1.registerCleanupJob)(() => cleanupBundle());
130
130
  const puppeteerInstance = await browserInstance;
131
- const serializedInputPropsWithCustomSchema = remotion_1.Internals.serializeJSONWithDate({
131
+ const serializedInputPropsWithCustomSchema = no_react_1.NoReactInternals.serializeJSONWithDate({
132
132
  data: inputProps !== null && inputProps !== void 0 ? inputProps : {},
133
133
  indent: undefined,
134
134
  staticBase: null,
@@ -234,7 +234,7 @@ const benchmarkCommand = async (remotionRoot, args, logLevel) => {
234
234
  onStart: () => undefined,
235
235
  preferLossless: false,
236
236
  server: undefined,
237
- serializedResolvedPropsWithCustomSchema: remotion_1.Internals.serializeJSONWithDate({
237
+ serializedResolvedPropsWithCustomSchema: no_react_1.NoReactInternals.serializeJSONWithDate({
238
238
  data: composition.props,
239
239
  indent: undefined,
240
240
  staticBase: null,
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.listCompositionsCommand = void 0;
4
4
  const renderer_1 = require("@remotion/renderer");
5
- const remotion_1 = require("remotion");
5
+ const no_react_1 = require("remotion/no-react");
6
6
  const cleanup_before_quit_1 = require("./cleanup-before-quit");
7
7
  const preview_server_1 = require("./config/preview-server");
8
8
  const entry_point_1 = require("./entry-point");
@@ -45,7 +45,7 @@ const listCompositionsCommand = async (remotionRoot, args, logLevel) => {
45
45
  browserExecutable,
46
46
  chromiumOptions,
47
47
  envVariables,
48
- serializedInputPropsWithCustomSchema: remotion_1.Internals.serializeJSONWithDate({
48
+ serializedInputPropsWithCustomSchema: no_react_1.NoReactInternals.serializeJSONWithDate({
49
49
  data: inputProps,
50
50
  staticBase: null,
51
51
  indent: undefined,
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getStillFrame = exports.setStillFrame = void 0;
4
- const remotion_1 = require("remotion");
4
+ const no_react_1 = require("remotion/no-react");
5
5
  let stillFrame = 0;
6
6
  const setStillFrame = (frame) => {
7
- remotion_1.Internals.validateFrame({
7
+ no_react_1.NoReactInternals.validateFrame({
8
8
  frame,
9
9
  durationInFrames: Infinity,
10
10
  allowFloats: false,
@@ -12,6 +12,6 @@ export declare const getInputBorderColor: ({ status, isFocused, isHovered, }: {
12
12
  status: 'error' | 'warning' | 'ok';
13
13
  isFocused: boolean;
14
14
  isHovered: boolean;
15
- }) => "hsla(0, 0%, 100%, 0.15)" | "rgba(0, 0, 0, 0.6)" | "rgba(255, 255, 255, 0.05)" | "#ff3232" | "#f1c40f";
16
- export declare const RemotionInput: React.ForwardRefExoticComponent<Pick<Props, "key" | keyof React.InputHTMLAttributes<HTMLInputElement> | "status" | "rightAlign"> & React.RefAttributes<HTMLInputElement>>;
15
+ }) => "#ff3232" | "hsla(0, 0%, 100%, 0.15)" | "#f1c40f" | "rgba(0, 0, 0, 0.6)" | "rgba(255, 255, 255, 0.05)";
16
+ export declare const RemotionInput: React.ForwardRefExoticComponent<Pick<Props, "status" | "key" | "rightAlign" | keyof React.InputHTMLAttributes<HTMLInputElement>> & React.RefAttributes<HTMLInputElement>>;
17
17
  export {};
@@ -4,5 +4,5 @@ type Props = React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>
4
4
  status: RemInputStatus;
5
5
  name: string;
6
6
  };
7
- export declare const RemInputTypeColor: React.ForwardRefExoticComponent<Pick<Props, "key" | keyof React.InputHTMLAttributes<HTMLInputElement> | "status"> & React.RefAttributes<HTMLInputElement>>;
7
+ export declare const RemInputTypeColor: React.ForwardRefExoticComponent<Pick<Props, "status" | "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & React.RefAttributes<HTMLInputElement>>;
8
8
  export {};
@@ -3,5 +3,5 @@ type Props = React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLTextAreaEleme
3
3
  status: 'error' | 'warning' | 'ok';
4
4
  };
5
5
  export declare const inputBaseStyle: React.CSSProperties;
6
- export declare const RemTextarea: React.ForwardRefExoticComponent<Pick<Props, "key" | "status" | keyof React.InputHTMLAttributes<HTMLTextAreaElement>> & React.RefAttributes<HTMLTextAreaElement>>;
6
+ export declare const RemTextarea: React.ForwardRefExoticComponent<Pick<Props, "status" | "key" | keyof React.InputHTMLAttributes<HTMLTextAreaElement>> & React.RefAttributes<HTMLTextAreaElement>>;
7
7
  export {};
@@ -27,6 +27,7 @@ exports.DataEditor = void 0;
27
27
  const jsx_runtime_1 = require("react/jsx-runtime");
28
28
  const react_1 = __importStar(require("react"));
29
29
  const remotion_1 = require("remotion");
30
+ const no_react_1 = require("remotion/no-react");
30
31
  const event_source_1 = require("../../../event-source");
31
32
  const client_id_1 = require("../../helpers/client-id");
32
33
  const colors_1 = require("../../helpers/colors");
@@ -96,7 +97,7 @@ const DataEditor = ({ unresolvedComposition, inputProps, setInputProps, mayShowS
96
97
  return null;
97
98
  }
98
99
  const value = inputProps;
99
- return remotion_1.Internals.serializeJSONWithDate({
100
+ return no_react_1.NoReactInternals.serializeJSONWithDate({
100
101
  data: value,
101
102
  indent: 2,
102
103
  staticBase: window.remotion_staticBase,
@@ -26,7 +26,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.RenderModalJSONPropsEditor = void 0;
27
27
  const jsx_runtime_1 = require("react/jsx-runtime");
28
28
  const react_1 = __importStar(require("react"));
29
- const remotion_1 = require("remotion");
29
+ const no_react_1 = require("remotion/no-react");
30
30
  const Button_1 = require("../../../preview-server/error-overlay/remotion-overlay/Button");
31
31
  const colors_1 = require("../../helpers/colors");
32
32
  const document_title_1 = require("../../helpers/document-title");
@@ -48,7 +48,7 @@ const scrollable = {
48
48
  };
49
49
  const parseJSON = (str, schema) => {
50
50
  try {
51
- const value = remotion_1.Internals.deserializeJSONWithCustomFields(str);
51
+ const value = no_react_1.NoReactInternals.deserializeJSONWithCustomFields(str);
52
52
  const zodValidation = schema.safeParse(value);
53
53
  return { str, value, validJSON: true, zodValidation };
54
54
  }
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.canUpdateDefaultProps = exports.updateDefaultProps = exports.updateAvailable = exports.cancelRenderJob = exports.removeRenderJob = exports.copyToClipboard = exports.openInFileExplorer = exports.subscribeToFileExistenceWatcher = exports.unsubscribeFromFileExistenceWatcher = exports.addVideoRenderJob = exports.addSequenceRenderJob = exports.addStillRenderJob = void 0;
4
- const remotion_1 = require("remotion");
4
+ const no_react_1 = require("remotion/no-react");
5
5
  const callApi = (endpoint, body, signal) => {
6
6
  return new Promise((resolve, reject) => {
7
7
  fetch(endpoint, {
@@ -39,7 +39,7 @@ const addStillRenderJob = ({ compositionId, outName, imageFormat, jpegQuality, f
39
39
  chromiumOptions,
40
40
  delayRenderTimeout,
41
41
  envVariables,
42
- serializedInputPropsWithCustomSchema: remotion_1.Internals.serializeJSONWithDate({
42
+ serializedInputPropsWithCustomSchema: no_react_1.NoReactInternals.serializeJSONWithDate({
43
43
  data: inputProps,
44
44
  staticBase: window.remotion_staticBase,
45
45
  indent: undefined,
@@ -64,7 +64,7 @@ const addSequenceRenderJob = ({ compositionId, outName, imageFormat, startFrame,
64
64
  delayRenderTimeout,
65
65
  envVariables,
66
66
  concurrency,
67
- serializedInputPropsWithCustomSchema: remotion_1.Internals.serializeJSONWithDate({
67
+ serializedInputPropsWithCustomSchema: no_react_1.NoReactInternals.serializeJSONWithDate({
68
68
  data: inputProps,
69
69
  staticBase: window.remotion_staticBase,
70
70
  indent: undefined,
@@ -103,7 +103,7 @@ const addVideoRenderJob = ({ compositionId, outName, imageFormat, jpegQuality, s
103
103
  disallowParallelEncoding,
104
104
  chromiumOptions,
105
105
  envVariables,
106
- serializedInputPropsWithCustomSchema: remotion_1.Internals.serializeJSONWithDate({
106
+ serializedInputPropsWithCustomSchema: no_react_1.NoReactInternals.serializeJSONWithDate({
107
107
  data: inputProps,
108
108
  staticBase: window.remotion_staticBase,
109
109
  indent: undefined,
@@ -159,7 +159,7 @@ exports.updateAvailable = updateAvailable;
159
159
  const updateDefaultProps = (compositionId, defaultProps, enumPaths) => {
160
160
  return callApi('/api/update-default-props', {
161
161
  compositionId,
162
- defaultProps: remotion_1.Internals.serializeJSONWithDate({
162
+ defaultProps: no_react_1.NoReactInternals.serializeJSONWithDate({
163
163
  data: defaultProps,
164
164
  indent: undefined,
165
165
  staticBase: window.remotion_staticBase,
package/dist/index.d.ts CHANGED
@@ -116,7 +116,7 @@ export declare const CliInternals: {
116
116
  parsedCli: {
117
117
  "browser-executable": import("@remotion/renderer").BrowserExecutable;
118
118
  "pixel-format": "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
119
- "image-format": "png" | "jpeg" | "none" | "pdf" | "webp";
119
+ "image-format": "png" | "jpeg" | "pdf" | "webp" | "none";
120
120
  "prores-profile": "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy";
121
121
  "x264-preset": "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo";
122
122
  "bundle-cache": string;
@@ -187,7 +187,7 @@ export declare const CliInternals: {
187
187
  downloadName: string | null;
188
188
  outName: string | null;
189
189
  configImageFormat: "png" | "jpeg" | "pdf" | "webp" | null;
190
- cliFlag: "png" | "jpeg" | "none" | "pdf" | "webp" | null;
190
+ cliFlag: "png" | "jpeg" | "pdf" | "webp" | "none" | null;
191
191
  isLambda: boolean;
192
192
  fromUi: "png" | "jpeg" | "pdf" | "webp" | null;
193
193
  }) => {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.makeRetryPayload = void 0;
4
- const remotion_1 = require("remotion");
4
+ const no_react_1 = require("remotion/no-react");
5
5
  const makeRetryPayload = (job) => {
6
6
  var _a, _b, _c, _d, _e;
7
7
  const defaults = window.remotion_renderDefaults;
@@ -37,7 +37,7 @@ const makeRetryPayload = (job) => {
37
37
  initialOpenGlRenderer: job.chromiumOptions.gl,
38
38
  initialHeadless: job.chromiumOptions.headless,
39
39
  initialIgnoreCertificateErrors: job.chromiumOptions.ignoreCertificateErrors,
40
- defaultProps: remotion_1.Internals.deserializeJSONWithCustomFields(job.serializedInputPropsWithCustomSchema),
40
+ defaultProps: no_react_1.NoReactInternals.deserializeJSONWithCustomFields(job.serializedInputPropsWithCustomSchema),
41
41
  inFrameMark: null,
42
42
  outFrameMark: null,
43
43
  initialOffthreadVideoCacheSizeInBytes: job.offthreadVideoCacheSizeInBytes,
@@ -73,7 +73,7 @@ const makeRetryPayload = (job) => {
73
73
  initialOpenGlRenderer: job.chromiumOptions.gl,
74
74
  initialHeadless: job.chromiumOptions.headless,
75
75
  initialIgnoreCertificateErrors: job.chromiumOptions.ignoreCertificateErrors,
76
- defaultProps: remotion_1.Internals.deserializeJSONWithCustomFields(job.serializedInputPropsWithCustomSchema),
76
+ defaultProps: no_react_1.NoReactInternals.deserializeJSONWithCustomFields(job.serializedInputPropsWithCustomSchema),
77
77
  initialStillImageFormat: defaults.stillImageFormat,
78
78
  inFrameMark: job.startFrame,
79
79
  outFrameMark: job.endFrame,
@@ -112,7 +112,7 @@ const makeRetryPayload = (job) => {
112
112
  initialOpenGlRenderer: job.chromiumOptions.gl,
113
113
  initialHeadless: job.chromiumOptions.headless,
114
114
  initialIgnoreCertificateErrors: job.chromiumOptions.ignoreCertificateErrors,
115
- defaultProps: remotion_1.Internals.deserializeJSONWithCustomFields(job.serializedInputPropsWithCustomSchema),
115
+ defaultProps: no_react_1.NoReactInternals.deserializeJSONWithCustomFields(job.serializedInputPropsWithCustomSchema),
116
116
  inFrameMark: job.startFrame,
117
117
  outFrameMark: job.endFrame,
118
118
  initialOffthreadVideoCacheSizeInBytes: job.offthreadVideoCacheSizeInBytes,
@@ -31,7 +31,7 @@ const renderer_1 = require("@remotion/renderer");
31
31
  const node_fs_1 = __importStar(require("node:fs"));
32
32
  const node_os_1 = __importDefault(require("node:os"));
33
33
  const node_path_1 = __importDefault(require("node:path"));
34
- const remotion_1 = require("remotion");
34
+ const no_react_1 = require("remotion/no-react");
35
35
  const chalk_1 = require("../chalk");
36
36
  const config_1 = require("../config");
37
37
  const get_cli_options_1 = require("../get-cli-options");
@@ -246,7 +246,7 @@ const renderVideoFlow = async ({ remotionRoot, fullEntryPoint, indent, logLevel,
246
246
  onBrowserLog: null,
247
247
  onFrameBuffer: null,
248
248
  logLevel,
249
- serializedResolvedPropsWithCustomSchema: remotion_1.Internals.serializeJSONWithDate({
249
+ serializedResolvedPropsWithCustomSchema: no_react_1.NoReactInternals.serializeJSONWithDate({
250
250
  indent: undefined,
251
251
  staticBase: null,
252
252
  data: config.props,
@@ -321,7 +321,7 @@ const renderVideoFlow = async ({ remotionRoot, fullEntryPoint, indent, logLevel,
321
321
  disallowParallelEncoding,
322
322
  onBrowserLog: null,
323
323
  onStart: () => undefined,
324
- serializedResolvedPropsWithCustomSchema: remotion_1.Internals.serializeJSONWithDate({
324
+ serializedResolvedPropsWithCustomSchema: no_react_1.NoReactInternals.serializeJSONWithDate({
325
325
  data: config.props,
326
326
  indent: undefined,
327
327
  staticBase: null,
@@ -8,7 +8,7 @@ exports.renderStillFlow = void 0;
8
8
  const renderer_1 = require("@remotion/renderer");
9
9
  const node_fs_1 = require("node:fs");
10
10
  const node_path_1 = __importDefault(require("node:path"));
11
- const remotion_1 = require("remotion");
11
+ const no_react_1 = require("remotion/no-react");
12
12
  const chalk_1 = require("../chalk");
13
13
  const cleanup_before_quit_1 = require("../cleanup-before-quit");
14
14
  const config_1 = require("../config");
@@ -182,7 +182,7 @@ const renderStillFlow = async ({ remotionRoot, fullEntryPoint, entryPointReason,
182
182
  indent,
183
183
  onBrowserLog: null,
184
184
  logLevel,
185
- serializedResolvedPropsWithCustomSchema: remotion_1.Internals.serializeJSONWithDate({
185
+ serializedResolvedPropsWithCustomSchema: no_react_1.NoReactInternals.serializeJSONWithDate({
186
186
  indent: undefined,
187
187
  staticBase: null,
188
188
  data: config.props,
package/dist/render.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.render = void 0;
4
- const remotion_1 = require("remotion");
4
+ const no_react_1 = require("remotion/no-react");
5
5
  const cleanup_before_quit_1 = require("./cleanup-before-quit");
6
6
  const config_1 = require("./config");
7
7
  const preview_server_1 = require("./config/preview-server");
@@ -44,7 +44,7 @@ const render = async (remotionRoot, args, logLevel) => {
44
44
  shouldOutputImageSequence,
45
45
  publicDir,
46
46
  envVariables,
47
- serializedInputPropsWithCustomSchema: remotion_1.Internals.serializeJSONWithDate({
47
+ serializedInputPropsWithCustomSchema: no_react_1.NoReactInternals.serializeJSONWithDate({
48
48
  indent: undefined,
49
49
  staticBase: null,
50
50
  data: inputProps,
package/dist/still.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.still = void 0;
4
- const remotion_1 = require("remotion");
4
+ const no_react_1 = require("remotion/no-react");
5
5
  const cleanup_before_quit_1 = require("./cleanup-before-quit");
6
6
  const preview_server_1 = require("./config/preview-server");
7
7
  const convert_entry_point_to_serve_url_1 = require("./convert-entry-point-to-serve-url");
@@ -39,7 +39,7 @@ const still = async (remotionRoot, args, logLevel) => {
39
39
  chromiumOptions,
40
40
  envVariables,
41
41
  height,
42
- serializedInputPropsWithCustomSchema: remotion_1.Internals.serializeJSONWithDate({
42
+ serializedInputPropsWithCustomSchema: no_react_1.NoReactInternals.serializeJSONWithDate({
43
43
  data: inputProps,
44
44
  indent: undefined,
45
45
  staticBase: null,
@@ -1,2 +1,2 @@
1
- import { Internals } from 'remotion';
2
- export declare const validateDimension: typeof Internals.validateDimension;
1
+ import { NoReactInternals } from 'remotion/no-react';
2
+ export declare const validateDimension: typeof NoReactInternals.validateDimension;
package/dist/validate.js CHANGED
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.validateDimension = void 0;
4
4
  /* eslint-disable prefer-destructuring */
5
- const remotion_1 = require("remotion");
6
- exports.validateDimension = remotion_1.Internals.validateDimension;
5
+ const no_react_1 = require("remotion/no-react");
6
+ exports.validateDimension = no_react_1.NoReactInternals.validateDimension;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/cli",
3
- "version": "4.0.71",
3
+ "version": "4.0.72",
4
4
  "description": "CLI for Remotion",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -35,11 +35,11 @@
35
35
  "prompts": "2.4.1",
36
36
  "semver": "7.5.3",
37
37
  "source-map": "0.6.1",
38
- "@remotion/bundler": "4.0.71",
39
- "@remotion/media-utils": "4.0.71",
40
- "@remotion/player": "4.0.71",
41
- "@remotion/renderer": "4.0.71",
42
- "remotion": "4.0.71"
38
+ "@remotion/bundler": "4.0.72",
39
+ "@remotion/media-utils": "4.0.72",
40
+ "remotion": "4.0.72",
41
+ "@remotion/player": "4.0.72",
42
+ "@remotion/renderer": "4.0.72"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "react": ">=16.8.0",
@@ -65,8 +65,8 @@
65
65
  "react-dom": "18.2.0",
66
66
  "vitest": "0.31.1",
67
67
  "zod": "^3.22.3",
68
- "@remotion/tailwind": "4.0.71",
69
- "@remotion/zod-types": "4.0.71"
68
+ "@remotion/tailwind": "4.0.72",
69
+ "@remotion/zod-types": "4.0.72"
70
70
  },
71
71
  "keywords": [
72
72
  "remotion",