@remotion/renderer 3.2.41 → 3.2.42
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/index.d.ts
CHANGED
|
@@ -122,7 +122,7 @@ export declare const RenderInternals: {
|
|
|
122
122
|
DEFAULT_CODEC: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
|
|
123
123
|
isAudioCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif" | undefined) => boolean;
|
|
124
124
|
logLevels: readonly ["verbose", "info", "warn", "error"];
|
|
125
|
-
isEqualOrBelowLogLevel: (currentLevel: "error" | "
|
|
125
|
+
isEqualOrBelowLogLevel: (currentLevel: "error" | "info" | "verbose" | "warn", level: "error" | "info" | "verbose" | "warn") => boolean;
|
|
126
126
|
isValidLogLevel: (level: string) => boolean;
|
|
127
127
|
perf: typeof perf;
|
|
128
128
|
makeDownloadMap: () => import("./assets/download-map").DownloadMap;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/renderer",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.42",
|
|
4
4
|
"description": "Renderer for Remotion",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"execa": "5.1.1",
|
|
24
24
|
"extract-zip": "2.0.1",
|
|
25
|
-
"remotion": "3.2.
|
|
25
|
+
"remotion": "3.2.42",
|
|
26
26
|
"source-map": "^0.8.0-beta.0",
|
|
27
27
|
"ws": "8.7.0"
|
|
28
28
|
},
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"publishConfig": {
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "d297af4ecea4d09948bbf05eeb66dfa701be3787"
|
|
61
61
|
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.findRemotionRoot = exports.findClosestPackageJson = void 0;
|
|
7
|
-
const fs_1 = __importDefault(require("fs"));
|
|
8
|
-
const path_1 = __importDefault(require("path"));
|
|
9
|
-
const recursionLimit = 5;
|
|
10
|
-
const findClosestPackageJson = () => {
|
|
11
|
-
let currentDir = process.cwd();
|
|
12
|
-
let possiblePackageJson = '';
|
|
13
|
-
for (let i = 0; i < recursionLimit; i++) {
|
|
14
|
-
possiblePackageJson = path_1.default.join(currentDir, 'package.json');
|
|
15
|
-
const exists = fs_1.default.existsSync(possiblePackageJson);
|
|
16
|
-
if (exists) {
|
|
17
|
-
return possiblePackageJson;
|
|
18
|
-
}
|
|
19
|
-
currentDir = path_1.default.dirname(currentDir);
|
|
20
|
-
}
|
|
21
|
-
return null;
|
|
22
|
-
};
|
|
23
|
-
exports.findClosestPackageJson = findClosestPackageJson;
|
|
24
|
-
const findRemotionRoot = () => {
|
|
25
|
-
const closestPackageJson = (0, exports.findClosestPackageJson)();
|
|
26
|
-
if (closestPackageJson === null) {
|
|
27
|
-
return process.cwd();
|
|
28
|
-
}
|
|
29
|
-
return path_1.default.dirname(closestPackageJson);
|
|
30
|
-
};
|
|
31
|
-
exports.findRemotionRoot = findRemotionRoot;
|