@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.
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import type { SmallTCompMetadata, TAsset } from 'remotion';
3
2
  import type { DownloadMap } from './assets/download-map';
4
3
  import type { BrowserExecutable } from './browser-executable';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/renderer",
3
- "version": "3.3.42",
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.42",
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.42",
53
- "@remotion/compositor-darwin-x64": "3.3.42",
54
- "@remotion/compositor-linux-arm64-gnu": "3.3.42",
55
- "@remotion/compositor-linux-arm64-musl": "3.3.42",
56
- "@remotion/compositor-linux-x64-gnu": "3.3.42",
57
- "@remotion/compositor-linux-x64-musl": "3.3.42",
58
- "@remotion/compositor-win32-x64-msvc": "3.3.42"
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": "bfb8098300fb75d4c27220eead954c2dc8e5b4ce"
70
+ "gitHead": "3585e437a30ba001e983539728eb1914172b729c"
71
71
  }
@@ -1,2 +0,0 @@
1
- import type { SpecialVCodecForTransparency } from './assets/download-map';
2
- export declare const determineVcodecFfmepgFlags: (vcodecFlag: SpecialVCodecForTransparency) => string[];
@@ -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,3 +0,0 @@
1
- import type { ComponentType } from 'react';
2
- import type { TCompMetadata } from 'remotion';
3
- export declare const getCompositionsFromMarkup: (Comp: ComponentType) => TCompMetadata[];
@@ -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,3 +0,0 @@
1
- import type { ComponentType } from 'react';
2
- import type { TCompMetadata } from 'remotion';
3
- export declare const getCompositionsFromMarkup: (Comp: ComponentType) => TCompMetadata[];
@@ -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,2 +0,0 @@
1
- export declare const lockPortSelection: () => void;
2
- export declare const unlockPortSelection: () => void;
@@ -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;