@remotion/renderer 4.0.277 → 4.0.278

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,21 +1,5 @@
1
1
  import { createRequire } from "node:module";
2
- var __create = Object.create;
3
- var __getProtoOf = Object.getPrototypeOf;
4
2
  var __defProp = Object.defineProperty;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __toESM = (mod, isNodeMode, target) => {
8
- target = mod != null ? __create(__getProtoOf(mod)) : {};
9
- const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
10
- for (let key of __getOwnPropNames(mod))
11
- if (!__hasOwnProp.call(to, key))
12
- __defProp(to, key, {
13
- get: () => mod[key],
14
- enumerable: true
15
- });
16
- return to;
17
- };
18
- var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
19
3
  var __export = (target, all) => {
20
4
  for (var name in all)
21
5
  __defProp(target, name, {
@@ -25,53 +9,8 @@ var __export = (target, all) => {
25
9
  set: (newValue) => all[name] = () => newValue
26
10
  });
27
11
  };
28
- var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
29
12
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
30
13
 
31
- // ../../node_modules/.pnpm/react@19.0.0/node_modules/react/cjs/react-jsx-runtime.production.js
32
- var exports_react_jsx_runtime_production = {};
33
- __export(exports_react_jsx_runtime_production, {
34
- jsxs: () => $jsxs,
35
- jsx: () => $jsx,
36
- Fragment: () => $Fragment
37
- });
38
- function jsxProd(type, config, maybeKey) {
39
- var key = null;
40
- maybeKey !== undefined && (key = "" + maybeKey);
41
- config.key !== undefined && (key = "" + config.key);
42
- if ("key" in config) {
43
- maybeKey = {};
44
- for (var propName in config)
45
- propName !== "key" && (maybeKey[propName] = config[propName]);
46
- } else
47
- maybeKey = config;
48
- config = maybeKey.ref;
49
- return {
50
- $$typeof: REACT_ELEMENT_TYPE,
51
- type,
52
- key,
53
- ref: config !== undefined ? config : null,
54
- props: maybeKey
55
- };
56
- }
57
- var REACT_ELEMENT_TYPE, REACT_FRAGMENT_TYPE, $Fragment, $jsx, $jsxs;
58
- var init_react_jsx_runtime_production = __esm(() => {
59
- REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
60
- REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
61
- $Fragment = REACT_FRAGMENT_TYPE;
62
- $jsx = jsxProd;
63
- $jsxs = jsxProd;
64
- });
65
-
66
- // ../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js
67
- var require_jsx_runtime = __commonJS((exports, module) => {
68
- init_react_jsx_runtime_production();
69
- if (true) {
70
- module.exports = exports_react_jsx_runtime_production;
71
- } else {
72
- }
73
- });
74
-
75
14
  // src/index.ts
76
15
  import execa2 from "execa";
77
16
 
@@ -5083,7 +5022,7 @@ var symbolicateFromSources = (frames, mapValues) => {
5083
5022
  return null;
5084
5023
  }
5085
5024
  return symbolicateStackFrame(frame, map);
5086
- }).filter(truthy);
5025
+ }).filter(truthy).filter((f) => f.originalScriptCode !== null);
5087
5026
  };
5088
5027
  var symbolicateStackFrame = (frame, map) => {
5089
5028
  const pos = getOriginalPosition(map, frame.lineNumber, frame.columnNumber);
@@ -5823,7 +5762,7 @@ var getIdealVideoThreadsFlag = (logLevel) => {
5823
5762
  };
5824
5763
 
5825
5764
  // src/options/gl.tsx
5826
- var jsx_runtime = __toESM(require_jsx_runtime(), 1);
5765
+ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
5827
5766
  var validOpenGlRenderers = [
5828
5767
  "swangle",
5829
5768
  "angle",
@@ -6076,7 +6015,7 @@ var getPageAndCleanupFn = async ({
6076
6015
  };
6077
6016
 
6078
6017
  // src/options/offthreadvideo-threads.tsx
6079
- var jsx_runtime2 = __toESM(require_jsx_runtime(), 1);
6018
+ import { jsx as jsx2, jsxs as jsxs2, Fragment as Fragment2 } from "react/jsx-runtime";
6080
6019
  var DEFAULT_RENDER_FRAMES_OFFTHREAD_VIDEO_THREADS = 2;
6081
6020
 
6082
6021
  // src/prepare-server.ts
@@ -15494,7 +15433,7 @@ ${parsed.backtrace}`));
15494
15433
  };
15495
15434
 
15496
15435
  // src/options/offthreadvideo-cache-size.tsx
15497
- var jsx_runtime3 = __toESM(require_jsx_runtime(), 1);
15436
+ import { jsx as jsx3, jsxs as jsxs3, Fragment as Fragment3 } from "react/jsx-runtime";
15498
15437
  var validateOffthreadVideoCacheSizeInBytes = (option) => {
15499
15438
  if (option === undefined || option === null) {
15500
15439
  return;
@@ -19408,15 +19347,15 @@ var ensureFramesInOrder = (framesToRender) => {
19408
19347
  };
19409
19348
 
19410
19349
  // src/options/color-space.tsx
19411
- var jsx_runtime4 = __toESM(require_jsx_runtime(), 1);
19412
19350
  import { NoReactInternals as NoReactInternals13 } from "remotion/no-react";
19351
+ import { jsx as jsx4, jsxs as jsxs4, Fragment as Fragment4 } from "react/jsx-runtime";
19413
19352
  var validV4ColorSpaces = ["default", "bt709", "bt2020-ncl"];
19414
19353
  var validV5ColorSpaces = ["bt601", "bt709", "bt2020-ncl"];
19415
19354
  var validColorSpaces = NoReactInternals13.ENABLE_V5_BREAKING_CHANGES ? validV5ColorSpaces : validV4ColorSpaces;
19416
19355
  var DEFAULT_COLOR_SPACE = NoReactInternals13.ENABLE_V5_BREAKING_CHANGES ? "bt709" : "default";
19417
19356
 
19418
19357
  // src/options/x264-preset.tsx
19419
- var jsx_runtime5 = __toESM(require_jsx_runtime(), 1);
19358
+ import { jsx as jsx5, jsxs as jsxs5, Fragment as Fragment5 } from "react/jsx-runtime";
19420
19359
  var x264PresetOptions = [
19421
19360
  "ultrafast",
19422
19361
  "superfast",
@@ -118,7 +118,8 @@ const symbolicateFromSources = (frames, mapValues) => {
118
118
  }
119
119
  return (0, exports.symbolicateStackFrame)(frame, map);
120
120
  })
121
- .filter(truthy_1.truthy);
121
+ .filter(truthy_1.truthy)
122
+ .filter((f) => f.originalScriptCode !== null);
122
123
  };
123
124
  exports.symbolicateFromSources = symbolicateFromSources;
124
125
  const symbolicateStackFrame = (frame, map) => {
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.277",
6
+ "version": "4.0.278",
7
7
  "description": "Render Remotion videos using Node.js or Bun",
8
8
  "main": "dist/index.js",
9
9
  "types": "dist/index.d.ts",
@@ -18,8 +18,8 @@
18
18
  "extract-zip": "2.0.1",
19
19
  "source-map": "^0.8.0-beta.0",
20
20
  "ws": "8.17.1",
21
- "remotion": "4.0.277",
22
- "@remotion/streaming": "4.0.277"
21
+ "remotion": "4.0.278",
22
+ "@remotion/streaming": "4.0.278"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "react": ">=16.8.0",
@@ -33,17 +33,17 @@
33
33
  "react-dom": "19.0.0",
34
34
  "@types/ws": "8.5.10",
35
35
  "eslint": "9.19.0",
36
- "@remotion/example-videos": "4.0.277",
37
- "@remotion/eslint-config-internal": "4.0.277"
36
+ "@remotion/example-videos": "4.0.278",
37
+ "@remotion/eslint-config-internal": "4.0.278"
38
38
  },
39
39
  "optionalDependencies": {
40
- "@remotion/compositor-darwin-arm64": "4.0.277",
41
- "@remotion/compositor-darwin-x64": "4.0.277",
42
- "@remotion/compositor-linux-arm64-gnu": "4.0.277",
43
- "@remotion/compositor-linux-x64-gnu": "4.0.277",
44
- "@remotion/compositor-linux-x64-musl": "4.0.277",
45
- "@remotion/compositor-win32-x64-msvc": "4.0.277",
46
- "@remotion/compositor-linux-arm64-musl": "4.0.277"
40
+ "@remotion/compositor-darwin-arm64": "4.0.278",
41
+ "@remotion/compositor-darwin-x64": "4.0.278",
42
+ "@remotion/compositor-linux-arm64-musl": "4.0.278",
43
+ "@remotion/compositor-linux-x64-gnu": "4.0.278",
44
+ "@remotion/compositor-linux-x64-musl": "4.0.278",
45
+ "@remotion/compositor-win32-x64-msvc": "4.0.278",
46
+ "@remotion/compositor-linux-arm64-gnu": "4.0.278"
47
47
  },
48
48
  "keywords": [
49
49
  "remotion",