remotion 3.3.64 → 3.3.68
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/cjs/config.d.ts +4 -0
- package/dist/cjs/config.js +0 -4
- package/dist/cjs/index.d.ts +1 -2
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/index.mjs +20 -18
- package/dist/esm/version.mjs +1 -1
- package/package.json +5 -4
package/dist/cjs/config.d.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* The configuration has moved to @remotion/cli.
|
|
3
3
|
* For the moment the type definitions are going to stay here
|
|
4
4
|
*/
|
|
5
|
+
import type { Configuration } from 'webpack';
|
|
5
6
|
declare type Concurrency = number | null;
|
|
6
7
|
declare type BrowserExecutable = string | null;
|
|
7
8
|
declare type FrameRange = number | [number, number];
|
|
@@ -9,6 +10,8 @@ declare type FfmpegExecutable = string | null;
|
|
|
9
10
|
declare type Loop = number | null;
|
|
10
11
|
declare type CodecOrUndefined = 'h264' | 'h265' | 'vp8' | 'vp9' | 'mp3' | 'aac' | 'wav' | 'prores' | 'h264-mkv' | 'gif' | undefined;
|
|
11
12
|
declare type Crf = number | undefined;
|
|
13
|
+
export declare type WebpackConfiguration = Configuration;
|
|
14
|
+
export declare type WebpackOverrideFn = (currentConfiguration: WebpackConfiguration) => WebpackConfiguration;
|
|
12
15
|
declare type FlatConfig = RemotionConfigObject['Bundling'] & RemotionConfigObject['Log'] & RemotionConfigObject['Preview'] & RemotionConfigObject['Puppeteer'] & RemotionConfigObject['Output'] & RemotionConfigObject['Rendering'] & {
|
|
13
16
|
/**
|
|
14
17
|
* Set the audio codec to use for the output video.
|
|
@@ -40,6 +43,7 @@ declare global {
|
|
|
40
43
|
* You can set an absolute path or a relative path that will be resolved from the closest package.json location.
|
|
41
44
|
*/
|
|
42
45
|
readonly setPublicDir: (publicDir: string | null) => void;
|
|
46
|
+
readonly overrideWebpackConfig: (f: WebpackOverrideFn) => void;
|
|
43
47
|
}
|
|
44
48
|
interface RemotionConfigObject {
|
|
45
49
|
/**
|
package/dist/cjs/config.js
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* The configuration has moved to @remotion/cli.
|
|
4
|
-
* For the moment the type definitions are going to stay here
|
|
5
|
-
*/
|
|
6
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
3
|
exports.enableLegacyRemotionConfig = exports.Config = void 0;
|
|
8
4
|
const conf = {};
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -51,7 +51,7 @@ export * from './audio/index.js';
|
|
|
51
51
|
export { cancelRender } from './cancel-render.js';
|
|
52
52
|
export * from './Composition.js';
|
|
53
53
|
export { SmallTCompMetadata, TAsset, TCompMetadata, } from './CompositionManager.js';
|
|
54
|
-
export { Config, ConfigType } from './config.js';
|
|
54
|
+
export { Config, ConfigType, WebpackConfiguration, WebpackOverrideFn, } from './config.js';
|
|
55
55
|
export { getInputProps } from './config/input-props.js';
|
|
56
56
|
export { continueRender, delayRender } from './delay-render.js';
|
|
57
57
|
export * from './easing.js';
|
|
@@ -97,4 +97,3 @@ export declare const Experimental: {
|
|
|
97
97
|
Null: import("react").FC<{}>;
|
|
98
98
|
useIsPlayer: () => boolean;
|
|
99
99
|
};
|
|
100
|
-
export declare type WebpackOverrideFn = "The 'WebpackOverrideFn' has been moved to '@remotion/bundler'. Update your imports and install '@remotion/bundler' if necessary.";
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "3.3.
|
|
1
|
+
export declare const VERSION = "3.3.68";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/index.mjs
CHANGED
|
@@ -58,7 +58,7 @@ function truthy(value) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
// Automatically generated on publish
|
|
61
|
-
const VERSION = '3.3.
|
|
61
|
+
const VERSION = '3.3.68';
|
|
62
62
|
|
|
63
63
|
const checkMultipleRemotionVersions = () => {
|
|
64
64
|
if (typeof globalThis === 'undefined') {
|
|
@@ -1989,6 +1989,24 @@ const Folder = ({ name, children, }) => {
|
|
|
1989
1989
|
return (jsx(FolderContext.Provider, { value: value, children: children }));
|
|
1990
1990
|
};
|
|
1991
1991
|
|
|
1992
|
+
const conf = {};
|
|
1993
|
+
let enabled = false;
|
|
1994
|
+
const Config = new Proxy(conf, {
|
|
1995
|
+
get(target, prop, receiver) {
|
|
1996
|
+
if (!enabled) {
|
|
1997
|
+
if (typeof document !== 'undefined') {
|
|
1998
|
+
// We are in the browser
|
|
1999
|
+
return {};
|
|
2000
|
+
}
|
|
2001
|
+
throw new Error('To use the Remotion config file, you need to have @remotion/cli installed.\n- Make sure that all versions of Remotion are the same.\n- Make sure that @remotion/cli is installed.\n- Make sure Config is imported from "@remotion/cli", not "remotion".');
|
|
2002
|
+
}
|
|
2003
|
+
return Reflect.get(target, prop, receiver);
|
|
2004
|
+
},
|
|
2005
|
+
});
|
|
2006
|
+
const enableLegacyRemotionConfig = () => {
|
|
2007
|
+
enabled = true;
|
|
2008
|
+
};
|
|
2009
|
+
|
|
1992
2010
|
const injected = {};
|
|
1993
2011
|
const injectCSS = (css) => {
|
|
1994
2012
|
// Skip in node
|
|
@@ -2363,6 +2381,7 @@ const Internals = {
|
|
|
2363
2381
|
validateOffthreadVideoImageFormat,
|
|
2364
2382
|
CanUseRemotionHooksProvider,
|
|
2365
2383
|
CanUseRemotionHooks,
|
|
2384
|
+
enableLegacyRemotionConfig,
|
|
2366
2385
|
PrefetchProvider,
|
|
2367
2386
|
DurationsContextProvider,
|
|
2368
2387
|
IsPlayerContextProvider,
|
|
@@ -2497,23 +2516,6 @@ const ClipComposition = ({ children }) => {
|
|
|
2497
2516
|
return jsx(AbsoluteFill, { style: style, children: children });
|
|
2498
2517
|
};
|
|
2499
2518
|
|
|
2500
|
-
/**
|
|
2501
|
-
* The configuration has moved to @remotion/cli.
|
|
2502
|
-
* For the moment the type definitions are going to stay here
|
|
2503
|
-
*/
|
|
2504
|
-
const conf = {};
|
|
2505
|
-
const Config = new Proxy(conf, {
|
|
2506
|
-
get(target, prop, receiver) {
|
|
2507
|
-
{
|
|
2508
|
-
if (typeof document !== 'undefined') {
|
|
2509
|
-
// We are in the browser
|
|
2510
|
-
return {};
|
|
2511
|
-
}
|
|
2512
|
-
throw new Error('To use the Remotion config file, you need to have @remotion/cli installed.\n- Make sure that all versions of Remotion are the same.\n- Make sure that @remotion/cli is installed.\n- Make sure Config is imported from "@remotion/cli", not "remotion".');
|
|
2513
|
-
}
|
|
2514
|
-
},
|
|
2515
|
-
});
|
|
2516
|
-
|
|
2517
2519
|
// Taken from https://github.com/facebook/react-native/blob/0b9ea60b4fee8cacc36e7160e31b91fc114dbc0d/Libraries/Animated/src/bezier.js
|
|
2518
2520
|
const NEWTON_ITERATIONS = 4;
|
|
2519
2521
|
const NEWTON_MIN_SLOPE = 0.001;
|
package/dist/esm/version.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "remotion",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.68",
|
|
4
4
|
"description": "Render videos in React",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"types": "dist/cjs/index.d.ts",
|
|
@@ -42,7 +42,8 @@
|
|
|
42
42
|
"rimraf": "^3.0.2",
|
|
43
43
|
"rollup": "^2.70.1",
|
|
44
44
|
"typescript": "^4.7.0",
|
|
45
|
-
"vitest": "0.24.3"
|
|
45
|
+
"vitest": "0.24.3",
|
|
46
|
+
"webpack": "5.74.0"
|
|
46
47
|
},
|
|
47
48
|
"keywords": [
|
|
48
49
|
"remotion",
|
|
@@ -72,9 +73,9 @@
|
|
|
72
73
|
"typesVersions": {
|
|
73
74
|
">=1.0": {
|
|
74
75
|
"version": [
|
|
75
|
-
"dist/
|
|
76
|
+
"dist/cjs/version.d.ts"
|
|
76
77
|
]
|
|
77
78
|
}
|
|
78
79
|
},
|
|
79
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "59a8581847f5de76d5c86668b84b5cf210c6c081"
|
|
80
81
|
}
|