@remotion/bundler 4.0.529 → 4.0.531

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/bundle.js CHANGED
@@ -336,6 +336,7 @@ const internalBundle = async (actualArgs) => {
336
336
  studioRuntimeConfig: {
337
337
  askAIEnabled: actualArgs.askAIEnabled,
338
338
  bufferStateDelayInMilliseconds: actualArgs.bufferStateDelayInMilliseconds,
339
+ canvasTabsEnabled: true,
339
340
  defaultCodingAgent: null,
340
341
  defaultEditor: null,
341
342
  interactivityEnabled: actualArgs.interactivityEnabled,
@@ -0,0 +1 @@
1
+ export { getDefinePluginDefinitions } from '@remotion/studio-shared/define-plugin-definitions';
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getDefinePluginDefinitions = void 0;
4
+ const define_plugin_definitions_1 = require("@remotion/studio-shared/define-plugin-definitions");
5
+ Object.defineProperty(exports, "getDefinePluginDefinitions", { enumerable: true, get: function () { return define_plugin_definitions_1.getDefinePluginDefinitions; } });
@@ -8,6 +8,7 @@ if (RefreshRuntime.__remotionReactRefreshWrapped === null) {
8
8
  const originalPerformReactRefresh = RefreshRuntime.performReactRefresh;
9
9
  RefreshRuntime.__remotionReactRefreshWrapped = true;
10
10
  RefreshRuntime.performReactRefresh = () => {
11
+ window.dispatchEvent(new Event(studio_shared_1.REACT_REFRESH_STARTED_EVENT));
11
12
  // The refresh integration calls this after applying the update. Emitting
12
13
  // here gives Studio a boundary after React refreshed its roots.
13
14
  const result = originalPerformReactRefresh();
@@ -78,6 +78,11 @@ exports.injectCSS = injectCSS;
78
78
  background: transparent;
79
79
  }
80
80
 
81
+ .__remotion-vertical-scrollbar,
82
+ .__remotion-horizontal-scrollbar {
83
+ overflow-anchor: none;
84
+ }
85
+
81
86
  .__remotion-vertical-scrollbar {
82
87
  scrollbar-gutter: stable;
83
88
  }
@@ -10,7 +10,6 @@ const remotion_1 = require("remotion");
10
10
  const componentsToAddStacksTo = remotion_1.Internals.getComponentsToAddStacksTo();
11
11
  const sequenceComponent = remotion_1.Internals.getSequenceComponent();
12
12
  const internalStackProp = remotion_1.Internals.REMOTION_INTERNAL_STACK_PROP;
13
- const studioOriginalSourcePrefix = 'studio-original://';
14
13
  const originalCreateElement = react_1.default.createElement;
15
14
  const originalJsx = jsx_runtime_1.default.jsx;
16
15
  const originalJsxs = jsx_runtime_1.default.jsxs;
@@ -51,7 +50,11 @@ const enableProxy = (api, isCreateElement, sourceArgumentIndex) => {
51
50
  typeof source.fileName === 'string' &&
52
51
  typeof source.lineNumber === 'number' &&
53
52
  typeof source.columnNumber === 'number'
54
- ? `Error\n at remotionOriginalSource (${studioOriginalSourcePrefix}${encodeURIComponent(getSourceFileName(source.fileName))}:${source.lineNumber}:${source.columnNumber})`
53
+ ? remotion_1.Internals.makeOriginalSourceStack({
54
+ fileName: getSourceFileName(source.fileName),
55
+ lineNumber: source.lineNumber,
56
+ columnNumber: source.columnNumber,
57
+ })
55
58
  : new Error().stack;
56
59
  const newProps = (props === null || props === void 0 ? void 0 : props[internalStackProp])
57
60
  ? { ...props }
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.529",
6
+ "version": "4.0.531",
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.529",
28
- "@remotion/studio": "4.0.529",
29
- "@remotion/studio-shared": "4.0.529",
30
- "@remotion/timeline-utils": "4.0.529",
31
- "@remotion/media-parser": "4.0.529",
27
+ "remotion": "4.0.531",
28
+ "@remotion/studio": "4.0.531",
29
+ "@remotion/studio-shared": "4.0.531",
30
+ "@remotion/timeline-utils": "4.0.531",
31
+ "@remotion/media-parser": "4.0.531",
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.529",
42
+ "@remotion/eslint-config-internal": "4.0.531",
43
43
  "eslint": "9.19.0",
44
44
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
45
45
  },