@remotion/cli 3.2.23 → 3.2.25
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/config/index.d.ts
CHANGED
|
@@ -13,7 +13,9 @@ export declare const ConfigInternals: {
|
|
|
13
13
|
getActualCrf: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif") => number;
|
|
14
14
|
getPixelFormat: () => "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
|
|
15
15
|
getProResProfile: () => "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | undefined;
|
|
16
|
-
getShouldOverwrite: (
|
|
16
|
+
getShouldOverwrite: ({ defaultValue, }: {
|
|
17
|
+
defaultValue: boolean;
|
|
18
|
+
}) => boolean;
|
|
17
19
|
getBrowserExecutable: () => import("@remotion/renderer").BrowserExecutable;
|
|
18
20
|
getCustomFfprobeExecutable: () => import("@remotion/renderer").FfmpegExecutable;
|
|
19
21
|
getScale: () => number;
|
package/dist/config/overwrite.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getShouldOverwrite = exports.setOverwriteOutput = void 0;
|
|
4
|
-
|
|
5
|
-
let shouldOverwrite = renderer_1.RenderInternals.DEFAULT_OVERWRITE;
|
|
4
|
+
let shouldOverwrite = null;
|
|
6
5
|
const setOverwriteOutput = (newOverwrite) => {
|
|
7
6
|
if (typeof newOverwrite !== 'boolean') {
|
|
8
7
|
throw new Error(`overwriteExisting must be a boolean but got ${typeof newOverwrite} (${JSON.stringify(newOverwrite)})`);
|
|
@@ -10,5 +9,5 @@ const setOverwriteOutput = (newOverwrite) => {
|
|
|
10
9
|
shouldOverwrite = newOverwrite;
|
|
11
10
|
};
|
|
12
11
|
exports.setOverwriteOutput = setOverwriteOutput;
|
|
13
|
-
const getShouldOverwrite = () => shouldOverwrite;
|
|
12
|
+
const getShouldOverwrite = ({ defaultValue, }) => shouldOverwrite !== null && shouldOverwrite !== void 0 ? shouldOverwrite : defaultValue;
|
|
14
13
|
exports.getShouldOverwrite = getShouldOverwrite;
|
package/dist/get-cli-options.js
CHANGED
|
@@ -130,7 +130,9 @@ const getCliOptions = async (options) => {
|
|
|
130
130
|
frameRange,
|
|
131
131
|
isLambda: options.isLambda,
|
|
132
132
|
});
|
|
133
|
-
const overwrite = config_1.ConfigInternals.getShouldOverwrite(
|
|
133
|
+
const overwrite = config_1.ConfigInternals.getShouldOverwrite({
|
|
134
|
+
defaultValue: !options.isLambda,
|
|
135
|
+
});
|
|
134
136
|
const crf = getAndValidateCrf(shouldOutputImageSequence, codec);
|
|
135
137
|
const pixelFormat = getAndValidatePixelFormat(codec);
|
|
136
138
|
const imageFormat = getAndValidateImageFormat({
|
|
@@ -12,6 +12,7 @@ const http_1 = __importDefault(require("http"));
|
|
|
12
12
|
const os_1 = __importDefault(require("os"));
|
|
13
13
|
const path_1 = __importDefault(require("path"));
|
|
14
14
|
const config_1 = require("../config");
|
|
15
|
+
const log_1 = require("../log");
|
|
15
16
|
const dev_middleware_1 = require("./dev-middleware");
|
|
16
17
|
const hot_middleware_1 = require("./hot-middleware");
|
|
17
18
|
const live_events_1 = require("./live-events");
|
|
@@ -68,6 +69,7 @@ const startServer = async (entry, userDefinedComponent, options) => {
|
|
|
68
69
|
.catch((err) => {
|
|
69
70
|
response.setHeader('content-type', 'application/json');
|
|
70
71
|
response.writeHead(500);
|
|
72
|
+
log_1.Log.error(`Error while calling ${request.url}`, err);
|
|
71
73
|
response.end(JSON.stringify({
|
|
72
74
|
err: err.message,
|
|
73
75
|
}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/cli",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.25",
|
|
4
4
|
"description": "CLI for Remotion",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -23,15 +23,15 @@
|
|
|
23
23
|
"author": "Jonny Burger <jonny@remotion.dev>",
|
|
24
24
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@remotion/bundler": "3.2.
|
|
27
|
-
"@remotion/media-utils": "3.2.
|
|
28
|
-
"@remotion/player": "3.2.
|
|
29
|
-
"@remotion/renderer": "3.2.
|
|
26
|
+
"@remotion/bundler": "3.2.25",
|
|
27
|
+
"@remotion/media-utils": "3.2.25",
|
|
28
|
+
"@remotion/player": "3.2.25",
|
|
29
|
+
"@remotion/renderer": "3.2.25",
|
|
30
30
|
"better-opn": "2.1.1",
|
|
31
31
|
"dotenv": "9.0.2",
|
|
32
32
|
"memfs": "3.4.3",
|
|
33
33
|
"minimist": "1.2.6",
|
|
34
|
-
"remotion": "3.2.
|
|
34
|
+
"remotion": "3.2.25",
|
|
35
35
|
"semver": "7.3.5",
|
|
36
36
|
"source-map": "0.6.1"
|
|
37
37
|
},
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"publishConfig": {
|
|
72
72
|
"access": "public"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "8e51d998e16f062336d65469cbfc9266068b7701"
|
|
75
75
|
}
|