@remotion/bundler 4.0.500 → 4.0.502

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.
@@ -9,6 +9,7 @@ const jsx_runtime_1 = __importDefault(require("react/jsx-runtime"));
9
9
  const remotion_1 = require("remotion");
10
10
  const componentsToAddStacksTo = remotion_1.Internals.getComponentsToAddStacksTo();
11
11
  const sequenceComponent = remotion_1.Internals.getSequenceComponent();
12
+ const internalStackProp = remotion_1.Internals.REMOTION_INTERNAL_STACK_PROP;
12
13
  const originalCreateElement = react_1.default.createElement;
13
14
  const originalJsx = jsx_runtime_1.default.jsx;
14
15
  const originalJsxs = jsx_runtime_1.default.jsxs;
@@ -23,9 +24,12 @@ const enableProxy = (api, isCreateElement) => {
23
24
  ? props === null || props === void 0 ? void 0 : props.children
24
25
  : rest
25
26
  : props === null || props === void 0 ? void 0 : props.children;
26
- const newProps = (props === null || props === void 0 ? void 0 : props.stack)
27
+ const newProps = (props === null || props === void 0 ? void 0 : props[internalStackProp])
27
28
  ? { ...props }
28
- : { ...(props !== null && props !== void 0 ? props : {}), stack: new Error().stack };
29
+ : {
30
+ ...(props !== null && props !== void 0 ? props : {}),
31
+ [internalStackProp]: new Error().stack,
32
+ };
29
33
  if (first === sequenceComponent) {
30
34
  newProps._remotionInternalSingleChildComponent =
31
35
  remotion_1.Internals.getSingleChildComponent(children);
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/bundler"
4
4
  },
5
5
  "name": "@remotion/bundler",
6
- "version": "4.0.500",
6
+ "version": "4.0.502",
7
7
  "description": "Bundle Remotion compositions using Webpack",
8
8
  "main": "dist/index.js",
9
9
  "bugs": {
@@ -24,11 +24,11 @@
24
24
  "css-loader": "7.1.4",
25
25
  "esbuild": "0.28.1",
26
26
  "react-refresh": "0.18.0",
27
- "remotion": "4.0.500",
28
- "@remotion/studio": "4.0.500",
29
- "@remotion/studio-shared": "4.0.500",
30
- "@remotion/timeline-utils": "4.0.500",
31
- "@remotion/media-parser": "4.0.500",
27
+ "remotion": "4.0.502",
28
+ "@remotion/studio": "4.0.502",
29
+ "@remotion/studio-shared": "4.0.502",
30
+ "@remotion/timeline-utils": "4.0.502",
31
+ "@remotion/media-parser": "4.0.502",
32
32
  "style-loader": "4.0.0",
33
33
  "webpack": "5.105.0"
34
34
  },
@@ -39,7 +39,7 @@
39
39
  "devDependencies": {
40
40
  "react": "19.2.3",
41
41
  "react-dom": "19.2.3",
42
- "@remotion/eslint-config-internal": "4.0.500",
42
+ "@remotion/eslint-config-internal": "4.0.502",
43
43
  "eslint": "9.19.0",
44
44
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
45
45
  },