@remotion/bundler 3.0.4 → 3.0.7

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.
Files changed (153) hide show
  1. package/dist/bundle-mode.d.ts +0 -1
  2. package/dist/bundle-mode.js +0 -1
  3. package/dist/bundler.d.ts +0 -1
  4. package/dist/bundler.js +0 -1
  5. package/dist/copy-dir.d.ts +0 -1
  6. package/dist/copy-dir.js +0 -1
  7. package/dist/dev-middleware/compatible-api.d.ts +0 -1
  8. package/dist/dev-middleware/compatible-api.js +0 -1
  9. package/dist/dev-middleware/get-filename-from-url.d.ts +0 -1
  10. package/dist/dev-middleware/get-filename-from-url.js +0 -1
  11. package/dist/dev-middleware/get-paths.d.ts +0 -1
  12. package/dist/dev-middleware/get-paths.js +0 -1
  13. package/dist/dev-middleware/index.d.ts +0 -1
  14. package/dist/dev-middleware/index.js +0 -1
  15. package/dist/dev-middleware/is-color-supported.d.ts +0 -1
  16. package/dist/dev-middleware/is-color-supported.js +0 -1
  17. package/dist/dev-middleware/middleware.d.ts +0 -1
  18. package/dist/dev-middleware/middleware.js +0 -1
  19. package/dist/dev-middleware/range-parser.d.ts +1 -2
  20. package/dist/dev-middleware/range-parser.js +0 -1
  21. package/dist/dev-middleware/ready.d.ts +0 -1
  22. package/dist/dev-middleware/ready.js +0 -1
  23. package/dist/dev-middleware/setup-hooks.d.ts +0 -1
  24. package/dist/dev-middleware/setup-hooks.js +0 -1
  25. package/dist/dev-middleware/setup-output-filesystem.d.ts +0 -1
  26. package/dist/dev-middleware/setup-output-filesystem.js +0 -1
  27. package/dist/dev-middleware/types.d.ts +0 -1
  28. package/dist/dev-middleware/types.js +0 -1
  29. package/dist/error-overlay/entry-basic.d.ts +0 -1
  30. package/dist/error-overlay/entry-basic.js +0 -1
  31. package/dist/error-overlay/react-overlay/effects/format-warning.d.ts +0 -1
  32. package/dist/error-overlay/react-overlay/effects/format-warning.js +0 -1
  33. package/dist/error-overlay/react-overlay/effects/map-error-to-react-stack.d.ts +0 -1
  34. package/dist/error-overlay/react-overlay/effects/map-error-to-react-stack.js +0 -1
  35. package/dist/error-overlay/react-overlay/effects/proxy-console.d.ts +0 -1
  36. package/dist/error-overlay/react-overlay/effects/proxy-console.js +0 -1
  37. package/dist/error-overlay/react-overlay/effects/resolve-file-source.d.ts +0 -1
  38. package/dist/error-overlay/react-overlay/effects/resolve-file-source.js +0 -1
  39. package/dist/error-overlay/react-overlay/effects/stack-trace-limit.d.ts +0 -1
  40. package/dist/error-overlay/react-overlay/effects/stack-trace-limit.js +0 -1
  41. package/dist/error-overlay/react-overlay/effects/unhandled-error.d.ts +0 -1
  42. package/dist/error-overlay/react-overlay/effects/unhandled-error.js +0 -1
  43. package/dist/error-overlay/react-overlay/effects/unhandled-rejection.d.ts +0 -1
  44. package/dist/error-overlay/react-overlay/effects/unhandled-rejection.js +0 -1
  45. package/dist/error-overlay/react-overlay/index.d.ts +0 -1
  46. package/dist/error-overlay/react-overlay/index.js +0 -1
  47. package/dist/error-overlay/react-overlay/listen-to-runtime-errors.d.ts +0 -1
  48. package/dist/error-overlay/react-overlay/listen-to-runtime-errors.js +0 -1
  49. package/dist/error-overlay/react-overlay/utils/get-file-source.d.ts +0 -1
  50. package/dist/error-overlay/react-overlay/utils/get-file-source.js +0 -1
  51. package/dist/error-overlay/react-overlay/utils/get-lines-around.d.ts +0 -1
  52. package/dist/error-overlay/react-overlay/utils/get-lines-around.js +0 -1
  53. package/dist/error-overlay/react-overlay/utils/get-source-map.d.ts +0 -1
  54. package/dist/error-overlay/react-overlay/utils/get-source-map.js +0 -1
  55. package/dist/error-overlay/react-overlay/utils/get-stack-frames.d.ts +0 -1
  56. package/dist/error-overlay/react-overlay/utils/get-stack-frames.js +0 -1
  57. package/dist/error-overlay/react-overlay/utils/open-in-editor.d.ts +0 -1
  58. package/dist/error-overlay/react-overlay/utils/open-in-editor.js +0 -1
  59. package/dist/error-overlay/react-overlay/utils/parser.d.ts +0 -1
  60. package/dist/error-overlay/react-overlay/utils/parser.js +0 -1
  61. package/dist/error-overlay/react-overlay/utils/stack-frame.d.ts +0 -1
  62. package/dist/error-overlay/react-overlay/utils/stack-frame.js +0 -1
  63. package/dist/error-overlay/react-overlay/utils/unmapper.d.ts +0 -1
  64. package/dist/error-overlay/react-overlay/utils/unmapper.js +0 -1
  65. package/dist/error-overlay/remotion-overlay/AskOnDiscord.d.ts +0 -1
  66. package/dist/error-overlay/remotion-overlay/AskOnDiscord.js +0 -1
  67. package/dist/error-overlay/remotion-overlay/Button.d.ts +0 -1
  68. package/dist/error-overlay/remotion-overlay/Button.js +0 -1
  69. package/dist/error-overlay/remotion-overlay/CodeFrame.d.ts +0 -1
  70. package/dist/error-overlay/remotion-overlay/CodeFrame.js +0 -1
  71. package/dist/error-overlay/remotion-overlay/DismissButton.d.ts +0 -1
  72. package/dist/error-overlay/remotion-overlay/DismissButton.js +0 -1
  73. package/dist/error-overlay/remotion-overlay/ErrorDisplay.d.ts +0 -1
  74. package/dist/error-overlay/remotion-overlay/ErrorDisplay.js +0 -1
  75. package/dist/error-overlay/remotion-overlay/ErrorLoader.d.ts +0 -1
  76. package/dist/error-overlay/remotion-overlay/ErrorLoader.js +0 -1
  77. package/dist/error-overlay/remotion-overlay/ErrorTitle.d.ts +0 -1
  78. package/dist/error-overlay/remotion-overlay/ErrorTitle.js +0 -1
  79. package/dist/error-overlay/remotion-overlay/OpenInEditor.d.ts +0 -1
  80. package/dist/error-overlay/remotion-overlay/OpenInEditor.js +0 -1
  81. package/dist/error-overlay/remotion-overlay/Overlay.d.ts +0 -1
  82. package/dist/error-overlay/remotion-overlay/Overlay.js +0 -1
  83. package/dist/error-overlay/remotion-overlay/SearchGitHubIssues.d.ts +0 -1
  84. package/dist/error-overlay/remotion-overlay/SearchGitHubIssues.js +0 -1
  85. package/dist/error-overlay/remotion-overlay/StackFrame.d.ts +0 -1
  86. package/dist/error-overlay/remotion-overlay/StackFrame.js +0 -1
  87. package/dist/error-overlay/remotion-overlay/Symbolicating.d.ts +0 -1
  88. package/dist/error-overlay/remotion-overlay/Symbolicating.js +0 -1
  89. package/dist/error-overlay/remotion-overlay/carets.d.ts +0 -1
  90. package/dist/error-overlay/remotion-overlay/carets.js +0 -1
  91. package/dist/error-overlay/remotion-overlay/format-location.d.ts +0 -1
  92. package/dist/error-overlay/remotion-overlay/format-location.js +0 -1
  93. package/dist/error-overlay/remotion-overlay/index.d.ts +0 -1
  94. package/dist/error-overlay/remotion-overlay/index.js +0 -1
  95. package/dist/esbuild-loader/index.d.ts +0 -1
  96. package/dist/esbuild-loader/index.js +0 -1
  97. package/dist/esbuild-loader/interfaces.d.ts +0 -1
  98. package/dist/esbuild-loader/interfaces.js +0 -1
  99. package/dist/fast-refresh/helpers.d.ts +0 -1
  100. package/dist/fast-refresh/helpers.js +0 -1
  101. package/dist/fast-refresh/index.d.ts +0 -1
  102. package/dist/fast-refresh/index.js +0 -1
  103. package/dist/fast-refresh/loader.d.ts +0 -1
  104. package/dist/fast-refresh/loader.js +0 -1
  105. package/dist/fast-refresh/runtime.d.ts +0 -1
  106. package/dist/fast-refresh/runtime.js +0 -1
  107. package/dist/get-latest-remotion-version.d.ts +0 -1
  108. package/dist/get-latest-remotion-version.js +0 -1
  109. package/dist/get-package-manager.d.ts +0 -1
  110. package/dist/get-package-manager.js +0 -1
  111. package/dist/get-port.d.ts +0 -1
  112. package/dist/get-port.js +0 -1
  113. package/dist/homepage/homepage.d.ts +0 -1
  114. package/dist/homepage/homepage.js +0 -1
  115. package/dist/hot-middleware/client.d.ts +0 -1
  116. package/dist/hot-middleware/client.js +0 -1
  117. package/dist/hot-middleware/index.d.ts +0 -1
  118. package/dist/hot-middleware/index.js +0 -1
  119. package/dist/hot-middleware/process-update.d.ts +0 -1
  120. package/dist/hot-middleware/process-update.js +0 -1
  121. package/dist/hot-middleware/strip-ansi.d.ts +0 -1
  122. package/dist/hot-middleware/strip-ansi.js +0 -1
  123. package/dist/hot-middleware/types.d.ts +0 -1
  124. package/dist/hot-middleware/types.js +0 -1
  125. package/dist/index.d.ts +0 -1
  126. package/dist/index.js +0 -1
  127. package/dist/project-info.d.ts +0 -1
  128. package/dist/project-info.js +0 -1
  129. package/dist/renderEntry.d.ts +0 -1
  130. package/dist/renderEntry.js +0 -1
  131. package/dist/setup-environment.d.ts +0 -1
  132. package/dist/setup-environment.js +0 -1
  133. package/dist/start-server.d.ts +0 -1
  134. package/dist/start-server.js +0 -1
  135. package/dist/static-preview.d.ts +0 -1
  136. package/dist/static-preview.js +0 -1
  137. package/dist/test/expect-to-throw.d.ts +0 -1
  138. package/dist/test/expect-to-throw.js +0 -1
  139. package/dist/test/latest-remotion-version.test.d.ts +0 -1
  140. package/dist/test/latest-remotion-version.test.js +0 -1
  141. package/dist/test/parse-error-stack.test.d.ts +0 -1
  142. package/dist/test/parse-error-stack.test.js +0 -1
  143. package/dist/test/parse-module-not-found.test.d.ts +0 -1
  144. package/dist/test/parse-module-not-found.test.js +0 -1
  145. package/dist/test/secure-source-read.test.d.ts +0 -1
  146. package/dist/test/secure-source-read.test.js +0 -1
  147. package/dist/update-available.d.ts +0 -1
  148. package/dist/update-available.js +0 -1
  149. package/dist/webpack-cache.d.ts +0 -1
  150. package/dist/webpack-cache.js +0 -1
  151. package/dist/webpack-config.d.ts +0 -1
  152. package/dist/webpack-config.js +1 -1
  153. package/package.json +3 -3
@@ -1,4 +1,3 @@
1
1
  import { BundleState } from 'remotion';
2
2
  export declare const setBundleMode: (state: BundleState) => void;
3
3
  export declare const getBundleMode: () => BundleState;
4
- //# sourceMappingURL=bundle-mode.d.ts.map
@@ -12,4 +12,3 @@ const getBundleMode = () => {
12
12
  return bundleMode;
13
13
  };
14
14
  exports.getBundleMode = getBundleMode;
15
- //# sourceMappingURL=bundle-mode.js.map
package/dist/bundler.d.ts CHANGED
@@ -5,4 +5,3 @@ export declare const bundle: (entryPoint: string, onProgressUpdate?: ((progress:
5
5
  enableCaching?: boolean | undefined;
6
6
  publicPath?: string | undefined;
7
7
  } | undefined) => Promise<string>;
8
- //# sourceMappingURL=bundler.d.ts.map
package/dist/bundler.js CHANGED
@@ -74,4 +74,3 @@ const bundle = async (entryPoint, onProgressUpdate, options) => {
74
74
  return outDir;
75
75
  };
76
76
  exports.bundle = bundle;
77
- //# sourceMappingURL=bundler.js.map
@@ -1,2 +1 @@
1
1
  export declare function copyDir(src: string, dest: string): Promise<void>;
2
- //# sourceMappingURL=copy-dir.d.ts.map
package/dist/copy-dir.js CHANGED
@@ -21,4 +21,3 @@ async function copyDir(src, dest) {
21
21
  }
22
22
  }
23
23
  exports.copyDir = copyDir;
24
- //# sourceMappingURL=copy-dir.js.map
@@ -7,4 +7,3 @@ export declare function getHeaderFromResponse(res: Response, name: string): stri
7
7
  export declare function setHeaderForResponse(res: Response, name: string, value: string | number): void;
8
8
  export declare function setStatusCode(res: Response, code: number): void;
9
9
  export declare function send(req: Request, res: Response, bufferOtStream: ReadStream | string | Buffer, byteLength: number): void;
10
- //# sourceMappingURL=compatible-api.d.ts.map
@@ -42,4 +42,3 @@ function send(req, res, bufferOtStream, byteLength) {
42
42
  bufferOtStream.pipe(res);
43
43
  }
44
44
  exports.send = send;
45
- //# sourceMappingURL=compatible-api.js.map
@@ -1,3 +1,2 @@
1
1
  import { DevMiddlewareContext } from './types';
2
2
  export declare function getFilenameFromUrl(context: DevMiddlewareContext, url: string | undefined): string | undefined;
3
- //# sourceMappingURL=get-filename-from-url.d.ts.map
@@ -90,4 +90,3 @@ function getFilenameFromUrl(context, url) {
90
90
  return foundFilename;
91
91
  }
92
92
  exports.getFilenameFromUrl = getFilenameFromUrl;
93
- //# sourceMappingURL=get-filename-from-url.js.map
@@ -5,4 +5,3 @@ declare type PublicPath = {
5
5
  };
6
6
  export declare function getPaths(context: DevMiddlewareContext): PublicPath[];
7
7
  export {};
8
- //# sourceMappingURL=get-paths.d.ts.map
@@ -17,4 +17,3 @@ function getPaths(context) {
17
17
  return publicPaths;
18
18
  }
19
19
  exports.getPaths = getPaths;
20
- //# sourceMappingURL=get-paths.js.map
@@ -1,4 +1,3 @@
1
1
  import webpack from 'webpack';
2
2
  import { MiddleWare } from './middleware';
3
3
  export declare const wdm: (compiler: webpack.Compiler) => MiddleWare;
4
- //# sourceMappingURL=index.d.ts.map
@@ -55,4 +55,3 @@ const wdm = (compiler) => {
55
55
  return instance;
56
56
  };
57
57
  exports.wdm = wdm;
58
- //# sourceMappingURL=index.js.map
@@ -1,2 +1 @@
1
1
  export declare const isColorSupported: boolean;
2
- //# sourceMappingURL=is-color-supported.d.ts.map
@@ -31,4 +31,3 @@ const isCompatibleTerminal = ((_a = tty === null || tty === void 0 ? void 0 : tt
31
31
  const isCI = 'CI' in env &&
32
32
  ('GITHUB_ACTIONS' in env || 'GITLAB_CI' in env || 'CIRCLECI' in env);
33
33
  exports.isColorSupported = !isDisabled && (isForced || isWindows || isCompatibleTerminal || isCI);
34
- //# sourceMappingURL=is-color-supported.js.map
@@ -2,4 +2,3 @@ import { NextFunction, Request, Response } from 'express';
2
2
  import { DevMiddlewareContext } from './types';
3
3
  export declare type MiddleWare = (req: Request, res: Response, next: NextFunction) => Promise<void>;
4
4
  export declare function middleware(context: DevMiddlewareContext): (req: Request, res: Response, next: NextFunction) => Promise<void>;
5
- //# sourceMappingURL=middleware.d.ts.map
@@ -139,4 +139,3 @@ function middleware(context) {
139
139
  };
140
140
  }
141
141
  exports.middleware = middleware;
142
- //# sourceMappingURL=middleware.js.map
@@ -11,6 +11,5 @@ declare type Range = {
11
11
  declare type Ranges = Range[] & {
12
12
  type?: string;
13
13
  };
14
- export declare function parseRange(size: number, str: string | string[]): Ranges | -1 | -2;
14
+ export declare function parseRange(size: number, str: string | string[]): -1 | -2 | Ranges;
15
15
  export {};
16
- //# sourceMappingURL=range-parser.d.ts.map
@@ -94,4 +94,3 @@ function sortByRangeIndex(a, b) {
94
94
  function sortByRangeStart(a, b) {
95
95
  return a.start - b.start;
96
96
  }
97
- //# sourceMappingURL=range-parser.js.map
@@ -3,4 +3,3 @@ import { IncomingMessage } from 'http';
3
3
  import webpack from 'webpack';
4
4
  import { DevMiddlewareContext } from './types';
5
5
  export declare function ready(context: DevMiddlewareContext, callback: (stats: webpack.Stats | undefined) => undefined | Promise<void>, req?: IncomingMessage): void;
6
- //# sourceMappingURL=ready.d.ts.map
@@ -11,4 +11,3 @@ function ready(context, callback, req) {
11
11
  context.callbacks.push(callback);
12
12
  }
13
13
  exports.ready = ready;
14
- //# sourceMappingURL=ready.js.map
@@ -1,3 +1,2 @@
1
1
  import { DevMiddlewareContext } from './types';
2
2
  export declare function setupHooks(context: DevMiddlewareContext): void;
3
- //# sourceMappingURL=setup-hooks.d.ts.map
@@ -42,4 +42,3 @@ function setupHooks(context) {
42
42
  context.compiler.hooks.done.tap('webpack-dev-middleware', done);
43
43
  }
44
44
  exports.setupHooks = setupHooks;
45
- //# sourceMappingURL=setup-hooks.js.map
@@ -1,3 +1,2 @@
1
1
  import { DevMiddlewareContext } from './types';
2
2
  export declare function setupOutputFileSystem(context: DevMiddlewareContext): void;
3
- //# sourceMappingURL=setup-output-filesystem.d.ts.map
@@ -11,4 +11,3 @@ function setupOutputFileSystem(context) {
11
11
  context.outputFileSystem = outputFileSystem;
12
12
  }
13
13
  exports.setupOutputFileSystem = setupOutputFileSystem;
14
- //# sourceMappingURL=setup-output-filesystem.js.map
@@ -9,4 +9,3 @@ export declare type DevMiddlewareContext = {
9
9
  logger: ReturnType<webpack.Compiler['getInfrastructureLogger']>;
10
10
  outputFileSystem: memfs.IFs | undefined;
11
11
  };
12
- //# sourceMappingURL=types.d.ts.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=types.js.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=entry-basic.d.ts.map
@@ -19,4 +19,3 @@ const Overlay_1 = require("./remotion-overlay/Overlay");
19
19
  }
20
20
  });
21
21
  (0, remotion_overlay_1.mountRemotionOverlay)();
22
- //# sourceMappingURL=entry-basic.js.map
@@ -9,4 +9,3 @@ export declare function massageWarning(warning: string, frames: ReactFrame[]): {
9
9
  message: string;
10
10
  stack: string;
11
11
  };
12
- //# sourceMappingURL=format-warning.d.ts.map
@@ -39,4 +39,3 @@ function massageWarning(warning, frames) {
39
39
  return { message, stack };
40
40
  }
41
41
  exports.massageWarning = massageWarning;
42
- //# sourceMappingURL=format-warning.js.map
@@ -5,4 +5,3 @@ export declare type ErrorLocation = {
5
5
  message: string;
6
6
  };
7
7
  export declare const getLocationFromBuildError: (err: Error) => ErrorLocation | null;
8
- //# sourceMappingURL=map-error-to-react-stack.d.ts.map
@@ -44,4 +44,3 @@ const getLocationFromBuildError = (err) => {
44
44
  .filter(remotion_1.Internals.truthy)[0]) !== null && _a !== void 0 ? _a : null);
45
45
  };
46
46
  exports.getLocationFromBuildError = getLocationFromBuildError;
47
- //# sourceMappingURL=map-error-to-react-stack.js.map
@@ -22,4 +22,3 @@ declare type ErrorData = {
22
22
  declare type ConsoleProxyCallback = (data: ErrorData) => void;
23
23
  declare const permanentRegister: (type: 'error', callback: ConsoleProxyCallback) => void;
24
24
  export { permanentRegister, registerReactStack, unregisterReactStack };
25
- //# sourceMappingURL=proxy-console.d.ts.map
@@ -61,4 +61,3 @@ const permanentRegister = function (type, callback) {
61
61
  }
62
62
  };
63
63
  exports.permanentRegister = permanentRegister;
64
- //# sourceMappingURL=proxy-console.js.map
@@ -1,4 +1,3 @@
1
1
  import { SymbolicatedStackFrame } from '../utils/stack-frame';
2
2
  import { ErrorLocation } from './map-error-to-react-stack';
3
3
  export declare const resolveFileSource: (location: ErrorLocation, contextLines: number) => Promise<SymbolicatedStackFrame>;
4
- //# sourceMappingURL=resolve-file-source.d.ts.map
@@ -29,4 +29,3 @@ const resolveFileSource = async (location, contextLines) => {
29
29
  };
30
30
  };
31
31
  exports.resolveFileSource = resolveFileSource;
32
- //# sourceMappingURL=resolve-file-source.js.map
@@ -1,4 +1,3 @@
1
1
  declare function registerStackTraceLimit(limit?: number): void;
2
2
  declare function unregisterStackTraceLimit(): void;
3
3
  export { registerStackTraceLimit as register, unregisterStackTraceLimit as unregister, };
4
- //# sourceMappingURL=stack-trace-limit.d.ts.map
@@ -41,4 +41,3 @@ function unregisterStackTraceLimit() {
41
41
  }
42
42
  }
43
43
  exports.unregister = unregisterStackTraceLimit;
44
- //# sourceMappingURL=stack-trace-limit.js.map
@@ -2,4 +2,3 @@ declare type ErrorCallback = (error: Error) => void;
2
2
  declare function registerUnhandledError(target: EventTarget, callback: ErrorCallback): void;
3
3
  declare function unregisterUnhandledError(target: EventTarget): void;
4
4
  export { registerUnhandledError as register, unregisterUnhandledError as unregister, };
5
- //# sourceMappingURL=unhandled-error.d.ts.map
@@ -43,4 +43,3 @@ function unregisterUnhandledError(target) {
43
43
  boundErrorHandler = null;
44
44
  }
45
45
  exports.unregister = unregisterUnhandledError;
46
- //# sourceMappingURL=unhandled-error.js.map
@@ -2,4 +2,3 @@ declare type ErrorCallback = (error: Error) => void;
2
2
  declare function registerUnhandledRejection(target: EventTarget, callback: ErrorCallback): void;
3
3
  declare function unregisterUnhandledRejection(target: EventTarget): void;
4
4
  export { registerUnhandledRejection as register, unregisterUnhandledRejection as unregister, };
5
- //# sourceMappingURL=unhandled-rejection.d.ts.map
@@ -39,4 +39,3 @@ function unregisterUnhandledRejection(target) {
39
39
  boundRejectionHandler = null;
40
40
  }
41
41
  exports.unregister = unregisterUnhandledRejection;
42
- //# sourceMappingURL=unhandled-rejection.js.map
@@ -1,3 +1,2 @@
1
1
  export declare const didUnmountReactApp: () => boolean;
2
2
  export declare function startReportingRuntimeErrors(onError: () => void): void;
3
- //# sourceMappingURL=index.d.ts.map
@@ -19,4 +19,3 @@ function startReportingRuntimeErrors(onError) {
19
19
  stopListeningToRuntimeErrors = (0, listen_to_runtime_errors_1.listenToRuntimeErrors)(handleRuntimeError);
20
20
  }
21
21
  exports.startReportingRuntimeErrors = startReportingRuntimeErrors;
22
- //# sourceMappingURL=index.js.map
@@ -6,4 +6,3 @@ export declare type ErrorRecord = {
6
6
  };
7
7
  export declare const getErrorRecord: (error: Error) => Promise<ErrorRecord | null>;
8
8
  export declare function listenToRuntimeErrors(crash: () => void): () => void;
9
- //# sourceMappingURL=listen-to-runtime-errors.d.ts.map
@@ -76,4 +76,3 @@ function listenToRuntimeErrors(crash) {
76
76
  };
77
77
  }
78
78
  exports.listenToRuntimeErrors = listenToRuntimeErrors;
79
- //# sourceMappingURL=listen-to-runtime-errors.js.map
@@ -1,2 +1 @@
1
1
  export declare const getFileSource: (p: string) => Promise<string>;
2
- //# sourceMappingURL=get-file-source.d.ts.map
@@ -19,4 +19,3 @@ const getFileSource = (p) => {
19
19
  return fs_1.default.promises.readFile(p, 'utf-8');
20
20
  };
21
21
  exports.getFileSource = getFileSource;
22
- //# sourceMappingURL=get-file-source.js.map
@@ -12,4 +12,3 @@ import { ScriptLine } from './stack-frame';
12
12
  * @param {string[] | string} lines The source code.
13
13
  */
14
14
  export declare function getLinesAround(line: number, count: number, lines: string[]): ScriptLine[];
15
- //# sourceMappingURL=get-lines-around.d.ts.map
@@ -22,4 +22,3 @@ function getLinesAround(line, count, lines) {
22
22
  return result;
23
23
  }
24
24
  exports.getLinesAround = getLinesAround;
25
- //# sourceMappingURL=get-lines-around.js.map
@@ -11,4 +11,3 @@ export declare const getOriginalPosition: (source_map: SourceMapConsumer, line:
11
11
  column: number | null;
12
12
  };
13
13
  export declare function getSourceMap(fileUri: string, fileContents: string): Promise<SourceMapConsumer | null>;
14
- //# sourceMappingURL=get-source-map.d.ts.map
@@ -56,4 +56,3 @@ async function getSourceMap(fileUri, fileContents) {
56
56
  return new source_map_1.SourceMapConsumer(obj);
57
57
  }
58
58
  exports.getSourceMap = getSourceMap;
59
- //# sourceMappingURL=get-source-map.js.map
@@ -1,3 +1,2 @@
1
1
  import type { SymbolicatedStackFrame } from './stack-frame';
2
2
  export declare const getStackFrames: (error: Error, contextSize: number) => Promise<SymbolicatedStackFrame[] | null>;
3
- //# sourceMappingURL=get-stack-frames.d.ts.map
@@ -25,4 +25,3 @@ const getStackFrames = async (error, contextSize) => {
25
25
  return enhancedFrames;
26
26
  };
27
27
  exports.getStackFrames = getStackFrames;
28
- //# sourceMappingURL=get-stack-frames.js.map
@@ -10,4 +10,3 @@ export declare function launchEditor({ colNumber, editor, fileName, lineNumber,
10
10
  vsCodeNewWindow: boolean;
11
11
  }): Promise<boolean>;
12
12
  export {};
13
- //# sourceMappingURL=open-in-editor.d.ts.map
@@ -453,4 +453,3 @@ function launchEditor({ colNumber, editor, fileName, lineNumber, vsCodeNewWindow
453
453
  return Promise.resolve(true);
454
454
  }
455
455
  exports.launchEditor = launchEditor;
456
- //# sourceMappingURL=open-in-editor.js.map
@@ -1,3 +1,2 @@
1
1
  import { SomeStackFrame } from './stack-frame';
2
2
  export declare const parseError: (error: Error | string | string[], contextLines: number) => Promise<SomeStackFrame[]>;
3
- //# sourceMappingURL=parser.d.ts.map
@@ -115,4 +115,3 @@ const parseError = async (error, contextLines) => {
115
115
  return [];
116
116
  };
117
117
  exports.parseError = parseError;
118
- //# sourceMappingURL=parser.js.map
@@ -38,4 +38,3 @@ export declare const makeStackFrame: ({ functionName, fileName, lineNumber, colu
38
38
  lineNumber: number;
39
39
  columnNumber: number;
40
40
  }) => StackFrame;
41
- //# sourceMappingURL=stack-frame.d.ts.map
@@ -29,4 +29,3 @@ const makeStackFrame = ({ functionName, fileName, lineNumber, columnNumber, }) =
29
29
  };
30
30
  };
31
31
  exports.makeStackFrame = makeStackFrame;
32
- //# sourceMappingURL=stack-frame.js.map
@@ -1,3 +1,2 @@
1
1
  import { SomeStackFrame, SymbolicatedStackFrame } from './stack-frame';
2
2
  export declare const unmap: (frames: SomeStackFrame[], contextLines: number) => Promise<SymbolicatedStackFrame[]>;
3
- //# sourceMappingURL=unmapper.d.ts.map
@@ -62,4 +62,3 @@ const unmap = async (frames, contextLines) => {
62
62
  .filter(remotion_1.Internals.truthy);
63
63
  };
64
64
  exports.unmap = unmap;
65
- //# sourceMappingURL=unmapper.js.map
@@ -1,3 +1,2 @@
1
1
  import React from 'react';
2
2
  export declare const AskOnDiscord: React.FC;
3
- //# sourceMappingURL=AskOnDiscord.d.ts.map
@@ -12,4 +12,3 @@ const AskOnDiscord = () => {
12
12
  return (0, jsx_runtime_1.jsx)(Button_1.Button, { onClick: openInBrowser, children: "Ask on Discord" }, void 0);
13
13
  };
14
14
  exports.AskOnDiscord = AskOnDiscord;
15
- //# sourceMappingURL=AskOnDiscord.js.map
@@ -4,4 +4,3 @@ export declare const Button: React.FC<{
4
4
  disabled?: boolean;
5
5
  children: React.ReactNode;
6
6
  }>;
7
- //# sourceMappingURL=Button.d.ts.map
@@ -22,4 +22,3 @@ const Button = ({ children, onClick, disabled }) => {
22
22
  return ((0, jsx_runtime_1.jsx)("button", { style: button, type: "button", disabled: disabled, onClick: onClick, children: (0, jsx_runtime_1.jsx)("div", { style: buttonContainer, children: children }, void 0) }, void 0));
23
23
  };
24
24
  exports.Button = Button;
25
- //# sourceMappingURL=Button.js.map
@@ -4,4 +4,3 @@ export declare const CodeFrame: React.FC<{
4
4
  source: ScriptLine[];
5
5
  lineNumberWidth: number;
6
6
  }>;
7
- //# sourceMappingURL=CodeFrame.d.ts.map
@@ -26,4 +26,3 @@ const CodeFrame = ({ source, lineNumberWidth }) => {
26
26
  }) }, void 0));
27
27
  };
28
28
  exports.CodeFrame = CodeFrame;
29
- //# sourceMappingURL=CodeFrame.js.map
@@ -1,3 +1,2 @@
1
1
  import React from 'react';
2
2
  export declare const DismissButton: React.FC;
3
- //# sourceMappingURL=DismissButton.d.ts.map
@@ -21,4 +21,3 @@ const DismissButton = () => {
21
21
  return ((0, jsx_runtime_1.jsx)("button", { type: "button", style: style, onClick: dismiss, children: (0, jsx_runtime_1.jsx)("svg", { focusable: "false", role: "img", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 352 512", style: size, children: (0, jsx_runtime_1.jsx)("path", { fill: "white", d: "M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z" }, void 0) }, void 0) }, void 0));
22
22
  };
23
23
  exports.DismissButton = DismissButton;
24
- //# sourceMappingURL=DismissButton.js.map
@@ -3,4 +3,3 @@ import { ErrorRecord } from '../react-overlay/listen-to-runtime-errors';
3
3
  export declare const ErrorDisplay: React.FC<{
4
4
  display: ErrorRecord;
5
5
  }>;
6
- //# sourceMappingURL=ErrorDisplay.d.ts.map
@@ -43,4 +43,3 @@ const ErrorDisplay = ({ display }) => {
43
43
  }) }, void 0)] }, void 0));
44
44
  };
45
45
  exports.ErrorDisplay = ErrorDisplay;
46
- //# sourceMappingURL=ErrorDisplay.js.map
@@ -2,4 +2,3 @@ import React from 'react';
2
2
  export declare const ErrorLoader: React.FC<{
3
3
  error: Error;
4
4
  }>;
5
- //# sourceMappingURL=ErrorLoader.d.ts.map
@@ -59,4 +59,3 @@ const ErrorLoader = ({ error }) => {
59
59
  return ((0, jsx_runtime_1.jsx)("div", { style: container, children: (0, jsx_runtime_1.jsx)(ErrorDisplay_1.ErrorDisplay, { display: state.record }, void 0) }, void 0));
60
60
  };
61
61
  exports.ErrorLoader = ErrorLoader;
62
- //# sourceMappingURL=ErrorLoader.js.map
@@ -4,4 +4,3 @@ export declare const ErrorTitle: React.FC<{
4
4
  message: string;
5
5
  symbolicating: boolean;
6
6
  }>;
7
- //# sourceMappingURL=ErrorTitle.d.ts.map
@@ -39,4 +39,3 @@ const ErrorTitle = ({ name, message, symbolicating }) => {
39
39
  return ((0, jsx_runtime_1.jsxs)("div", { style: title, children: [(0, jsx_runtime_1.jsxs)("div", { style: left, children: [(0, jsx_runtime_1.jsx)("span", { style: errName, children: name }, void 0), (0, jsx_runtime_1.jsx)("br", {}, void 0), (0, jsx_runtime_1.jsxs)("div", { style: row, children: [symbolicating ? ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(Symbolicating_1.Symbolicating, {}, void 0), (0, jsx_runtime_1.jsx)("div", { style: spacer }, void 0)] }, void 0)) : null, (0, jsx_runtime_1.jsx)("div", { children: message }, void 0)] }, void 0)] }, void 0), (0, react_overlay_1.didUnmountReactApp)() ? null : (0, jsx_runtime_1.jsx)(DismissButton_1.DismissButton, {}, void 0)] }, void 0));
40
40
  };
41
41
  exports.ErrorTitle = ErrorTitle;
42
- //# sourceMappingURL=ErrorTitle.js.map
@@ -3,4 +3,3 @@ import { SymbolicatedStackFrame } from '../react-overlay/utils/stack-frame';
3
3
  export declare const OpenInEditor: React.FC<{
4
4
  stack: SymbolicatedStackFrame;
5
5
  }>;
6
- //# sourceMappingURL=OpenInEditor.d.ts.map
@@ -88,4 +88,3 @@ const OpenInEditor = ({ stack }) => {
88
88
  return ((0, jsx_runtime_1.jsx)(Button_1.Button, { onClick: openInBrowser, disabled: state.type !== 'idle', children: label }, void 0));
89
89
  };
90
90
  exports.OpenInEditor = OpenInEditor;
91
- //# sourceMappingURL=OpenInEditor.js.map
@@ -12,4 +12,3 @@ declare type State = {
12
12
  };
13
13
  export declare const Overlay: React.FC;
14
14
  export {};
15
- //# sourceMappingURL=Overlay.d.ts.map
@@ -47,4 +47,3 @@ const Overlay = () => {
47
47
  }) }, void 0));
48
48
  };
49
49
  exports.Overlay = Overlay;
50
- //# sourceMappingURL=Overlay.js.map
@@ -2,4 +2,3 @@ import React from 'react';
2
2
  export declare const SearchGithubIssues: React.FC<{
3
3
  message: string;
4
4
  }>;
5
- //# sourceMappingURL=SearchGitHubIssues.d.ts.map
@@ -11,4 +11,3 @@ const SearchGithubIssues = ({ message }) => {
11
11
  return (0, jsx_runtime_1.jsx)(Button_1.Button, { onClick: openInBrowser, children: "Search GitHub Issues" }, void 0);
12
12
  };
13
13
  exports.SearchGithubIssues = SearchGithubIssues;
14
- //# sourceMappingURL=SearchGitHubIssues.js.map
@@ -6,4 +6,3 @@ export declare const StackElement: React.FC<{
6
6
  isFirst: boolean;
7
7
  defaultFunctionName: string;
8
8
  }>;
9
- //# sourceMappingURL=StackFrame.d.ts.map
@@ -46,4 +46,3 @@ const StackElement = ({ s, lineNumberWidth, isFirst, defaultFunctionName }) => {
46
46
  showCodeFrame ? ((0, jsx_runtime_1.jsx)(CodeFrame_1.CodeFrame, { lineNumberWidth: lineNumberWidth, source: s.originalScriptCode }, void 0)) : null }, void 0)] }, void 0));
47
47
  };
48
48
  exports.StackElement = StackElement;
49
- //# sourceMappingURL=StackFrame.js.map
@@ -1,3 +1,2 @@
1
1
  import React from 'react';
2
2
  export declare const Symbolicating: React.FC;
3
- //# sourceMappingURL=Symbolicating.d.ts.map
@@ -6,4 +6,3 @@ const Symbolicating = (props) => {
6
6
  return ((0, jsx_runtime_1.jsxs)("svg", { id: "loading", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: "16", height: "16", fill: "white", ...props, children: [(0, jsx_runtime_1.jsx)("path", { opacity: ".1", d: "M14 0 H18 V8 H14 z", transform: "rotate(0 16 16)", children: (0, jsx_runtime_1.jsx)("animate", { attributeName: "opacity", from: "1", to: ".1", dur: "1s", repeatCount: "indefinite", begin: "0" }, void 0) }, void 0), (0, jsx_runtime_1.jsx)("path", { opacity: ".1", d: "M14 0 H18 V8 H14 z", transform: "rotate(45 16 16)", children: (0, jsx_runtime_1.jsx)("animate", { attributeName: "opacity", from: "1", to: ".1", dur: "1s", repeatCount: "indefinite", begin: "0.125s" }, void 0) }, void 0), (0, jsx_runtime_1.jsx)("path", { opacity: ".1", d: "M14 0 H18 V8 H14 z", transform: "rotate(90 16 16)", children: (0, jsx_runtime_1.jsx)("animate", { attributeName: "opacity", from: "1", to: ".1", dur: "1s", repeatCount: "indefinite", begin: "0.25s" }, void 0) }, void 0), (0, jsx_runtime_1.jsx)("path", { opacity: ".1", d: "M14 0 H18 V8 H14 z", transform: "rotate(135 16 16)", children: (0, jsx_runtime_1.jsx)("animate", { attributeName: "opacity", from: "1", to: ".1", dur: "1s", repeatCount: "indefinite", begin: "0.375s" }, void 0) }, void 0), (0, jsx_runtime_1.jsx)("path", { opacity: ".1", d: "M14 0 H18 V8 H14 z", transform: "rotate(180 16 16)", children: (0, jsx_runtime_1.jsx)("animate", { attributeName: "opacity", from: "1", to: ".1", dur: "1s", repeatCount: "indefinite", begin: "0.5s" }, void 0) }, void 0), (0, jsx_runtime_1.jsx)("path", { opacity: ".1", d: "M14 0 H18 V8 H14 z", transform: "rotate(225 16 16)", children: (0, jsx_runtime_1.jsx)("animate", { attributeName: "opacity", from: "1", to: ".1", dur: "1s", repeatCount: "indefinite", begin: "0.675s" }, void 0) }, void 0), (0, jsx_runtime_1.jsx)("path", { opacity: ".1", d: "M14 0 H18 V8 H14 z", transform: "rotate(270 16 16)", children: (0, jsx_runtime_1.jsx)("animate", { attributeName: "opacity", from: "1", to: ".1", dur: "1s", repeatCount: "indefinite", begin: "0.75s" }, void 0) }, void 0), (0, jsx_runtime_1.jsx)("path", { opacity: ".1", d: "M14 0 H18 V8 H14 z", transform: "rotate(315 16 16)", children: (0, jsx_runtime_1.jsx)("animate", { attributeName: "opacity", from: "1", to: ".1", dur: "1s", repeatCount: "indefinite", begin: "0.875s" }, void 0) }, void 0)] }, void 0));
7
7
  };
8
8
  exports.Symbolicating = Symbolicating;
9
- //# sourceMappingURL=Symbolicating.js.map
@@ -1,4 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  export declare const CaretRight: () => JSX.Element;
3
3
  export declare const CaretDown: () => JSX.Element;
4
- //# sourceMappingURL=carets.d.ts.map
@@ -10,4 +10,3 @@ const CaretDown = () => {
10
10
  return ((0, jsx_runtime_1.jsx)("svg", { "aria-hidden": "true", focusable: "false", role: "img", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 320 512", style: { height: 20 }, children: (0, jsx_runtime_1.jsx)("path", { fill: "currentColor", d: "M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z" }, void 0) }, void 0));
11
11
  };
12
12
  exports.CaretDown = CaretDown;
13
- //# sourceMappingURL=carets.js.map
@@ -1,2 +1 @@
1
1
  export declare const formatLocation: (location: string) => string;
2
- //# sourceMappingURL=format-location.d.ts.map
@@ -8,4 +8,3 @@ const formatLocation = (location) => {
8
8
  return location;
9
9
  };
10
10
  exports.formatLocation = formatLocation;
11
- //# sourceMappingURL=format-location.js.map
@@ -1,2 +1 @@
1
1
  export declare const mountRemotionOverlay: () => void;
2
- //# sourceMappingURL=index.d.ts.map
@@ -16,4 +16,3 @@ const mountRemotionOverlay = () => {
16
16
  }
17
17
  };
18
18
  exports.mountRemotionOverlay = mountRemotionOverlay;
19
- //# sourceMappingURL=index.js.map
@@ -2,4 +2,3 @@ import webpack from 'webpack';
2
2
  import { LoaderOptions } from './interfaces';
3
3
  declare function ESBuildLoader(this: webpack.LoaderContext<LoaderOptions>, source: string): Promise<void>;
4
4
  export default ESBuildLoader;
5
- //# sourceMappingURL=index.d.ts.map
@@ -53,4 +53,3 @@ async function ESBuildLoader(source) {
53
53
  }
54
54
  }
55
55
  exports.default = ESBuildLoader;
56
- //# sourceMappingURL=index.js.map
@@ -9,4 +9,3 @@ export declare type LoaderOptions = Except<TransformOptions, 'sourcemap' | 'sour
9
9
  implementation: Implementation;
10
10
  };
11
11
  export {};
12
- //# sourceMappingURL=interfaces.d.ts.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=interfaces.js.map
@@ -37,4 +37,3 @@ declare const _default: {
37
37
  scheduleUpdate: typeof scheduleUpdate;
38
38
  };
39
39
  export default _default;
40
- //# sourceMappingURL=helpers.d.ts.map
@@ -143,4 +143,3 @@ exports.default = {
143
143
  getRefreshBoundarySignature,
144
144
  scheduleUpdate,
145
145
  };
146
- //# sourceMappingURL=helpers.js.map
@@ -28,4 +28,3 @@ import webpack from 'webpack';
28
28
  export declare class ReactFreshWebpackPlugin {
29
29
  apply(compiler: webpack.Compiler): void;
30
30
  }
31
- //# sourceMappingURL=index.d.ts.map
@@ -84,4 +84,3 @@ class ReactFreshWebpackPlugin {
84
84
  }
85
85
  }
86
86
  exports.ReactFreshWebpackPlugin = ReactFreshWebpackPlugin;
87
- //# sourceMappingURL=index.js.map
@@ -33,4 +33,3 @@
33
33
  import { LoaderDefinition } from 'webpack';
34
34
  declare const ReactRefreshLoader: LoaderDefinition;
35
35
  export default ReactRefreshLoader;
36
- //# sourceMappingURL=loader.d.ts.map
@@ -79,4 +79,3 @@ const ReactRefreshLoader = function (source, inputSourceMap) {
79
79
  this.callback(null, `${source}\n\n;${refreshModuleRuntime}`, inputSourceMap);
80
80
  };
81
81
  exports.default = ReactRefreshLoader;
82
- //# sourceMappingURL=loader.js.map
@@ -33,4 +33,3 @@ declare global {
33
33
  }
34
34
  }
35
35
  import RefreshHelpers from './helpers';
36
- //# sourceMappingURL=runtime.d.ts.map
@@ -30,4 +30,3 @@ self.$RefreshInterceptModuleExecution$ = function (webpackModuleId) {
30
30
  self.$RefreshSig$ = prevRefreshSig;
31
31
  };
32
32
  };
33
- //# sourceMappingURL=runtime.js.map
@@ -1,2 +1 @@
1
1
  export declare const getLatestRemotionVersion: () => Promise<any>;
2
- //# sourceMappingURL=get-latest-remotion-version.d.ts.map
@@ -29,4 +29,3 @@ const getLatestRemotionVersion = async () => {
29
29
  return JSON.parse(pkgJson)['dist-tags'].latest;
30
30
  };
31
31
  exports.getLatestRemotionVersion = getLatestRemotionVersion;
32
- //# sourceMappingURL=get-latest-remotion-version.js.map
@@ -6,4 +6,3 @@ declare type LockfilePath = {
6
6
  export declare const lockFilePaths: LockfilePath[];
7
7
  export declare const getPackageManager: () => PackageManager | 'unknown';
8
8
  export {};
9
- //# sourceMappingURL=get-package-manager.d.ts.map
@@ -36,4 +36,3 @@ const getPackageManager = () => {
36
36
  return existingPkgManagers[0].manager;
37
37
  };
38
38
  exports.getPackageManager = getPackageManager;
39
- //# sourceMappingURL=get-package-manager.js.map
@@ -1,2 +1 @@
1
1
  export declare const getDesiredPort: (desiredPort: number | undefined, from: number, to: number) => Promise<number>;
2
- //# sourceMappingURL=get-port.d.ts.map
package/dist/get-port.js CHANGED
@@ -76,4 +76,3 @@ const makeRange = (from, to) => {
76
76
  };
77
77
  return generator(from, to);
78
78
  };
79
- //# sourceMappingURL=get-port.js.map
@@ -1,4 +1,3 @@
1
1
  import React from 'react';
2
2
  export declare const AvailableCompositions: React.FC;
3
3
  export declare const Homepage: React.FC;
4
- //# sourceMappingURL=homepage.d.ts.map
@@ -61,4 +61,3 @@ const Homepage = () => {
61
61
  return ((0, jsx_runtime_1.jsxs)("div", { style: container, children: [(0, jsx_runtime_1.jsx)("h1", { children: "Remotion Bundle" }, void 0), "This is a website which contains a bundled Remotion video. You can render videos based on this URL.", (0, jsx_runtime_1.jsx)("h2", { children: "Available compositions" }, void 0), (0, jsx_runtime_1.jsx)(exports.AvailableCompositions, {}, void 0), (0, jsx_runtime_1.jsx)("h2", { children: "How to render" }, void 0), "Locally: ", (0, jsx_runtime_1.jsx)("br", {}, void 0), (0, jsx_runtime_1.jsx)("br", {}, void 0), (0, jsx_runtime_1.jsxs)("div", { style: pre, children: ["npx remotion render ", url, " ", '<comp-name> <output-location>'] }, void 0), (0, jsx_runtime_1.jsx)("br", {}, void 0), (0, jsx_runtime_1.jsx)("br", {}, void 0), "With Remotion Lambda: ", (0, jsx_runtime_1.jsx)("br", {}, void 0), (0, jsx_runtime_1.jsx)("br", {}, void 0), (0, jsx_runtime_1.jsxs)("div", { style: pre, children: ["npx remotion lambda render ", url, " ", '<comp-name>'] }, void 0), (0, jsx_runtime_1.jsx)("br", {}, void 0), (0, jsx_runtime_1.jsxs)("p", { children: ["You can also render still images, and use the Node.JS APIs", ' ', (0, jsx_runtime_1.jsx)("code", { children: "getCompositions()" }, void 0), ", ", (0, jsx_runtime_1.jsx)("code", { children: "renderMedia()" }, void 0), ",", ' ', (0, jsx_runtime_1.jsx)("code", { children: "renderMediaOnLambda()" }, void 0), ", ", (0, jsx_runtime_1.jsx)("code", { children: "renderStill()" }, void 0), " and", ' ', (0, jsx_runtime_1.jsx)("code", { children: "renderStillOnLambda()" }, void 0), " with this URL."] }, void 0), (0, jsx_runtime_1.jsxs)("p", { children: ["Visit", ' ', (0, jsx_runtime_1.jsx)("a", { href: "https://remotion.dev/docs", target: "_blank", children: "remotion.dev/docs" }, void 0), ' ', "to read the documentation."] }, void 0)] }, void 0));
62
62
  };
63
63
  exports.Homepage = Homepage;
64
- //# sourceMappingURL=homepage.js.map
@@ -17,4 +17,3 @@ declare function createReporter(): {
17
17
  success: () => undefined;
18
18
  };
19
19
  export {};
20
- //# sourceMappingURL=client.d.ts.map
@@ -204,4 +204,3 @@ module.exports = {
204
204
  },
205
205
  setOptionsAndConnect,
206
206
  };
207
- //# sourceMappingURL=client.js.map
@@ -11,4 +11,3 @@ export declare const webpackHotMiddleware: (compiler: webpack.Compiler) => {
11
11
  publish(payload: HotMiddlewareMessage): void;
12
12
  close(): void;
13
13
  };
14
- //# sourceMappingURL=index.d.ts.map
@@ -178,4 +178,3 @@ function buildModuleMap(modules) {
178
178
  });
179
179
  return map;
180
180
  }
181
- //# sourceMappingURL=index.js.map
@@ -10,4 +10,3 @@
10
10
  */
11
11
  import { HotMiddlewareOptions, ModuleMap } from './types';
12
12
  export declare const processUpdate: (hash: string | undefined, moduleMap: ModuleMap, options: HotMiddlewareOptions) => void;
13
- //# sourceMappingURL=process-update.d.ts.map
@@ -145,4 +145,3 @@ const processUpdate = function (hash, moduleMap, options) {
145
145
  }
146
146
  };
147
147
  exports.processUpdate = processUpdate;
148
- //# sourceMappingURL=process-update.js.map
@@ -1,2 +1 @@
1
1
  export declare const stripAnsi: (str: string) => string;
2
- //# sourceMappingURL=strip-ansi.d.ts.map
@@ -19,4 +19,3 @@ const stripAnsi = (str) => {
19
19
  return str.replace(ansiRegex(), '');
20
20
  };
21
21
  exports.stripAnsi = stripAnsi;
22
- //# sourceMappingURL=strip-ansi.js.map
@@ -35,4 +35,3 @@ export declare type WebpackStats = ReturnType<webpack.Stats['toJson']>;
35
35
  export declare type ModuleMap = {
36
36
  [key: string]: string;
37
37
  };
38
- //# sourceMappingURL=types.d.ts.map
@@ -15,4 +15,3 @@ exports.hotMiddlewareOptions = {
15
15
  ansiColors: {},
16
16
  heartbeat: 10 * 1000,
17
17
  };
18
- //# sourceMappingURL=types.js.map
package/dist/index.d.ts CHANGED
@@ -22,4 +22,3 @@ export declare const BundlerInternals: {
22
22
  export { bundle } from './bundler';
23
23
  export { PackageManager } from './get-package-manager';
24
24
  export type { ProjectInfo } from './project-info';
25
- //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -22,4 +22,3 @@ exports.BundlerInternals = {
22
22
  };
23
23
  var bundler_1 = require("./bundler");
24
24
  Object.defineProperty(exports, "bundle", { enumerable: true, get: function () { return bundler_1.bundle; } });
25
- //# sourceMappingURL=index.js.map
@@ -3,4 +3,3 @@ export declare type ProjectInfo = {
3
3
  relativeVideoFile: string | null;
4
4
  };
5
5
  export declare const getProjectInfo: () => Promise<ProjectInfo>;
6
- //# sourceMappingURL=project-info.d.ts.map
@@ -20,4 +20,3 @@ const getProjectInfo = () => {
20
20
  });
21
21
  };
22
22
  exports.getProjectInfo = getProjectInfo;
23
- //# sourceMappingURL=project-info.js.map
@@ -1,3 +1,2 @@
1
1
  import { BundleState } from 'remotion';
2
2
  export declare const setBundleModeAndUpdate: (state: BundleState) => void;
3
- //# sourceMappingURL=renderEntry.d.ts.map
@@ -157,4 +157,3 @@ if (typeof window !== 'undefined') {
157
157
  window.siteVersion = '2';
158
158
  window.setBundleMode = exports.setBundleModeAndUpdate;
159
159
  }
160
- //# sourceMappingURL=renderEntry.js.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=setup-environment.d.ts.map
@@ -12,4 +12,3 @@ remotion_1.Internals.CSSUtils.injectCSS(`
12
12
  font-family: Arial, Helvetica, sans-serif;
13
13
  }
14
14
  `);
15
- //# sourceMappingURL=setup-environment.js.map
@@ -6,4 +6,3 @@ export declare const startServer: (entry: string, userDefinedComponent: string,
6
6
  port?: number | undefined;
7
7
  maxTimelineTracks?: number | undefined;
8
8
  } | undefined) => Promise<number>;
9
- //# sourceMappingURL=start-server.d.ts.map
@@ -130,4 +130,3 @@ const startServer = async (entry, userDefinedComponent, options) => {
130
130
  return port;
131
131
  };
132
132
  exports.startServer = startServer;
133
- //# sourceMappingURL=start-server.js.map
@@ -1,2 +1 @@
1
1
  export declare const indexHtml: (staticHash: string, baseDir: string, editorName: string | null) => string;
2
- //# sourceMappingURL=static-preview.d.ts.map
@@ -38,4 +38,3 @@ const indexHtml = (staticHash, baseDir, editorName) => `
38
38
  </html>
39
39
  `.trim();
40
40
  exports.indexHtml = indexHtml;
41
- //# sourceMappingURL=static-preview.js.map
@@ -1,2 +1 @@
1
1
  export declare const expectToThrow: (func: Function, err: RegExp) => void;
2
- //# sourceMappingURL=expect-to-throw.d.ts.map
@@ -12,4 +12,3 @@ const expectToThrow = (func, err) => {
12
12
  console.error.mockRestore();
13
13
  };
14
14
  exports.expectToThrow = expectToThrow;
15
- //# sourceMappingURL=expect-to-throw.js.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=latest-remotion-version.test.d.ts.map
@@ -4,4 +4,3 @@ const get_latest_remotion_version_1 = require("../get-latest-remotion-version");
4
4
  test('Should be able to get a Remotion version', async () => {
5
5
  expect(await (0, get_latest_remotion_version_1.getLatestRemotionVersion)()).toMatch(/^(([0-9]+)\.([0-9]+)\.([0-9]+))$/);
6
6
  });
7
- //# sourceMappingURL=latest-remotion-version.test.js.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=parse-error-stack.test.d.ts.map
@@ -15,4 +15,3 @@ test('Parse error stack', () => {
15
15
  message: 'error: Expected ">" but found "\\": 100}\'`\\n\\t\\t\\t\\tdurationInFrames={inputProps?.duration ?? 20}\\n\\t\\t\\t/>\\n\\t\\t\\t<Composition\\n\\t\\t\\t\\tid=\\""',
16
16
  });
17
17
  });
18
- //# sourceMappingURL=parse-error-stack.test.js.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=parse-module-not-found.test.d.ts.map
@@ -15,4 +15,3 @@ test('Parse error stack', () => {
15
15
  message: "Error: Cannot find module 'does not exist'",
16
16
  });
17
17
  });
18
- //# sourceMappingURL=parse-module-not-found.test.js.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=secure-source-read.test.d.ts.map
@@ -6,4 +6,3 @@ test('Should not allow to read files outside of the project', () => {
6
6
  (0, expect_to_throw_1.expectToThrow)(() => (0, get_file_source_1.getFileSource)('/etc/passwd'), /Not allowed to open/);
7
7
  (0, expect_to_throw_1.expectToThrow)(() => (0, get_file_source_1.getFileSource)('.env'), /Not allowed to open/);
8
8
  });
9
- //# sourceMappingURL=secure-source-read.test.js.map
@@ -8,4 +8,3 @@ declare type Info = {
8
8
  };
9
9
  export declare const isUpdateAvailableWithTimeout: () => Promise<Info>;
10
10
  export {};
11
- //# sourceMappingURL=update-available.d.ts.map
@@ -34,4 +34,3 @@ const isUpdateAvailableWithTimeout = () => {
34
34
  return Promise.race([threeSecTimeout, isUpdateAvailable(version)]);
35
35
  };
36
36
  exports.isUpdateAvailableWithTimeout = isUpdateAvailableWithTimeout;
37
- //# sourceMappingURL=update-available.js.map
@@ -10,4 +10,3 @@ export declare const clearCache: (environment: Environment, inputProps: object |
10
10
  export declare const getWebpackCacheName: (environment: Environment, inputProps: object | null) => string;
11
11
  export declare const cacheExists: (environment: Environment, inputProps: object | null) => boolean;
12
12
  export {};
13
- //# sourceMappingURL=webpack-cache.d.ts.map
@@ -64,4 +64,3 @@ const cacheExists = (environment, inputProps) => {
64
64
  return fs_1.default.existsSync(remotionCacheLocation(environment, inputProps));
65
65
  };
66
66
  exports.cacheExists = cacheExists;
67
- //# sourceMappingURL=webpack-cache.js.map
@@ -11,4 +11,3 @@ export declare const webpackConfig: ({ entry, userDefinedComponent, outDir, envi
11
11
  envVariables: Record<string, string>;
12
12
  maxTimelineTracks: number;
13
13
  }) => WebpackConfiguration;
14
- //# sourceMappingURL=webpack-config.d.ts.map
@@ -148,6 +148,7 @@ const webpackConfig = ({ entry, userDefinedComponent, outDir, environment, webpa
148
148
  loader: require.resolve('./esbuild-loader/index.js'),
149
149
  options: esbuildLoaderOptions,
150
150
  },
151
+ // Keep the order to match babel-loader
151
152
  environment === 'development'
152
153
  ? {
153
154
  loader: require.resolve('./fast-refresh/loader.js'),
@@ -185,4 +186,3 @@ const webpackConfig = ({ entry, userDefinedComponent, outDir, environment, webpa
185
186
  });
186
187
  };
187
188
  exports.webpackConfig = webpackConfig;
188
- //# sourceMappingURL=webpack-config.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/bundler",
3
- "version": "3.0.4",
3
+ "version": "3.0.7",
4
4
  "description": "Bundler for Remotion",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -31,7 +31,7 @@
31
31
  "memfs": "3.4.0",
32
32
  "mime-types": "2.1.34",
33
33
  "react-refresh": "0.9.0",
34
- "remotion": "3.0.4",
34
+ "remotion": "3.0.7",
35
35
  "semver": "7.3.4",
36
36
  "source-map": "0.6.1",
37
37
  "source-map-loader": "3.0.0",
@@ -77,5 +77,5 @@
77
77
  "publishConfig": {
78
78
  "access": "public"
79
79
  },
80
- "gitHead": "fe6cd08c090ed8aa6c2a1b610851c0ab97749a2c"
80
+ "gitHead": "e44469b9a64608db9bec219339bf93a0ac6e9655"
81
81
  }