@remotion/bundler 4.0.508 → 4.0.510

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
@@ -326,6 +326,7 @@ const internalBundle = async (actualArgs) => {
326
326
  logLevel: 'info',
327
327
  mode: 'bundle',
328
328
  audioLatencyHint: (_k = actualArgs.audioLatencyHint) !== null && _k !== void 0 ? _k : 'playback',
329
+ experimentalKeepAudioContextAlive: false,
329
330
  sampleRate: (_l = (_b = actualArgs.renderDefaults) === null || _b === void 0 ? void 0 : _b.sampleRate) !== null && _l !== void 0 ? _l : 48000,
330
331
  studioRuntimeConfig: {
331
332
  askAIEnabled: actualArgs.askAIEnabled,
@@ -36,8 +36,12 @@ async function ESBuildLoader(source) {
36
36
  if (!('tsconfigRaw' in transformOptions) && isTypescriptInstalled()) {
37
37
  // eslint-disable-next-line @typescript-eslint/consistent-type-imports
38
38
  const typescript = require('typescript');
39
- const tsConfig = typescript.readConfigFile(tsConfigPath, typescript.sys.readFile);
40
- transformOptions.tsconfigRaw = tsConfig.config;
39
+ // TypeScript 7 (@typescript/native-preview) does not expose `sys` on the CommonJS export
40
+ const sys = typescript.sys;
41
+ if (sys) {
42
+ const tsConfig = typescript.readConfigFile(tsConfigPath, sys.readFile);
43
+ transformOptions.tsconfigRaw = tsConfig.config;
44
+ }
41
45
  }
42
46
  // https://github.com/privatenumber/esbuild-loader/pull/107
43
47
  if (transformOptions.loader === 'tsx' &&
package/dist/index.d.ts CHANGED
@@ -30,7 +30,7 @@ export declare const BundlerInternals: {
30
30
  extraPlugins: any[];
31
31
  }) => Promise<[string, import("@rspack/core").RspackOptions]>;
32
32
  createRspackCompiler: (config: import("@rspack/core").RspackOptions) => import("@rspack/core").Compiler;
33
- indexHtml: ({ publicPath, editorName, inputProps, envVariables, staticHash, remotionRoot, studioServerCommand, renderQueue, completedClientRenders, numberOfAudioTags, publicFiles, includeFavicon, title, renderDefaults, publicFolderExists, fileSystemPlatform, gitSource, projectName, installedDependencies, packageManager, audioLatencyHint, sampleRate, logLevel, mode, bundleScriptUrl, readOnlyStudio, studioRuntimeConfig, }: import("@remotion/studio-shared").StudioHtmlOptions) => string;
33
+ indexHtml: ({ publicPath, editorName, inputProps, envVariables, staticHash, remotionRoot, studioServerCommand, renderQueue, completedClientRenders, numberOfAudioTags, publicFiles, includeFavicon, title, renderDefaults, publicFolderExists, fileSystemPlatform, gitSource, projectName, installedDependencies, packageManager, audioLatencyHint, experimentalKeepAudioContextAlive, sampleRate, logLevel, mode, bundleScriptUrl, readOnlyStudio, studioRuntimeConfig, }: import("@remotion/studio-shared").StudioHtmlOptions) => string;
34
34
  cacheExists: (remotionRoot: string, environment: "development" | "production", hash: string) => "does-not-exist" | "exists" | "other-exists";
35
35
  clearCache: (remotionRoot: string, env: "development" | "production") => Promise<void>;
36
36
  getConfig: ({ entryPoint, outDir, resolvedRemotionRoot, onProgress, options, }: {
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.508",
6
+ "version": "4.0.510",
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.508",
28
- "@remotion/studio": "4.0.508",
29
- "@remotion/studio-shared": "4.0.508",
30
- "@remotion/timeline-utils": "4.0.508",
31
- "@remotion/media-parser": "4.0.508",
27
+ "remotion": "4.0.510",
28
+ "@remotion/studio": "4.0.510",
29
+ "@remotion/studio-shared": "4.0.510",
30
+ "@remotion/timeline-utils": "4.0.510",
31
+ "@remotion/media-parser": "4.0.510",
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.508",
42
+ "@remotion/eslint-config-internal": "4.0.510",
43
43
  "eslint": "9.19.0",
44
44
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
45
45
  },