@remotion/cli 3.0.20 → 3.0.23
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/code-frame.d.ts +1 -1
- package/dist/download-progress.d.ts +1 -1
- package/dist/editor/components/CompositionSelectorItem.d.ts +1 -1
- package/dist/editor/components/FramePersistor.d.ts +1 -1
- package/dist/editor/components/GlobalKeybindings.d.ts +1 -1
- package/dist/editor/components/InitialCompositionLoader.d.ts +2 -2
- package/dist/editor/components/Menu/MenuItem.d.ts +1 -1
- package/dist/editor/components/Menu/MenuSubItem.d.ts +1 -1
- package/dist/editor/components/Menu/SubMenu.d.ts +2 -2
- package/dist/editor/components/NewComposition/CancelButton.d.ts +2 -1
- package/dist/editor/components/NewComposition/InputDragger.d.ts +2 -1
- package/dist/editor/components/NewComposition/MenuContent.d.ts +1 -1
- package/dist/editor/components/NewComposition/NewComposition.d.ts +1 -1
- package/dist/editor/components/NewComposition/new-comp-layout.d.ts +1 -1
- package/dist/editor/components/PlaybackKeyboardShortcutsManager.d.ts +1 -1
- package/dist/editor/components/PlaybackRatePersistor.d.ts +1 -1
- package/dist/editor/components/Preview.d.ts +1 -1
- package/dist/editor/components/SizeSelector.d.ts +1 -1
- package/dist/editor/components/Splitter/SplitterContainer.d.ts +1 -1
- package/dist/editor/components/Thumbnail.d.ts +1 -1
- package/dist/editor/components/Timeline/TimelineList.d.ts +2 -2
- package/dist/editor/components/Timeline/TimelineListItem.d.ts +2 -2
- package/dist/editor/components/Timeline/TimelineSequence.d.ts +1 -1
- package/dist/editor/components/Timeline/TimelineTracks.d.ts +2 -2
- package/dist/editor/components/Timeline/is-collapsed.d.ts +2 -2
- package/dist/editor/components/UpdateCheck.d.ts +1 -1
- package/dist/editor/components/UpdateModal/UpdateModal.d.ts +1 -1
- package/dist/editor/helpers/calculate-timeline.d.ts +2 -2
- package/dist/editor/helpers/create-folder-tree.d.ts +2 -2
- package/dist/editor/helpers/get-sequence-visible-range.d.ts +1 -1
- package/dist/editor/helpers/get-timeline-nestedness.d.ts +1 -1
- package/dist/editor/helpers/get-timeline-sequence-hash.d.ts +1 -1
- package/dist/editor/helpers/get-timeline-sequence-layout.d.ts +1 -1
- package/dist/editor/helpers/get-timeline-sequence-sort-key.d.ts +1 -1
- package/dist/editor/helpers/is-composition-still.d.ts +1 -1
- package/dist/editor/helpers/use-keybinding.d.ts +1 -1
- package/dist/editor/helpers/validate-new-comp-data.d.ts +1 -1
- package/dist/editor/icons/film.d.ts +2 -1
- package/dist/editor/icons/folder.d.ts +2 -1
- package/dist/editor/icons/jump-to-start.d.ts +1 -1
- package/dist/editor/icons/lock.d.ts +2 -1
- package/dist/editor/icons/pause.d.ts +2 -1
- package/dist/editor/icons/play.d.ts +2 -1
- package/dist/editor/icons/step-back.d.ts +2 -1
- package/dist/editor/icons/step-forward.d.ts +2 -1
- package/dist/editor/icons/still.d.ts +2 -1
- package/dist/editor/icons/timeline.d.ts +2 -1
- package/dist/editor/icons/timelineInOutPointer.d.ts +2 -1
- package/dist/editor/state/folders.d.ts +1 -1
- package/dist/editor/state/modals.d.ts +2 -2
- package/dist/editor/state/preview-size.d.ts +1 -1
- package/dist/get-cli-options.d.ts +2 -2
- package/dist/get-composition-id.d.ts +1 -1
- package/dist/get-filename.d.ts +1 -1
- package/dist/image-formats.d.ts +2 -1
- package/dist/parse-command-line.d.ts +1 -1
- package/dist/preview-server/dev-middleware/compatible-api.d.ts +2 -2
- package/dist/preview-server/dev-middleware/get-paths.d.ts +1 -1
- package/dist/preview-server/dev-middleware/index.d.ts +2 -2
- package/dist/preview-server/dev-middleware/middleware.d.ts +2 -2
- package/dist/preview-server/dev-middleware/ready.d.ts +2 -2
- package/dist/preview-server/dev-middleware/setup-hooks.d.ts +1 -1
- package/dist/preview-server/dev-middleware/setup-output-filesystem.d.ts +1 -1
- package/dist/preview-server/dev-middleware/types.d.ts +1 -1
- package/dist/preview-server/error-overlay/react-overlay/effects/format-warning.d.ts +1 -1
- package/dist/preview-server/error-overlay/react-overlay/effects/resolve-file-source.d.ts +2 -2
- package/dist/preview-server/error-overlay/react-overlay/listen-to-runtime-errors.d.ts +1 -1
- package/dist/preview-server/error-overlay/react-overlay/utils/get-lines-around.d.ts +1 -1
- package/dist/preview-server/error-overlay/react-overlay/utils/get-source-map.d.ts +0 -6
- package/dist/preview-server/error-overlay/react-overlay/utils/get-source-map.js +0 -8
- package/dist/preview-server/error-overlay/react-overlay/utils/open-in-editor.js +0 -9
- package/dist/preview-server/error-overlay/react-overlay/utils/parser.d.ts +1 -1
- package/dist/preview-server/error-overlay/react-overlay/utils/unmapper.d.ts +1 -1
- package/dist/preview-server/error-overlay/remotion-overlay/AskOnDiscord.js +1 -1
- package/dist/preview-server/error-overlay/remotion-overlay/CodeFrame.d.ts +1 -1
- package/dist/preview-server/error-overlay/remotion-overlay/ErrorDisplay.d.ts +1 -1
- package/dist/preview-server/error-overlay/remotion-overlay/OpenInEditor.d.ts +1 -1
- package/dist/preview-server/error-overlay/remotion-overlay/StackFrame.d.ts +1 -1
- package/dist/preview-server/hot-middleware/client.d.ts +1 -1
- package/dist/preview-server/hot-middleware/index.d.ts +2 -2
- package/dist/preview-server/hot-middleware/process-update.d.ts +1 -1
- package/dist/preview-server/hot-middleware/types.d.ts +1 -1
- package/dist/preview-server/routes.d.ts +1 -1
- package/dist/preview-server/serve-static.d.ts +1 -1
- package/dist/preview-server/start-server.d.ts +1 -1
- package/dist/preview-server/update-available.d.ts +1 -1
- package/dist/progress-bar.d.ts +2 -2
- package/dist/setup-cache.d.ts +1 -1
- package/dist/warn-about-ffmpeg-version.d.ts +1 -1
- package/package.json +8 -8
package/dist/code-frame.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ErrorWithStackFrame } from '@remotion/renderer';
|
|
1
|
+
import type { ErrorWithStackFrame } from '@remotion/renderer';
|
|
2
2
|
export declare const printCodeFrameAndStack: (err: ErrorWithStackFrame) => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { DownloadProgress } from './progress-bar';
|
|
1
|
+
import type { DownloadProgress } from './progress-bar';
|
|
2
2
|
export declare const makeMultiDownloadProgress: (progresses: DownloadProgress[]) => string | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
export declare const getCurrentCompositionFromUrl: () => string;
|
|
3
3
|
export declare const persistCurrentFrame: (frame: number) => void;
|
|
4
4
|
export declare const getFrameForComposition: (composition: string) => number;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
export declare const GlobalKeybindings: React.FC;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TComposition } from 'remotion';
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { TComposition } from 'remotion';
|
|
3
3
|
export declare const useSelectComposition: () => (c: TComposition) => void;
|
|
4
4
|
export declare const InitialCompositionLoader: React.FC;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ComboboxValue } from '../NewComposition/ComboBox';
|
|
2
|
+
import type { ComboboxValue } from '../NewComposition/ComboBox';
|
|
3
3
|
export declare type MenuId = 'remotion' | 'file' | 'view' | 'help';
|
|
4
4
|
export declare type Menu = {
|
|
5
5
|
id: MenuId;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { SubMenu } from '../NewComposition/ComboBox';
|
|
2
|
+
import type { SubMenu } from '../NewComposition/ComboBox';
|
|
3
3
|
export declare const MENU_SUBMENU_BUTTON_CLASS_NAME = "remotion-submenu-button";
|
|
4
4
|
export declare type SubMenuActivated = false | 'with-mouse' | 'without-mouse';
|
|
5
5
|
export declare const MenuSubItem: React.FC<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { SubMenu } from '../NewComposition/ComboBox';
|
|
3
|
-
import { SubMenuActivated } from './MenuSubItem';
|
|
2
|
+
import type { SubMenu } from '../NewComposition/ComboBox';
|
|
3
|
+
import type { SubMenuActivated } from './MenuSubItem';
|
|
4
4
|
export declare const SubMenuComponent: React.FC<{
|
|
5
5
|
portalStyle: React.CSSProperties;
|
|
6
6
|
subMenu: SubMenu;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
export declare const PlaybackRatePersistor: React.FC;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PreviewSize } from '@remotion/player';
|
|
1
|
+
import type { PreviewSize } from '@remotion/player';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
export declare const commonPreviewSizes: PreviewSize[];
|
|
4
4
|
export declare const getPreviewSizeLabel: (previewSize: PreviewSize) => "100%" | "50%" | "25%" | "Fit" | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { TrackWithHash } from '../../helpers/get-timeline-sequence-sort-key';
|
|
3
|
-
import { TimelineActionState, TimelineViewState } from './timeline-state-reducer';
|
|
2
|
+
import type { TrackWithHash } from '../../helpers/get-timeline-sequence-sort-key';
|
|
3
|
+
import type { TimelineActionState, TimelineViewState } from './timeline-state-reducer';
|
|
4
4
|
export declare const TimelineList: React.FC<{
|
|
5
5
|
timeline: TrackWithHash[];
|
|
6
6
|
viewState: TimelineViewState;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { TSequence } from 'remotion';
|
|
3
|
-
import { TimelineActionState } from './timeline-state-reducer';
|
|
2
|
+
import type { TSequence } from 'remotion';
|
|
3
|
+
import type { TimelineActionState } from './timeline-state-reducer';
|
|
4
4
|
export declare const TimelineListItem: React.FC<{
|
|
5
5
|
sequence: TSequence;
|
|
6
6
|
nestedDepth: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { TrackWithHash } from '../../helpers/get-timeline-sequence-sort-key';
|
|
3
|
-
import { TimelineViewState } from './timeline-state-reducer';
|
|
2
|
+
import type { TrackWithHash } from '../../helpers/get-timeline-sequence-sort-key';
|
|
3
|
+
import type { TimelineViewState } from './timeline-state-reducer';
|
|
4
4
|
export declare const TimelineTracks: React.FC<{
|
|
5
5
|
timeline: TrackWithHash[];
|
|
6
6
|
fps: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TrackWithHash } from '../../helpers/get-timeline-sequence-sort-key';
|
|
2
|
-
import { TimelineViewState } from './timeline-state-reducer';
|
|
1
|
+
import type { TrackWithHash } from '../../helpers/get-timeline-sequence-sort-key';
|
|
2
|
+
import type { TimelineViewState } from './timeline-state-reducer';
|
|
3
3
|
export declare const isTrackCollapsed: (hash: string, viewState: TimelineViewState) => boolean;
|
|
4
4
|
export declare const isTrackHidden: (track: TrackWithHash, allTracks: TrackWithHash[], viewState: TimelineViewState) => boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { PackageManager } from '../../preview-server/get-package-manager';
|
|
2
|
+
import type { PackageManager } from '../../preview-server/get-package-manager';
|
|
3
3
|
export declare type UpdateInfo = {
|
|
4
4
|
currentVersion: string;
|
|
5
5
|
latestVersion: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TSequence } from 'remotion';
|
|
2
|
-
import { TrackWithHash } from './get-timeline-sequence-sort-key';
|
|
1
|
+
import type { TSequence } from 'remotion';
|
|
2
|
+
import type { TrackWithHash } from './get-timeline-sequence-sort-key';
|
|
3
3
|
export declare type SequenceWithOverlap = {
|
|
4
4
|
sequence: TSequence;
|
|
5
5
|
overlaps: TSequence[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TComposition, TFolder } from 'remotion';
|
|
2
|
-
import { CompositionSelectorItemType } from '../components/CompositionSelectorItem';
|
|
1
|
+
import type { TComposition, TFolder } from 'remotion';
|
|
2
|
+
import type { CompositionSelectorItemType } from '../components/CompositionSelectorItem';
|
|
3
3
|
export declare const splitParentIntoNameAndParent: (name: string | null) => {
|
|
4
4
|
name: string | null;
|
|
5
5
|
parent: string | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TSequence } from 'remotion';
|
|
1
|
+
import type { TSequence } from 'remotion';
|
|
2
2
|
export declare const getCascadedStart: (sequence: TSequence, sequences: TSequence[]) => number;
|
|
3
3
|
export declare const getTimelineVisibleStart: (sequence: TSequence, sequences: TSequence[]) => number;
|
|
4
4
|
export declare const getTimelineVisibleDuration: (sequence: TSequence, sequences: TSequence[]) => number;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TSequence } from 'remotion';
|
|
1
|
+
import type { TSequence } from 'remotion';
|
|
2
2
|
export declare const getTimelineNestedLevel: (sequence: TSequence, allSequences: TSequence[], depth: number) => number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TComposition } from 'remotion';
|
|
1
|
+
import type { TComposition } from 'remotion';
|
|
2
2
|
export declare const SEQUENCE_BORDER_WIDTH = 1;
|
|
3
3
|
export declare const getTimelineSequenceLayout: ({ durationInFrames, startFrom, maxMediaDuration, startFromMedia, video, windowWidth, }: {
|
|
4
4
|
durationInFrames: number;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TComposition } from 'remotion';
|
|
1
|
+
import type { TComposition } from 'remotion';
|
|
2
2
|
export declare const isCompositionStill: (comp: TComposition) => boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { KeyEventType } from '../state/keybindings';
|
|
1
|
+
import type { KeyEventType } from '../state/keybindings';
|
|
2
2
|
export declare const useKeybinding: () => {
|
|
3
3
|
registerKeybinding: (event: KeyEventType, key: string, callback: (e: KeyboardEvent) => void) => {
|
|
4
4
|
unregister: () => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TComposition } from 'remotion';
|
|
1
|
+
import type { TComposition } from 'remotion';
|
|
2
2
|
export declare const validateCompositionName: (compName: string, compositions: TComposition<unknown>[]) => string | null;
|
|
3
3
|
export declare const validateCompositionDimension: (dimension: 'Width' | 'Height', value: string) => string | null;
|
|
4
4
|
export declare const validateCompositionDuration: (value: string) => string | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SVGProps } from 'react';
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
2
|
export declare const JumpToStart: React.FC<SVGProps<SVGSVGElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ExpandedFoldersState } from '../helpers/persist-open-folders';
|
|
2
|
+
import type { ExpandedFoldersState } from '../helpers/persist-open-folders';
|
|
3
3
|
declare type TFolderContext = {
|
|
4
4
|
foldersExpanded: ExpandedFoldersState;
|
|
5
5
|
setFoldersExpanded: React.Dispatch<React.SetStateAction<ExpandedFoldersState>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { UpdateInfo } from '../components/UpdateCheck';
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { UpdateInfo } from '../components/UpdateCheck';
|
|
3
3
|
export declare type CompType = 'composition' | 'still';
|
|
4
4
|
export declare type ModalState = {
|
|
5
5
|
type: 'new-comp';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ChromiumOptions } from '@remotion/renderer';
|
|
2
|
-
import { BrowserExecutable, FrameRange } from 'remotion';
|
|
1
|
+
import type { ChromiumOptions } from '@remotion/renderer';
|
|
2
|
+
import type { BrowserExecutable, FrameRange } from 'remotion';
|
|
3
3
|
export declare const getCliOptions: (options: {
|
|
4
4
|
isLambda: boolean;
|
|
5
5
|
type: 'still' | 'series' | 'get-compositions';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TCompMetadata } from 'remotion';
|
|
1
|
+
import type { TCompMetadata } from 'remotion';
|
|
2
2
|
export declare const getCompositionId: (comps: TCompMetadata[]) => string;
|
package/dist/get-filename.d.ts
CHANGED
package/dist/image-formats.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import minimist from 'minimist';
|
|
2
|
-
import { BrowserExecutable, Codec, FfmpegExecutable, ImageFormat, OpenGlRenderer, PixelFormat, ProResProfile } from 'remotion';
|
|
2
|
+
import type { BrowserExecutable, Codec, FfmpegExecutable, ImageFormat, OpenGlRenderer, PixelFormat, ProResProfile } from 'remotion';
|
|
3
3
|
export declare type CommandLineOptions = {
|
|
4
4
|
['browser-executable']: BrowserExecutable;
|
|
5
5
|
['ffmpeg-executable']: FfmpegExecutable;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
/// <reference types="node" />
|
|
3
3
|
/// <reference types="node" />
|
|
4
|
-
import { ReadStream } from 'fs';
|
|
5
|
-
import { IncomingMessage, ServerResponse } from 'http';
|
|
4
|
+
import type { ReadStream } from 'fs';
|
|
5
|
+
import type { IncomingMessage, ServerResponse } from 'http';
|
|
6
6
|
export declare function setHeaderForResponse(res: ServerResponse, name: string, value: string | number): void;
|
|
7
7
|
export declare function send(req: IncomingMessage, res: ServerResponse, bufferOtStream: ReadStream | string | Buffer, byteLength: number): void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { webpack } from '@remotion/bundler';
|
|
2
|
-
import { MiddleWare } from './middleware';
|
|
1
|
+
import type { webpack } from '@remotion/bundler';
|
|
2
|
+
import type { MiddleWare } from './middleware';
|
|
3
3
|
export declare const wdm: (compiler: webpack.Compiler) => MiddleWare;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import { IncomingMessage, ServerResponse } from 'http';
|
|
3
|
-
import { DevMiddlewareContext } from './types';
|
|
2
|
+
import type { IncomingMessage, ServerResponse } from 'http';
|
|
3
|
+
import type { DevMiddlewareContext } from './types';
|
|
4
4
|
export declare function getFilenameFromUrl(context: DevMiddlewareContext, url: string | undefined): string | undefined;
|
|
5
5
|
export declare function getValueContentRangeHeader(type: string, size: number, range?: {
|
|
6
6
|
start: number;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { webpack } from '@remotion/bundler';
|
|
2
|
-
import { DevMiddlewareContext } from './types';
|
|
1
|
+
import type { webpack } from '@remotion/bundler';
|
|
2
|
+
import type { DevMiddlewareContext } from './types';
|
|
3
3
|
export declare function ready(context: DevMiddlewareContext, callback: (stats: webpack.Stats | undefined) => undefined | Promise<void>): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { DevMiddlewareContext } from './types';
|
|
1
|
+
import type { DevMiddlewareContext } from './types';
|
|
2
2
|
export declare function setupHooks(context: DevMiddlewareContext): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { DevMiddlewareContext } from './types';
|
|
1
|
+
import type { DevMiddlewareContext } from './types';
|
|
2
2
|
export declare function setupOutputFileSystem(context: DevMiddlewareContext): void;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
import { ReactFrame } from './proxy-console';
|
|
7
|
+
import type { ReactFrame } from './proxy-console';
|
|
8
8
|
export declare function massageWarning(warning: string, frames: ReactFrame[]): {
|
|
9
9
|
message: string;
|
|
10
10
|
stack: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { SymbolicatedStackFrame } from '../utils/stack-frame';
|
|
2
|
-
import { ErrorLocation } from './map-error-to-react-stack';
|
|
1
|
+
import type { SymbolicatedStackFrame } from '../utils/stack-frame';
|
|
2
|
+
import type { ErrorLocation } from './map-error-to-react-stack';
|
|
3
3
|
export declare const resolveFileSource: (location: ErrorLocation, contextLines: number) => Promise<SymbolicatedStackFrame>;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
import { ScriptLine } from './stack-frame';
|
|
7
|
+
import type { ScriptLine } from './stack-frame';
|
|
8
8
|
/**
|
|
9
9
|
*
|
|
10
10
|
* @param {number} line The line number to provide context around.
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2015-present, Facebook, Inc.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
1
|
import { SourceMapConsumer } from 'source-map';
|
|
8
2
|
export declare const getOriginalPosition: (source_map: SourceMapConsumer, line: number, column: number) => {
|
|
9
3
|
source: string | null;
|
|
@@ -4,14 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.getSourceMap = exports.getOriginalPosition = void 0;
|
|
7
|
-
/* eslint-disable no-eq-null */
|
|
8
|
-
/* eslint-disable eqeqeq */
|
|
9
|
-
/**
|
|
10
|
-
* Copyright (c) 2015-present, Facebook, Inc.
|
|
11
|
-
*
|
|
12
|
-
* This source code is licensed under the MIT license found in the
|
|
13
|
-
* LICENSE file in the root directory of this source tree.
|
|
14
|
-
*/
|
|
15
7
|
const source_map_1 = require("source-map");
|
|
16
8
|
const getOriginalPosition = (source_map, line, column) => {
|
|
17
9
|
const result = source_map.originalPositionFor({
|
|
@@ -28,15 +28,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
30
|
exports.launchEditor = exports.guessEditor = exports.getDisplayNameForEditor = void 0;
|
|
31
|
-
/*
|
|
32
|
-
Source code adapted from https://github.com/facebook/create-react-app/tree/main/packages/react-error-overlay and refactored in Typescript. This file is MIT-licensed.
|
|
33
|
-
*/
|
|
34
|
-
/**
|
|
35
|
-
* Copyright (c) 2015-present, Facebook, Inc.
|
|
36
|
-
*
|
|
37
|
-
* This source code is licensed under the MIT license found in the
|
|
38
|
-
* LICENSE file in the root directory of this source tree.
|
|
39
|
-
*/
|
|
40
31
|
const child_process_1 = __importStar(require("child_process"));
|
|
41
32
|
const fs_1 = __importDefault(require("fs"));
|
|
42
33
|
const os_1 = __importDefault(require("os"));
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SomeStackFrame } from './stack-frame';
|
|
1
|
+
import type { SomeStackFrame } from './stack-frame';
|
|
2
2
|
export declare const parseError: (error: Error | string | string[], contextLines: number) => Promise<SomeStackFrame[]>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SomeStackFrame, SymbolicatedStackFrame } from './stack-frame';
|
|
1
|
+
import type { SomeStackFrame, SymbolicatedStackFrame } from './stack-frame';
|
|
2
2
|
export declare const unmap: (frames: SomeStackFrame[], contextLines: number) => Promise<SymbolicatedStackFrame[]>;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AskOnDiscord = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const DISCORD_LINK = 'https://
|
|
5
|
+
const DISCORD_LINK = 'https://remotion.dev/discord';
|
|
6
6
|
const react_1 = require("react");
|
|
7
7
|
const Button_1 = require("./Button");
|
|
8
8
|
const AskOnDiscord = () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { SymbolicatedStackFrame } from '../react-overlay/utils/stack-frame';
|
|
2
|
+
import type { SymbolicatedStackFrame } from '../react-overlay/utils/stack-frame';
|
|
3
3
|
export declare const OpenInEditor: React.FC<{
|
|
4
4
|
stack: SymbolicatedStackFrame;
|
|
5
5
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { SymbolicatedStackFrame } from '../react-overlay/utils/stack-frame';
|
|
2
|
+
import type { SymbolicatedStackFrame } from '../react-overlay/utils/stack-frame';
|
|
3
3
|
export declare const StackElement: React.FC<{
|
|
4
4
|
s: SymbolicatedStackFrame;
|
|
5
5
|
lineNumberWidth: number;
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
* https://github.com/webpack-contrib/webpack-hot-middleware#readme
|
|
4
4
|
* and rewritten in TypeScript. This file is MIT licensed
|
|
5
5
|
*/
|
|
6
|
-
import { webpack } from '@remotion/bundler';
|
|
7
|
-
import { IncomingMessage, ServerResponse } from 'http';
|
|
6
|
+
import type { webpack } from '@remotion/bundler';
|
|
7
|
+
import type { IncomingMessage, ServerResponse } from 'http';
|
|
8
8
|
export declare const webpackHotMiddleware: (compiler: webpack.Compiler) => (req: IncomingMessage, res: ServerResponse, next: () => void) => void;
|
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
* c0afdf9c6abc1dd70707c594e473802a566f7b6e/hot/only-dev-server.js
|
|
9
9
|
* Original copyright Tobias Koppers @sokra (MIT license)
|
|
10
10
|
*/
|
|
11
|
-
import { HotMiddlewareOptions, ModuleMap } from './types';
|
|
11
|
+
import type { HotMiddlewareOptions, ModuleMap } from './types';
|
|
12
12
|
export declare const processUpdate: (hash: string | undefined, moduleMap: ModuleMap, options: HotMiddlewareOptions) => void;
|
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* Copyright(c) 2014-2016 Douglas Christopher Wilson
|
|
6
6
|
* MIT Licensed
|
|
7
7
|
*/
|
|
8
|
-
import { IncomingMessage, ServerResponse } from 'http';
|
|
8
|
+
import type { IncomingMessage, ServerResponse } from 'http';
|
|
9
9
|
export declare const serveStatic: (root: string, hash: string, req: IncomingMessage, res: ServerResponse) => Promise<void>;
|
package/dist/progress-bar.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { StitchingState } from '@remotion/renderer';
|
|
2
|
-
import { RenderStep } from './step';
|
|
1
|
+
import type { StitchingState } from '@remotion/renderer';
|
|
2
|
+
import type { RenderStep } from './step';
|
|
3
3
|
export declare const createProgressBar: (quiet: boolean) => {
|
|
4
4
|
update: (str: string) => boolean;
|
|
5
5
|
};
|
package/dist/setup-cache.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { RenderStep } from './step';
|
|
1
|
+
import type { RenderStep } from './step';
|
|
2
2
|
export declare const bundleOnCli: (fullPath: string, steps: RenderStep[]) => Promise<string>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/cli",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.23",
|
|
4
4
|
"description": "CLI for Remotion",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -23,16 +23,16 @@
|
|
|
23
23
|
"author": "Jonny Burger <jonny@remotion.dev>",
|
|
24
24
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@remotion/bundler": "3.0.
|
|
27
|
-
"@remotion/media-utils": "3.0.
|
|
28
|
-
"@remotion/player": "3.0.
|
|
29
|
-
"@remotion/renderer": "3.0.
|
|
26
|
+
"@remotion/bundler": "3.0.23",
|
|
27
|
+
"@remotion/media-utils": "3.0.23",
|
|
28
|
+
"@remotion/player": "3.0.23",
|
|
29
|
+
"@remotion/renderer": "3.0.23",
|
|
30
30
|
"better-opn": "2.1.1",
|
|
31
31
|
"chalk": "4.1.2",
|
|
32
32
|
"dotenv": "9.0.2",
|
|
33
33
|
"memfs": "3.4.3",
|
|
34
34
|
"minimist": "1.2.6",
|
|
35
|
-
"remotion": "3.0.
|
|
35
|
+
"remotion": "3.0.23",
|
|
36
36
|
"semver": "7.3.5",
|
|
37
37
|
"source-map": "0.6.1"
|
|
38
38
|
},
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"react-dom": ">=16.8.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@jonny/eslint-config": "3.0.
|
|
44
|
+
"@jonny/eslint-config": "3.0.266",
|
|
45
45
|
"@types/jest": "^27.4.0",
|
|
46
46
|
"@types/minimist": "^1.2.2",
|
|
47
47
|
"@types/node": "^16.7.5",
|
|
@@ -74,5 +74,5 @@
|
|
|
74
74
|
"publishConfig": {
|
|
75
75
|
"access": "public"
|
|
76
76
|
},
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "34ed74cec020662252ce42ec52223d9f66a0252b"
|
|
78
78
|
}
|