@remotion/lambda 4.0.497 → 4.0.498

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { type GitSource, type WebpackOverrideFn } from '@remotion/bundler';
1
+ import { type BundlerOverrideFn, type GitSource, type RspackOverrideFn, type WebpackOverrideFn } from '@remotion/bundler';
2
2
  import type { AwsRegion, RequestHandler } from '@remotion/lambda-client';
3
3
  import { type AwsProvider } from '@remotion/lambda-client';
4
4
  import type { ToOptions } from '@remotion/renderer';
@@ -17,6 +17,8 @@ type OptionalParameters = {
17
17
  onBundleProgress?: (progress: number) => void;
18
18
  onUploadProgress?: (upload: UploadDirProgress) => void;
19
19
  onDiffingProgress?: (bytes: number, done: boolean) => void;
20
+ bundlerOverride?: BundlerOverrideFn;
21
+ rspackOverride?: RspackOverrideFn;
20
22
  webpackOverride?: WebpackOverrideFn;
21
23
  ignoreRegisterRootWarning?: boolean;
22
24
  enableCaching?: boolean;
@@ -24,15 +24,17 @@ const mandatoryDeploySite = async ({ bucketName, entryPoint, siteName, options,
24
24
  fullClientSpecifics,
25
25
  requestHandler,
26
26
  getBundle: async () => {
27
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
27
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
28
28
  generatedBundleDir = await fullClientSpecifics.bundleSite({
29
29
  publicPath: `/${(0, constants_1.getSitesKey)(siteName)}/`,
30
- webpackOverride: (_a = options.webpackOverride) !== null && _a !== void 0 ? _a : ((f) => f),
31
- enableCaching: (_b = options.enableCaching) !== null && _b !== void 0 ? _b : true,
32
- publicDir: (_c = options.publicDir) !== null && _c !== void 0 ? _c : null,
33
- rootDir: (_d = options.rootDir) !== null && _d !== void 0 ? _d : null,
34
- ignoreRegisterRootWarning: (_e = options.ignoreRegisterRootWarning) !== null && _e !== void 0 ? _e : false,
35
- onProgress: (_f = options.onBundleProgress) !== null && _f !== void 0 ? _f : (() => undefined),
30
+ bundlerOverride: (_a = options.bundlerOverride) !== null && _a !== void 0 ? _a : ((f) => f),
31
+ rspackOverride: (_b = options.rspackOverride) !== null && _b !== void 0 ? _b : ((f) => f),
32
+ webpackOverride: (_c = options.webpackOverride) !== null && _c !== void 0 ? _c : ((f) => f),
33
+ enableCaching: (_d = options.enableCaching) !== null && _d !== void 0 ? _d : true,
34
+ publicDir: (_e = options.publicDir) !== null && _e !== void 0 ? _e : null,
35
+ rootDir: (_f = options.rootDir) !== null && _f !== void 0 ? _f : null,
36
+ ignoreRegisterRootWarning: (_g = options.ignoreRegisterRootWarning) !== null && _g !== void 0 ? _g : false,
37
+ onProgress: (_h = options.onBundleProgress) !== null && _h !== void 0 ? _h : (() => undefined),
36
38
  entryPoint,
37
39
  gitSource,
38
40
  bufferStateDelayInMilliseconds: null,
@@ -41,12 +43,12 @@ const mandatoryDeploySite = async ({ bucketName, entryPoint, siteName, options,
41
43
  onPublicDirCopyProgress: () => undefined,
42
44
  onSymlinkDetected: () => undefined,
43
45
  outDir: null,
44
- askAIEnabled: (_g = options.askAIEnabled) !== null && _g !== void 0 ? _g : true,
45
- interactivityEnabled: (_h = options.interactivityEnabled) !== null && _h !== void 0 ? _h : true,
46
+ askAIEnabled: (_j = options.askAIEnabled) !== null && _j !== void 0 ? _j : true,
47
+ interactivityEnabled: (_k = options.interactivityEnabled) !== null && _k !== void 0 ? _k : true,
46
48
  audioLatencyHint: null,
47
- keyboardShortcutsEnabled: (_j = options.keyboardShortcutsEnabled) !== null && _j !== void 0 ? _j : true,
49
+ keyboardShortcutsEnabled: (_l = options.keyboardShortcutsEnabled) !== null && _l !== void 0 ? _l : true,
48
50
  renderDefaults: null,
49
- rspack: (_k = options.rspack) !== null && _k !== void 0 ? _k : false,
51
+ rspack: (_m = options.rspack) !== null && _m !== void 0 ? _m : false,
50
52
  symlinkPublicDir: false,
51
53
  });
52
54
  return generatedBundleDir;
@@ -154,6 +154,8 @@ const sitesCreateSubcommand = async (args, remotionRoot, logLevel, implementatio
154
154
  enableCaching: client_1.BrowserSafeApis.options.bundleCacheOption.getValue({
155
155
  commandLine: cli_1.CliInternals.parsedCli,
156
156
  }).value,
157
+ bundlerOverride: config_1.ConfigInternals.getBundlerOverrideFn(),
158
+ rspackOverride: config_1.ConfigInternals.getRspackOverrideFn(),
157
159
  webpackOverride: (_c = config_1.ConfigInternals.getWebpackOverrideFn()) !== null && _c !== void 0 ? _c : ((f) => f),
158
160
  bypassBucketNameValidation: Boolean(args_1.parsedLambdaCli['force-bucket-name']),
159
161
  askAIEnabled,
@@ -8604,7 +8604,7 @@ var require_package = __commonJS((exports, module) => {
8604
8604
  url: "https://github.com/remotion-dev/remotion/tree/main/packages/lambda"
8605
8605
  },
8606
8606
  name: "@remotion/lambda",
8607
- version: "4.0.497",
8607
+ version: "4.0.498",
8608
8608
  description: "Render Remotion videos on AWS Lambda",
8609
8609
  main: "dist/index.js",
8610
8610
  scripts: {
@@ -10262,6 +10262,8 @@ var mandatoryDeploySite = async ({
10262
10262
  getBundle: async () => {
10263
10263
  generatedBundleDir = await fullClientSpecifics.bundleSite({
10264
10264
  publicPath: `/${getSitesKey3(siteName)}/`,
10265
+ bundlerOverride: options.bundlerOverride ?? ((f) => f),
10266
+ rspackOverride: options.rspackOverride ?? ((f) => f),
10265
10267
  webpackOverride: options.webpackOverride ?? ((f) => f),
10266
10268
  enableCaching: options.enableCaching ?? true,
10267
10269
  publicDir: options.publicDir ?? null,
@@ -12540,6 +12542,8 @@ var sitesCreateSubcommand = async (args, remotionRoot, logLevel, implementation)
12540
12542
  enableCaching: BrowserSafeApis4.options.bundleCacheOption.getValue({
12541
12543
  commandLine: CliInternals16.parsedCli
12542
12544
  }).value,
12545
+ bundlerOverride: ConfigInternals2.getBundlerOverrideFn(),
12546
+ rspackOverride: ConfigInternals2.getRspackOverrideFn(),
12543
12547
  webpackOverride: ConfigInternals2.getWebpackOverrideFn() ?? ((f) => f),
12544
12548
  bypassBucketNameValidation: Boolean(parsedLambdaCli["force-bucket-name"]),
12545
12549
  askAIEnabled,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/lambda"
4
4
  },
5
5
  "name": "@remotion/lambda",
6
- "version": "4.0.497",
6
+ "version": "4.0.498",
7
7
  "description": "Render Remotion videos on AWS Lambda",
8
8
  "main": "dist/index.js",
9
9
  "scripts": {
@@ -28,33 +28,33 @@
28
28
  "@aws-sdk/client-cloudwatch-logs": "3.986.0",
29
29
  "@aws-sdk/client-service-quotas": "3.986.0",
30
30
  "@aws-sdk/lib-storage": "3.986.0",
31
- "@remotion/bundler": "4.0.497",
32
- "@remotion/cli": "4.0.497",
33
- "@remotion/lambda-client": "4.0.497",
34
- "@remotion/renderer": "4.0.497",
35
- "@remotion/serverless": "4.0.497",
36
- "@remotion/streaming": "4.0.497",
31
+ "@remotion/bundler": "4.0.498",
32
+ "@remotion/cli": "4.0.498",
33
+ "@remotion/lambda-client": "4.0.498",
34
+ "@remotion/renderer": "4.0.498",
35
+ "@remotion/serverless": "4.0.498",
36
+ "@remotion/streaming": "4.0.498",
37
37
  "@smithy/abort-controller": "4.0.1",
38
- "remotion": "4.0.497",
38
+ "remotion": "4.0.498",
39
39
  "zod": "4.3.6"
40
40
  },
41
41
  "devDependencies": {
42
- "@remotion/bundler": "4.0.497",
42
+ "@remotion/bundler": "4.0.498",
43
43
  "@types/express": "5.0.1",
44
44
  "express": "4.21.0",
45
- "@remotion/compositor-linux-arm64-gnu": "4.0.497",
46
- "@remotion/eslint-config-internal": "4.0.497",
45
+ "@remotion/compositor-linux-arm64-gnu": "4.0.498",
46
+ "@remotion/eslint-config-internal": "4.0.498",
47
47
  "mime-types": "2.1.34",
48
48
  "@types/mime-types": "2.1.1",
49
49
  "@types/minimist": "1.2.2",
50
50
  "eslint": "9.19.0",
51
- "next": "16.2.6",
51
+ "next": "16.2.11",
52
52
  "pureimage": "0.4.13",
53
53
  "@types/node": "20.12.14",
54
54
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
55
55
  },
56
56
  "peerDependencies": {
57
- "@remotion/bundler": "4.0.497"
57
+ "@remotion/bundler": "4.0.498"
58
58
  },
59
59
  "publishConfig": {
60
60
  "access": "public"
Binary file