@remotion/bundler 4.0.0-offthread.31 → 4.0.0-offthread.42

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/index.d.ts CHANGED
@@ -4,7 +4,7 @@ export declare const BundlerInternals: {
4
4
  webpackOverride?: import("remotion").WebpackOverrideFn | undefined;
5
5
  inputProps?: object | undefined;
6
6
  envVariables?: Record<string, string> | undefined;
7
- port?: number | undefined;
7
+ port: number | null;
8
8
  maxTimelineTracks?: number | undefined;
9
9
  } | undefined) => Promise<number>;
10
10
  cacheExists: (environment: "development" | "production", inputProps: object | null) => boolean;
@@ -3,6 +3,6 @@ export declare const startServer: (entry: string, userDefinedComponent: string,
3
3
  webpackOverride?: WebpackOverrideFn | undefined;
4
4
  inputProps?: object | undefined;
5
5
  envVariables?: Record<string, string> | undefined;
6
- port?: number | undefined;
6
+ port: number | null;
7
7
  maxTimelineTracks?: number | undefined;
8
8
  } | undefined) => Promise<number>;
@@ -124,7 +124,7 @@ const startServer = async (entry, userDefinedComponent, options) => {
124
124
  res.set('content-type', 'text/html');
125
125
  res.end((0, static_preview_1.indexHtml)(hash, '/', displayName));
126
126
  });
127
- const desiredPort = (_e = options === null || options === void 0 ? void 0 : options.port) !== null && _e !== void 0 ? _e : remotion_1.Internals.getServerPort();
127
+ const desiredPort = (_e = options === null || options === void 0 ? void 0 : options.port) !== null && _e !== void 0 ? _e : undefined;
128
128
  const port = await (0, get_port_1.getDesiredPort)(desiredPort, 3000, 3100);
129
129
  app.listen(port);
130
130
  return port;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/bundler",
3
- "version": "4.0.0-offthread.31+665632cff",
3
+ "version": "4.0.0-offthread.42+5cdecb6d7",
4
4
  "description": "Bundler for Remotion",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -31,7 +31,7 @@
31
31
  "memfs": "3.4.3",
32
32
  "mime-types": "2.1.34",
33
33
  "react-refresh": "0.9.0",
34
- "remotion": "4.0.0-offthread.31+665632cff",
34
+ "remotion": "4.0.0-offthread.42+5cdecb6d7",
35
35
  "semver": "7.3.4",
36
36
  "source-map": "0.6.1",
37
37
  "source-map-loader": "3.0.0",
@@ -77,5 +77,5 @@
77
77
  "publishConfig": {
78
78
  "access": "public"
79
79
  },
80
- "gitHead": "665632cffd80aca6a61b44988b2d7f087e44196d"
80
+ "gitHead": "5cdecb6d7971afe3062521d319eb32aac96346f3"
81
81
  }