@remotion/bundler 3.3.83 → 3.3.84

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/bundle.js CHANGED
@@ -68,7 +68,7 @@ const getConfig = ({ entryPoint, outDir, resolvedRemotionRoot, onProgress, optio
68
68
  webpackOverride: (_a = options === null || options === void 0 ? void 0 : options.webpackOverride) !== null && _a !== void 0 ? _a : ((f) => f),
69
69
  onProgress,
70
70
  enableCaching: (_b = options === null || options === void 0 ? void 0 : options.enableCaching) !== null && _b !== void 0 ? _b : true,
71
- maxTimelineTracks: 90,
71
+ maxTimelineTracks: 15,
72
72
  // For production, the variables are set dynamically
73
73
  envVariables: {},
74
74
  entryPoints: [],
@@ -187,7 +187,6 @@ async function bundle(...args) {
187
187
  dest: to,
188
188
  onSymlinkDetected: showSymlinkWarning,
189
189
  onProgress: (prog) => { var _a; return (_a = options.onPublicDirCopyProgress) === null || _a === void 0 ? void 0 : _a.call(options, prog); },
190
- copied: 0,
191
190
  });
192
191
  }
193
192
  const html = (0, index_html_1.indexHtml)({
@@ -197,7 +196,6 @@ async function bundle(...args) {
197
196
  inputProps: null,
198
197
  remotionRoot: resolvedRemotionRoot,
199
198
  previewServerCommand: null,
200
- renderQueue: null,
201
199
  numberOfAudioTags: 0,
202
200
  publicFiles: (0, read_recursively_1.readRecursively)({
203
201
  folder: '.',
@@ -207,7 +205,6 @@ async function bundle(...args) {
207
205
  }),
208
206
  includeFavicon: false,
209
207
  title: 'Remotion Bundle',
210
- renderDefaults: undefined,
211
208
  });
212
209
  fs_1.default.writeFileSync(path_1.default.join(outDir, 'index.html'), html);
213
210
  return outDir;
package/dist/copy-dir.js CHANGED
@@ -6,9 +6,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.copyDir = void 0;
7
7
  const fs_1 = __importDefault(require("fs"));
8
8
  const path_1 = __importDefault(require("path"));
9
- async function copyDir({ src, dest, onSymlinkDetected, onProgress, copied = 0, }) {
9
+ async function copyDir({ src, dest, onSymlinkDetected, onProgress, }) {
10
10
  await fs_1.default.promises.mkdir(dest, { recursive: true });
11
11
  const entries = await fs_1.default.promises.readdir(src, { withFileTypes: true });
12
+ let copied = 0;
12
13
  for (const entry of entries) {
13
14
  const srcPath = path_1.default.join(src, entry.name);
14
15
  const destPath = path_1.default.join(dest, entry.name);
@@ -18,7 +19,6 @@ async function copyDir({ src, dest, onSymlinkDetected, onProgress, copied = 0, }
18
19
  dest: destPath,
19
20
  onSymlinkDetected,
20
21
  onProgress,
21
- copied,
22
22
  });
23
23
  }
24
24
  else if (entry.isSymbolicLink()) {
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.indexHtml = void 0;
7
7
  const path_1 = __importDefault(require("path"));
8
- const indexHtml = ({ baseDir, editorName, inputProps, envVariables, staticHash, remotionRoot, previewServerCommand, renderQueue, numberOfAudioTags, publicFiles, includeFavicon, title, renderDefaults, }) => `
8
+ const indexHtml = ({ baseDir, editorName, inputProps, envVariables, staticHash, remotionRoot, previewServerCommand, numberOfAudioTags, publicFiles, includeFavicon, title, }) => `
9
9
  <!DOCTYPE html>
10
10
  <html lang="en">
11
11
  <head>
@@ -26,16 +26,11 @@ ${includeFavicon
26
26
  ? `<script>window.remotion_editorName = "${editorName}";</script>`
27
27
  : '<script>window.remotion_editorName = null;</script>'}
28
28
  <script>window.remotion_projectName = ${JSON.stringify(path_1.default.basename(remotionRoot))};</script>
29
- <script>window.remotion_renderDefaults = ${JSON.stringify(renderDefaults)};</script>
30
29
  <script>window.remotion_cwd = ${JSON.stringify(remotionRoot)};</script>
31
30
  <script>window.remotion_previewServerCommand = ${previewServerCommand ? JSON.stringify(previewServerCommand) : 'null'};</script>
32
31
  ${inputProps
33
32
  ? `<script>window.remotion_inputProps = ${JSON.stringify(JSON.stringify(inputProps))};</script>
34
33
  `
35
- : ''}
36
- ${renderQueue
37
- ? `<script>window.remotion_initialRenderQueue = ${JSON.stringify(renderQueue)};</script>
38
- `
39
34
  : ''}
40
35
  ${envVariables
41
36
  ? `<script> window.process = {
@@ -16,54 +16,4 @@ remotion_1.Internals.CSSUtils.injectCSS(`
16
16
  font-size: 15px;
17
17
  line-height: 1.25;
18
18
  }
19
-
20
- .__remotion-info-button-container code {
21
- font-family: monospace;
22
- font-size: 14px;
23
- color: #0584f2
24
- }
25
-
26
- .__remotion-vertical-scrollbar::-webkit-scrollbar {
27
- width: 6px;
28
- }
29
- .__remotion-vertical-scrollbar::-webkit-scrollbar-thumb {
30
- background-color: rgba(0, 0, 0, 0.0);
31
- }
32
- .__remotion-vertical-scrollbar:hover::-webkit-scrollbar-thumb {
33
- background-color: rgba(0, 0, 0, 0.6);
34
- }
35
- .__remotion-vertical-scrollbar:hover::-webkit-scrollbar-thumb:hover {
36
- background-color: rgba(0, 0, 0, 1);
37
- }
38
-
39
- .__remotion-horizontal-scrollbar::-webkit-scrollbar {
40
- height: 6px;
41
- }
42
- .__remotion-horizontal-scrollbar::-webkit-scrollbar-thumb {
43
- background-color: rgba(0, 0, 0, 0.0);
44
- }
45
- .__remotion-horizontal-scrollbar:hover::-webkit-scrollbar-thumb {
46
- background-color: rgba(0, 0, 0, 0.6);
47
- }
48
- .__remotion-horizontal-scrollbar:hover::-webkit-scrollbar-thumb:hover {
49
- background-color: rgba(0, 0, 0, 1);
50
- }
51
-
52
- .__remotion-timeline-slider {
53
- appearance: none;
54
- width: 100px;
55
- border-radius: 3px;
56
- height: 6px;
57
- background-color: rgba(255, 255, 255, 0.1);
58
- accent-color: #ffffff;
59
- }
60
-
61
- .__remotion-timeline-slider::-moz-range-thumb {
62
- width: 14px;
63
- height: 14px;
64
- border-radius: 50%;
65
- background-color: #ffffff;
66
- appearance: none;
67
- }
68
-
69
19
  `);
@@ -40,7 +40,8 @@ const remotionCacheLocation = (remotionRoot, environment, hash) => {
40
40
  return path_1.default.join(getWebpackCacheDir(remotionRoot), (0, exports.getWebpackCacheName)(environment, hash));
41
41
  };
42
42
  const clearCache = (remotionRoot) => {
43
- return fs_1.default.promises.rm(getWebpackCacheDir(remotionRoot), {
43
+ var _a;
44
+ return ((_a = fs_1.default.promises.rm) !== null && _a !== void 0 ? _a : fs_1.default.promises.rmdir)(getWebpackCacheDir(remotionRoot), {
44
45
  recursive: true,
45
46
  });
46
47
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/bundler",
3
- "version": "3.3.83",
3
+ "version": "3.3.84",
4
4
  "description": "Bundler for Remotion",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -20,7 +20,7 @@
20
20
  "css-loader": "5.2.7",
21
21
  "esbuild": "0.16.12",
22
22
  "react-refresh": "0.9.0",
23
- "remotion": "3.3.83",
23
+ "remotion": "3.3.84",
24
24
  "style-loader": "2.0.0",
25
25
  "webpack": "5.76.1"
26
26
  },