@remotion/renderer 3.3.42 → 3.3.43
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/render-web-frame.d.ts +0 -1
- package/package.json +10 -10
- package/dist/determine-vcodec-ffmepg-flags.d.ts +0 -2
- package/dist/determine-vcodec-ffmepg-flags.js +0 -13
- package/dist/get-compositions-from-markup.d.ts +0 -3
- package/dist/get-compositions-from-markup.js +0 -17
- package/dist/get-compositions-on-server.d.ts +0 -3
- package/dist/get-compositions-on-server.js +0 -18
- package/dist/lock-port-selection.d.ts +0 -2
- package/dist/lock-port-selection.js +0 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/renderer",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.43",
|
|
4
4
|
"description": "Renderer for Remotion",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"execa": "5.1.1",
|
|
26
26
|
"extract-zip": "2.0.1",
|
|
27
|
-
"remotion": "3.3.
|
|
27
|
+
"remotion": "3.3.43",
|
|
28
28
|
"source-map": "^0.8.0-beta.0",
|
|
29
29
|
"ws": "8.7.0"
|
|
30
30
|
},
|
|
@@ -49,13 +49,13 @@
|
|
|
49
49
|
"vitest": "0.24.3"
|
|
50
50
|
},
|
|
51
51
|
"optionalDependencies": {
|
|
52
|
-
"@remotion/compositor-darwin-arm64": "3.3.
|
|
53
|
-
"@remotion/compositor-darwin-x64": "3.3.
|
|
54
|
-
"@remotion/compositor-linux-arm64-gnu": "3.3.
|
|
55
|
-
"@remotion/compositor-linux-arm64-musl": "3.3.
|
|
56
|
-
"@remotion/compositor-linux-x64-gnu": "3.3.
|
|
57
|
-
"@remotion/compositor-linux-x64-musl": "3.3.
|
|
58
|
-
"@remotion/compositor-win32-x64-msvc": "3.3.
|
|
52
|
+
"@remotion/compositor-darwin-arm64": "3.3.43",
|
|
53
|
+
"@remotion/compositor-darwin-x64": "3.3.43",
|
|
54
|
+
"@remotion/compositor-linux-arm64-gnu": "3.3.43",
|
|
55
|
+
"@remotion/compositor-linux-arm64-musl": "3.3.43",
|
|
56
|
+
"@remotion/compositor-linux-x64-gnu": "3.3.43",
|
|
57
|
+
"@remotion/compositor-linux-x64-musl": "3.3.43",
|
|
58
|
+
"@remotion/compositor-win32-x64-msvc": "3.3.43"
|
|
59
59
|
},
|
|
60
60
|
"keywords": [
|
|
61
61
|
"remotion",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"publishConfig": {
|
|
68
68
|
"access": "public"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "3585e437a30ba001e983539728eb1914172b729c"
|
|
71
71
|
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.determineVcodecFfmepgFlags = void 0;
|
|
4
|
-
const truthy_1 = require("./truthy");
|
|
5
|
-
const determineVcodecFfmepgFlags = (vcodecFlag) => {
|
|
6
|
-
return [
|
|
7
|
-
vcodecFlag === 'vp9' ? '-vcodec' : null,
|
|
8
|
-
vcodecFlag === 'vp9' ? 'libvpx-vp9' : null,
|
|
9
|
-
vcodecFlag === 'vp8' ? '-vcodec' : null,
|
|
10
|
-
vcodecFlag === 'vp8' ? 'libvpx' : null,
|
|
11
|
-
].filter(truthy_1.truthy);
|
|
12
|
-
};
|
|
13
|
-
exports.determineVcodecFfmepgFlags = determineVcodecFfmepgFlags;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getCompositionsFromMarkup = void 0;
|
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const server_1 = require("react-dom/server");
|
|
6
|
-
const getCompositionsFromMarkup = (Comp) => {
|
|
7
|
-
process.env.REMOTION_SERVER_RENDERING = 'true';
|
|
8
|
-
const str = (0, server_1.renderToString)((0, jsx_runtime_1.jsx)(Comp, {}));
|
|
9
|
-
const matches = str.matchAll(/<div>(.*?)<\/div>/g);
|
|
10
|
-
const metadata = [];
|
|
11
|
-
for (const match of matches) {
|
|
12
|
-
const json = JSON.parse(match[1]);
|
|
13
|
-
metadata.push(json);
|
|
14
|
-
}
|
|
15
|
-
return metadata;
|
|
16
|
-
};
|
|
17
|
-
exports.getCompositionsFromMarkup = getCompositionsFromMarkup;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getCompositionsFromMarkup = void 0;
|
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const server_1 = require("react-dom/server");
|
|
6
|
-
const getCompositionsFromMarkup = (Comp) => {
|
|
7
|
-
process.env.REMOTION_SERVER_RENDERING = 'true';
|
|
8
|
-
const str = (0, server_1.renderToString)((0, jsx_runtime_1.jsx)(Comp, {}));
|
|
9
|
-
console.log({ str }, (0, jsx_runtime_1.jsx)(Comp, {}));
|
|
10
|
-
const matches = str.matchAll(/<div>(.*?)<\/div>/g);
|
|
11
|
-
const metadata = [];
|
|
12
|
-
for (const match of matches) {
|
|
13
|
-
const json = JSON.parse(match[1]);
|
|
14
|
-
metadata.push(json);
|
|
15
|
-
}
|
|
16
|
-
return metadata;
|
|
17
|
-
};
|
|
18
|
-
exports.getCompositionsFromMarkup = getCompositionsFromMarkup;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.unlockPortSelection = exports.lockPortSelection = void 0;
|
|
4
|
-
const locks = [];
|
|
5
|
-
const waitForPortSelection = () => { };
|
|
6
|
-
const lockPortSelection = () => {
|
|
7
|
-
locks.push();
|
|
8
|
-
};
|
|
9
|
-
exports.lockPortSelection = lockPortSelection;
|
|
10
|
-
const unlockPortSelection = () => { };
|
|
11
|
-
exports.unlockPortSelection = unlockPortSelection;
|