@remotion/renderer 4.0.467 → 4.0.469

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.
@@ -59,7 +59,7 @@ const calculateAssetPositions = (frames) => {
59
59
  // 59 - 0 + 1 ==> 60 frames duration
60
60
  found.duration = frame - found.startInVideo + 1;
61
61
  }
62
- found.volume = [...found.volume, asset.volume];
62
+ found.volume.push(asset.volume);
63
63
  }
64
64
  }
65
65
  for (const asset of assets) {
@@ -411,7 +411,7 @@ class Page extends EventEmitter_1.EventEmitter {
411
411
  await this.#client.send('Page.bringToFront');
412
412
  }
413
413
  async setAutoDarkModeOverride() {
414
- const result = await this.#client.send('Emulation.setEmulatedMedia', {
414
+ await this.#client.send('Emulation.setEmulatedMedia', {
415
415
  media: 'screen',
416
416
  features: [
417
417
  {
@@ -420,7 +420,6 @@ class Page extends EventEmitter_1.EventEmitter {
420
420
  },
421
421
  ],
422
422
  });
423
- console.log(result);
424
423
  }
425
424
  evaluate(pageFunction, ...args) {
426
425
  return this.#frameManager.mainFrame().evaluate(pageFunction, ...args);
@@ -673,7 +673,7 @@ var beepOnFinishOption = {
673
673
  docLink: "https://www.remotion.dev/docs/config#setbeeponfinish",
674
674
  type: false,
675
675
  getValue: ({ commandLine }) => {
676
- if (commandLine[cliFlag7] !== undefined) {
676
+ if (commandLine[cliFlag7] !== undefined && commandLine[cliFlag7] !== null) {
677
677
  return {
678
678
  value: commandLine[cliFlag7],
679
679
  source: "cli"
@@ -1303,7 +1303,7 @@ var darkModeOption = {
1303
1303
  docLink: "https://www.remotion.dev/docs/chromium-flags#--dark-mode",
1304
1304
  type: false,
1305
1305
  getValue: ({ commandLine }) => {
1306
- if (commandLine[cliFlag19] !== undefined) {
1306
+ if (commandLine[cliFlag19] !== undefined && commandLine[cliFlag19] !== null) {
1307
1307
  return {
1308
1308
  source: "cli",
1309
1309
  value: commandLine[cliFlag19]
@@ -1434,7 +1434,7 @@ var disableWebSecurityOption = {
1434
1434
  docLink: "https://www.remotion.dev/docs/chromium-flags#--disable-web-security",
1435
1435
  type: false,
1436
1436
  getValue: ({ commandLine }) => {
1437
- if (commandLine[cliFlag22] !== undefined) {
1437
+ if (commandLine[cliFlag22] !== undefined && commandLine[cliFlag22] !== null) {
1438
1438
  return {
1439
1439
  source: "cli",
1440
1440
  value: Boolean(commandLine[cliFlag22])
@@ -1471,7 +1471,7 @@ var disallowParallelEncodingOption = {
1471
1471
  docLink: "https://www.remotion.dev/docs/config#setdisallowparallelencoding",
1472
1472
  type: false,
1473
1473
  getValue: ({ commandLine }) => {
1474
- if (commandLine[cliFlag23] !== undefined) {
1474
+ if (commandLine[cliFlag23] !== undefined && commandLine[cliFlag23] !== null) {
1475
1475
  return {
1476
1476
  value: commandLine[cliFlag23],
1477
1477
  source: "cli"
@@ -1961,7 +1961,7 @@ var forceNewStudioOption = {
1961
1961
  docLink: "https://www.remotion.dev/docs/config#setforcenewstudioenabled",
1962
1962
  type: false,
1963
1963
  getValue: ({ commandLine }) => {
1964
- if (commandLine[cliFlag34] !== undefined) {
1964
+ if (commandLine[cliFlag34] !== undefined && commandLine[cliFlag34] !== null) {
1965
1965
  return {
1966
1966
  value: commandLine[cliFlag34],
1967
1967
  source: "cli"
@@ -2412,7 +2412,7 @@ var headlessOption = {
2412
2412
  docLink: "https://www.remotion.dev/docs/chromium-flags#--disable-headless",
2413
2413
  type: false,
2414
2414
  getValue: ({ commandLine }) => {
2415
- if (commandLine[cliFlag39] !== undefined) {
2415
+ if (commandLine[cliFlag39] !== undefined && commandLine[cliFlag39] !== null) {
2416
2416
  return {
2417
2417
  source: "cli",
2418
2418
  value: !commandLine[cliFlag39]
@@ -2449,7 +2449,7 @@ var ignoreCertificateErrorsOption = {
2449
2449
  docLink: "https://www.remotion.dev/docs/chromium-flags#--ignore-certificate-errors",
2450
2450
  type: false,
2451
2451
  getValue: ({ commandLine }) => {
2452
- if (commandLine[cliFlag40] !== undefined) {
2452
+ if (commandLine[cliFlag40] !== undefined && commandLine[cliFlag40] !== null) {
2453
2453
  return {
2454
2454
  source: "cli",
2455
2455
  value: Boolean(commandLine[cliFlag40])
@@ -2496,7 +2496,7 @@ var imageSequenceOption = {
2496
2496
  ssrName: null,
2497
2497
  docLink: "https://www.remotion.dev/docs/config#setimagesequence",
2498
2498
  getValue: ({ commandLine }) => {
2499
- if (commandLine[cliFlag41] !== undefined) {
2499
+ if (commandLine[cliFlag41] !== undefined && commandLine[cliFlag41] !== null) {
2500
2500
  return {
2501
2501
  source: "cli",
2502
2502
  value: Boolean(commandLine[cliFlag41])
@@ -2569,7 +2569,7 @@ var ipv4Option = {
2569
2569
  docLink: "https://www.remotion.dev/docs/cli/studio",
2570
2570
  type: false,
2571
2571
  getValue: ({ commandLine }) => {
2572
- if (commandLine[cliFlag43] !== undefined) {
2572
+ if (commandLine[cliFlag43] !== undefined && commandLine[cliFlag43] !== null) {
2573
2573
  return {
2574
2574
  value: commandLine[cliFlag43],
2575
2575
  source: "cli"
@@ -2610,7 +2610,7 @@ var isProductionOption = {
2610
2610
  ssrName: "isProduction",
2611
2611
  docLink: "https://www.remotion.dev/docs/licensing",
2612
2612
  getValue: ({ commandLine }) => {
2613
- if (commandLine[cliFlag44] !== undefined) {
2613
+ if (commandLine[cliFlag44] !== undefined && commandLine[cliFlag44] !== null) {
2614
2614
  return {
2615
2615
  source: "cli",
2616
2616
  value: commandLine[cliFlag44]
@@ -2693,7 +2693,7 @@ var keyboardShortcutsOption = {
2693
2693
  docLink: "https://www.remotion.dev/docs/config#setkeyboardshortcutsenabled",
2694
2694
  type: false,
2695
2695
  getValue: ({ commandLine }) => {
2696
- if (commandLine[cliFlag46] !== undefined) {
2696
+ if (commandLine[cliFlag46] !== undefined && commandLine[cliFlag46] !== null) {
2697
2697
  keyboardShortcutsEnabled = commandLine[cliFlag46] === false;
2698
2698
  return {
2699
2699
  value: keyboardShortcutsEnabled,
@@ -3525,7 +3525,7 @@ var overwriteOption = {
3525
3525
  docLink: "https://www.remotion.dev/docs/config#setoverwriteoutput",
3526
3526
  type: false,
3527
3527
  getValue: ({ commandLine }, defaultValue2) => {
3528
- if (commandLine[cliFlag63] !== undefined) {
3528
+ if (commandLine[cliFlag63] !== undefined && commandLine[cliFlag63] !== null) {
3529
3529
  validate2(commandLine[cliFlag63]);
3530
3530
  return {
3531
3531
  source: "cli",
@@ -4032,7 +4032,7 @@ var reproOption = {
4032
4032
  docLink: "https://www.remotion.dev/docs/render-media#repro",
4033
4033
  type: false,
4034
4034
  getValue: ({ commandLine }) => {
4035
- if (commandLine[cliFlag73] !== undefined) {
4035
+ if (commandLine[cliFlag73] !== undefined && commandLine[cliFlag73] !== null) {
4036
4036
  return {
4037
4037
  value: commandLine[cliFlag73],
4038
4038
  source: "cli"
@@ -1,17 +1,13 @@
1
1
  import { createRequire } from "node:module";
2
2
  var __defProp = Object.defineProperty;
3
3
  var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
4
- var __returnValue = (v) => v;
5
- function __exportSetter(name, newValue) {
6
- this[name] = __returnValue.bind(null, newValue);
7
- }
8
4
  var __export = (target, all) => {
9
5
  for (var name in all)
10
6
  __defProp(target, name, {
11
7
  get: all[name],
12
8
  enumerable: true,
13
9
  configurable: true,
14
- set: __exportSetter.bind(all, name)
10
+ set: (newValue) => all[name] = () => newValue
15
11
  });
16
12
  };
17
13
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
@@ -3726,7 +3722,7 @@ class Page extends EventEmitter {
3726
3722
  await this.#client.send("Page.bringToFront");
3727
3723
  }
3728
3724
  async setAutoDarkModeOverride() {
3729
- const result = await this.#client.send("Emulation.setEmulatedMedia", {
3725
+ await this.#client.send("Emulation.setEmulatedMedia", {
3730
3726
  media: "screen",
3731
3727
  features: [
3732
3728
  {
@@ -3735,7 +3731,6 @@ class Page extends EventEmitter {
3735
3731
  }
3736
3732
  ]
3737
3733
  });
3738
- console.log(result);
3739
3734
  }
3740
3735
  evaluate(pageFunction, ...args) {
3741
3736
  return this.#frameManager.mainFrame().evaluate(pageFunction, ...args);
@@ -22007,7 +22002,7 @@ var calculateAssetPositions = (frames) => {
22007
22002
  if (!findFrom(next, asset)) {
22008
22003
  found.duration = frame - found.startInVideo + 1;
22009
22004
  }
22010
- found.volume = [...found.volume, asset.volume];
22005
+ found.volume.push(asset.volume);
22011
22006
  }
22012
22007
  }
22013
22008
  for (const asset of assets) {
@@ -12,7 +12,7 @@ exports.beepOnFinishOption = {
12
12
  docLink: 'https://www.remotion.dev/docs/config#setbeeponfinish',
13
13
  type: false,
14
14
  getValue: ({ commandLine }) => {
15
- if (commandLine[cliFlag] !== undefined) {
15
+ if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
16
16
  return {
17
17
  value: commandLine[cliFlag],
18
18
  source: 'cli',
@@ -14,7 +14,7 @@ exports.darkModeOption = {
14
14
  docLink: 'https://www.remotion.dev/docs/chromium-flags#--dark-mode',
15
15
  type: false,
16
16
  getValue: ({ commandLine }) => {
17
- if (commandLine[cliFlag] !== undefined) {
17
+ if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
18
18
  return {
19
19
  source: 'cli',
20
20
  value: commandLine[cliFlag],
@@ -12,7 +12,7 @@ exports.disableWebSecurityOption = {
12
12
  docLink: 'https://www.remotion.dev/docs/chromium-flags#--disable-web-security',
13
13
  type: false,
14
14
  getValue: ({ commandLine }) => {
15
- if (commandLine[cliFlag] !== undefined) {
15
+ if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
16
16
  return {
17
17
  source: 'cli',
18
18
  value: Boolean(commandLine[cliFlag]),
@@ -12,7 +12,7 @@ exports.disallowParallelEncodingOption = {
12
12
  docLink: 'https://www.remotion.dev/docs/config#setdisallowparallelencoding',
13
13
  type: false,
14
14
  getValue: ({ commandLine }) => {
15
- if (commandLine[cliFlag] !== undefined) {
15
+ if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
16
16
  return {
17
17
  value: commandLine[cliFlag],
18
18
  source: 'cli',
@@ -12,7 +12,7 @@ exports.forceNewStudioOption = {
12
12
  docLink: 'https://www.remotion.dev/docs/config#setforcenewstudioenabled',
13
13
  type: false,
14
14
  getValue: ({ commandLine }) => {
15
- if (commandLine[cliFlag] !== undefined) {
15
+ if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
16
16
  return {
17
17
  value: commandLine[cliFlag],
18
18
  source: 'cli',
@@ -16,7 +16,7 @@ exports.headlessOption = {
16
16
  docLink: 'https://www.remotion.dev/docs/chromium-flags#--disable-headless',
17
17
  type: false,
18
18
  getValue: ({ commandLine }) => {
19
- if (commandLine[cliFlag] !== undefined) {
19
+ if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
20
20
  return {
21
21
  source: 'cli',
22
22
  value: !commandLine[cliFlag],
@@ -12,7 +12,7 @@ exports.ignoreCertificateErrorsOption = {
12
12
  docLink: 'https://www.remotion.dev/docs/chromium-flags#--ignore-certificate-errors',
13
13
  type: false,
14
14
  getValue: ({ commandLine }) => {
15
- if (commandLine[cliFlag] !== undefined) {
15
+ if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
16
16
  return {
17
17
  source: 'cli',
18
18
  value: Boolean(commandLine[cliFlag]),
@@ -11,7 +11,7 @@ exports.imageSequenceOption = {
11
11
  ssrName: null,
12
12
  docLink: 'https://www.remotion.dev/docs/config#setimagesequence',
13
13
  getValue: ({ commandLine }) => {
14
- if (commandLine[cliFlag] !== undefined) {
14
+ if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
15
15
  return {
16
16
  source: 'cli',
17
17
  value: Boolean(commandLine[cliFlag]),
@@ -12,7 +12,7 @@ exports.ipv4Option = {
12
12
  docLink: 'https://www.remotion.dev/docs/cli/studio',
13
13
  type: false,
14
14
  getValue: ({ commandLine }) => {
15
- if (commandLine[cliFlag] !== undefined) {
15
+ if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
16
16
  return {
17
17
  value: commandLine[cliFlag],
18
18
  source: 'cli',
@@ -14,7 +14,7 @@ exports.isProductionOption = {
14
14
  ssrName: 'isProduction',
15
15
  docLink: 'https://www.remotion.dev/docs/licensing',
16
16
  getValue: ({ commandLine }) => {
17
- if (commandLine[cliFlag] !== undefined) {
17
+ if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
18
18
  return {
19
19
  source: 'cli',
20
20
  value: commandLine[cliFlag],
@@ -12,7 +12,7 @@ exports.keyboardShortcutsOption = {
12
12
  docLink: 'https://www.remotion.dev/docs/config#setkeyboardshortcutsenabled',
13
13
  type: false,
14
14
  getValue: ({ commandLine }) => {
15
- if (commandLine[cliFlag] !== undefined) {
15
+ if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
16
16
  keyboardShortcutsEnabled = commandLine[cliFlag] === false;
17
17
  return {
18
18
  value: keyboardShortcutsEnabled,
@@ -21,7 +21,7 @@ exports.overwriteOption = {
21
21
  docLink: 'https://www.remotion.dev/docs/config#setoverwriteoutput',
22
22
  type: false,
23
23
  getValue: ({ commandLine }, defaultValue) => {
24
- if (commandLine[cliFlag] !== undefined) {
24
+ if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
25
25
  validate(commandLine[cliFlag]);
26
26
  return {
27
27
  source: 'cli',
@@ -15,7 +15,7 @@ exports.reproOption = {
15
15
  docLink: 'https://www.remotion.dev/docs/render-media#repro',
16
16
  type: false,
17
17
  getValue: ({ commandLine }) => {
18
- if (commandLine[cliFlag] !== undefined) {
18
+ if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
19
19
  return {
20
20
  value: commandLine[cliFlag],
21
21
  source: 'cli',
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/renderer"
4
4
  },
5
5
  "name": "@remotion/renderer",
6
- "version": "4.0.467",
6
+ "version": "4.0.469",
7
7
  "description": "Render Remotion videos using Node.js or Bun",
8
8
  "main": "dist/index.js",
9
9
  "types": "dist/index.d.ts",
@@ -22,11 +22,11 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "execa": "5.1.1",
25
- "remotion": "4.0.467",
26
- "@remotion/streaming": "4.0.467",
25
+ "remotion": "4.0.469",
26
+ "@remotion/streaming": "4.0.469",
27
27
  "source-map": "0.8.0-beta.0",
28
28
  "ws": "8.20.1",
29
- "@remotion/licensing": "4.0.467"
29
+ "@remotion/licensing": "4.0.469"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "react": ">=16.8.0",
@@ -40,19 +40,19 @@
40
40
  "react-dom": "19.2.3",
41
41
  "@typescript/native-preview": "7.0.0-dev.20260217.1",
42
42
  "@types/ws": "8.5.10",
43
- "@remotion/example-videos": "4.0.467",
44
- "@remotion/eslint-config-internal": "4.0.467",
43
+ "@remotion/example-videos": "4.0.469",
44
+ "@remotion/eslint-config-internal": "4.0.469",
45
45
  "eslint": "9.19.0",
46
46
  "@types/node": "20.12.14"
47
47
  },
48
48
  "optionalDependencies": {
49
- "@remotion/compositor-darwin-arm64": "4.0.467",
50
- "@remotion/compositor-darwin-x64": "4.0.467",
51
- "@remotion/compositor-linux-arm64-gnu": "4.0.467",
52
- "@remotion/compositor-linux-arm64-musl": "4.0.467",
53
- "@remotion/compositor-linux-x64-gnu": "4.0.467",
54
- "@remotion/compositor-linux-x64-musl": "4.0.467",
55
- "@remotion/compositor-win32-x64-msvc": "4.0.467"
49
+ "@remotion/compositor-darwin-arm64": "4.0.469",
50
+ "@remotion/compositor-darwin-x64": "4.0.469",
51
+ "@remotion/compositor-linux-arm64-gnu": "4.0.469",
52
+ "@remotion/compositor-linux-arm64-musl": "4.0.469",
53
+ "@remotion/compositor-linux-x64-gnu": "4.0.469",
54
+ "@remotion/compositor-linux-x64-musl": "4.0.469",
55
+ "@remotion/compositor-win32-x64-msvc": "4.0.469"
56
56
  },
57
57
  "keywords": [
58
58
  "remotion",