@remotion/browser-bundler 4.0.535 → 4.0.536

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.
@@ -1803,4 +1803,4 @@ require(${JSON.stringify(i)});
1803
1803
  module.hot.accept(${JSON.stringify(i)}, () => {
1804
1804
  require(${JSON.stringify(i)});
1805
1805
  });
1806
- `}:{},onProgress:(s)=>$v({type:"progress",...s}),configure:(s)=>({context:mo(r.rootDir),mode:"development",devtool:"inline-cheap-module-source-map",entry:{bundle:{asyncChunks:!1,import:n?[sd.entry,F4]:[i]}},experiments:{buildHttp:{allowedUris:["https://esm.sh/",`${self.location.origin}/`],cacheLocation:!1,httpClient:C4({fetchImplementation:fetch})}},externals:Object.fromEntries([...pF,...n?["react-refresh/runtime"]:[]].map((f)=>[f,`commonjs ${f}`])),module:{rules:[{parser:{worker:!1},test:/\.[cm]?[jt]sx?$/},...n?[{exclude:[/node_modules/,/__remotion_browser_bundler__/],test:/\.[jt]sx?$/,use:[{loader:"builtin:react-refresh-loader"}]}]:[],{test:/\.[jt]sx?$/,use:[{loader:"builtin:swc-loader",options:{env:{targets:"Chrome >= 111"},jsc:{parser:{syntax:"typescript",tsx:!0},transform:{react:{development:n,refresh:n,runtime:"automatic"}}}}}]}]},optimization:{emitOnErrors:!n,runtimeChunk:!1,splitChunks:!1},output:{chunkFilename:"[name].js",chunkFormat:"array-push",chunkLoading:"jsonp",filename:"bundle.js",path:"/dist",publicPath:"",hashFunction:"xxhash64",uniqueName:"remotion-browser-bundler",...n?{hotUpdateGlobal:I4}:{}},plugins:[...n?[k4({rspack:s,refreshRuntime:sd.runtime,refreshUtils:sd.utils}),new s.HotModuleReplacementPlugin,T4({rspack:s,bridgeName:jv})]:[],R4({rspack:s,development:n,external:["react","react-dom","remotion",...n?["react-refresh"]:[]],resolvedUrls:{},resolvedVersions:{...{react:"19.2.3","react-dom":"19.2.3",remotion:"4.0.535"},...t.dependencyVersions},resolvePackage:null}),new s.optimize.LimitChunkCountPlugin({maxChunks:1})],resolve:{extensions:[".tsx",".ts",".jsx",".js",".json"]}})}),Uv=r;let o=await va.compile(r);if(o.bundle===null)throw new id("Rspack compilation failed",o.errors);if(n&&(!o.hash||od===null))throw Error("Rspack did not return a Fast Refresh build hash.");$v({type:"bundle",id:t.id,bundle:{code:o.bundle,warnings:o.warnings,fastRefresh:n&&o.hash&&od!==null?{sessionId:od,hash:o.hash,previousHash:Wv,assets:o.assets.filter((s)=>s.name.includes(".hot-update."))}:null}}),Wv=o.hash??null}catch(r){$v({type:"error",id:t.id,error:O4(r)})}})});
1806
+ `}:{},onProgress:(s)=>$v({type:"progress",...s}),configure:(s)=>({context:mo(r.rootDir),mode:"development",devtool:"inline-cheap-module-source-map",entry:{bundle:{asyncChunks:!1,import:n?[sd.entry,F4]:[i]}},experiments:{buildHttp:{allowedUris:["https://esm.sh/",`${self.location.origin}/`],cacheLocation:!1,httpClient:C4({fetchImplementation:fetch})}},externals:Object.fromEntries([...pF,...n?["react-refresh/runtime"]:[]].map((f)=>[f,`commonjs ${f}`])),module:{rules:[{parser:{worker:!1},test:/\.[cm]?[jt]sx?$/},...n?[{exclude:[/node_modules/,/__remotion_browser_bundler__/],test:/\.[jt]sx?$/,use:[{loader:"builtin:react-refresh-loader"}]}]:[],{test:/\.[jt]sx?$/,use:[{loader:"builtin:swc-loader",options:{env:{targets:"Chrome >= 111"},jsc:{parser:{syntax:"typescript",tsx:!0},transform:{react:{development:n,refresh:n,runtime:"automatic"}}}}}]}]},optimization:{emitOnErrors:!n,runtimeChunk:!1,splitChunks:!1},output:{chunkFilename:"[name].js",chunkFormat:"array-push",chunkLoading:"jsonp",filename:"bundle.js",path:"/dist",publicPath:"",hashFunction:"xxhash64",uniqueName:"remotion-browser-bundler",...n?{hotUpdateGlobal:I4}:{}},plugins:[...n?[k4({rspack:s,refreshRuntime:sd.runtime,refreshUtils:sd.utils}),new s.HotModuleReplacementPlugin,T4({rspack:s,bridgeName:jv})]:[],R4({rspack:s,development:n,external:["react","react-dom","remotion",...n?["react-refresh"]:[]],resolvedUrls:{},resolvedVersions:{...{react:"19.2.3","react-dom":"19.2.3",remotion:"4.0.536"},...t.dependencyVersions},resolvePackage:null}),new s.optimize.LimitChunkCountPlugin({maxChunks:1})],resolve:{extensions:[".tsx",".ts",".jsx",".js",".json"]}})}),Uv=r;let o=await va.compile(r);if(o.bundle===null)throw new id("Rspack compilation failed",o.errors);if(n&&(!o.hash||od===null))throw Error("Rspack did not return a Fast Refresh build hash.");$v({type:"bundle",id:t.id,bundle:{code:o.bundle,warnings:o.warnings,fastRefresh:n&&o.hash&&od!==null?{sessionId:od,hash:o.hash,previousHash:Wv,assets:o.assets.filter((s)=>s.name.includes(".hot-update."))}:null}}),Wv=o.hash??null}catch(r){$v({type:"error",id:t.id,error:O4(r)})}})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/browser-bundler",
3
- "version": "4.0.535",
3
+ "version": "4.0.536",
4
4
  "description": "Compile virtual Remotion projects in the browser",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -26,7 +26,7 @@
26
26
  "dependencies": {
27
27
  "@rspack/browser": "2.1.1",
28
28
  "react-refresh": "0.18.0",
29
- "remotion": "4.0.535"
29
+ "remotion": "4.0.536"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "react": ">=18.0.0",
@@ -53,8 +53,8 @@
53
53
  "devDependencies": {
54
54
  "@rspack/plugin-react-refresh": "1.6.1",
55
55
  "@happy-dom/global-registrator": "14.5.1",
56
- "@remotion/eslint-config-internal": "4.0.535",
57
- "@remotion/player": "4.0.535",
56
+ "@remotion/eslint-config-internal": "4.0.536",
57
+ "@remotion/player": "4.0.536",
58
58
  "@testing-library/react": "16.1.0",
59
59
  "@types/react": "19.2.7",
60
60
  "@types/react-dom": "19.2.3",