@remotion/cloudrun 4.0.496 → 4.0.497
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.
|
@@ -31,6 +31,11 @@ type OptionalParameters = {
|
|
|
31
31
|
} & ToOptions<typeof BrowserSafeApis.optionsMap.renderStillOnCloudRun>;
|
|
32
32
|
export type RenderStillOnCloudrunInput = Partial<OptionalParameters> & MandatoryParameters;
|
|
33
33
|
export declare const renderStillOnCloudrun: (options: RenderStillOnCloudrunInput) => Promise<{
|
|
34
|
+
type: "error";
|
|
35
|
+
message: string;
|
|
36
|
+
name: string;
|
|
37
|
+
stack: string;
|
|
38
|
+
} | {
|
|
34
39
|
type: "success";
|
|
35
40
|
publicUrl?: string | null | undefined;
|
|
36
41
|
cloudStorageUri: string;
|
|
@@ -38,11 +43,6 @@ export declare const renderStillOnCloudrun: (options: RenderStillOnCloudrunInput
|
|
|
38
43
|
bucketName: string;
|
|
39
44
|
renderId: string;
|
|
40
45
|
privacy: "project-private" | "public-read";
|
|
41
|
-
} | {
|
|
42
|
-
type: "error";
|
|
43
|
-
message: string;
|
|
44
|
-
name: string;
|
|
45
|
-
stack: string;
|
|
46
46
|
} | {
|
|
47
47
|
type: "crash";
|
|
48
48
|
cloudRunEndpoint: string;
|
|
@@ -10,4 +10,4 @@ export type Privacy = 'public' | 'private' | 'no-acl';
|
|
|
10
10
|
export declare const DEFAULT_OUTPUT_PRIVACY: Privacy;
|
|
11
11
|
export declare const DEFAULT_TIMEOUT = 300;
|
|
12
12
|
export declare const DEFAULT_MIN_INSTANCES = 0;
|
|
13
|
-
export declare const DEFAULT_MAX_INSTANCES
|
|
13
|
+
export declare const DEFAULT_MAX_INSTANCES: number;
|
package/dist/shared/constants.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DEFAULT_MAX_INSTANCES = exports.DEFAULT_MIN_INSTANCES = exports.DEFAULT_TIMEOUT = exports.DEFAULT_OUTPUT_PRIVACY = exports.inputPropsKey = exports.DEFAULT_MAX_RETRIES = exports.getSitesKey = exports.RENDER_SERVICE_PREFIX = exports.REMOTION_BUCKET_PREFIX = exports.BINARY_NAME = exports.DEFAULT_REGION = void 0;
|
|
4
|
+
const no_react_1 = require("remotion/no-react");
|
|
4
5
|
exports.DEFAULT_REGION = 'us-east1';
|
|
5
6
|
exports.BINARY_NAME = 'remotion cloudrun';
|
|
6
7
|
exports.REMOTION_BUCKET_PREFIX = 'remotioncloudrun-';
|
|
@@ -15,5 +16,6 @@ exports.inputPropsKey = inputPropsKey;
|
|
|
15
16
|
exports.DEFAULT_OUTPUT_PRIVACY = 'public';
|
|
16
17
|
exports.DEFAULT_TIMEOUT = 300;
|
|
17
18
|
exports.DEFAULT_MIN_INSTANCES = 0;
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
exports.DEFAULT_MAX_INSTANCES = no_react_1.NoReactInternals.ENABLE_V5_BREAKING_CHANGES
|
|
20
|
+
? 5
|
|
21
|
+
: 100;
|
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.validateSiteName = void 0;
|
|
4
|
+
const VALID_SITE_NAME_RE = /^[-0-9a-zA-Z!_.*'()]+$/;
|
|
4
5
|
const validateSiteName = (siteName) => {
|
|
5
6
|
if (typeof siteName === 'undefined') {
|
|
6
7
|
return;
|
|
7
8
|
}
|
|
8
9
|
if (typeof siteName !== 'string') {
|
|
9
|
-
throw new TypeError(`The '
|
|
10
|
+
throw new TypeError(`The 'siteName' argument must be a string if provided, but is ${JSON.stringify(siteName)}`);
|
|
10
11
|
}
|
|
11
|
-
if (
|
|
12
|
-
throw new Error(
|
|
12
|
+
if (siteName === '.' || siteName === '..') {
|
|
13
|
+
throw new Error('The `siteName` must not be `.` or `..`. You passed: ' + siteName + '.');
|
|
14
|
+
}
|
|
15
|
+
if (!VALID_SITE_NAME_RE.test(siteName)) {
|
|
16
|
+
throw new Error('The `siteName` must match the RegExp `/' +
|
|
17
|
+
VALID_SITE_NAME_RE.source +
|
|
18
|
+
'/`. You passed: ' +
|
|
13
19
|
siteName +
|
|
14
20
|
'. Check for invalid characters.');
|
|
15
21
|
}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/cloudrun"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/cloudrun",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.497",
|
|
7
7
|
"description": "Render Remotion videos on Google Cloud Run",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"scripts": {
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"@google-cloud/storage": "7.15.2",
|
|
21
21
|
"@google-cloud/resource-manager": "5.3.1",
|
|
22
22
|
"@google-cloud/logging": "11.2.0",
|
|
23
|
-
"@remotion/bundler": "4.0.
|
|
24
|
-
"@remotion/cli": "4.0.
|
|
25
|
-
"@remotion/renderer": "4.0.
|
|
23
|
+
"@remotion/bundler": "4.0.497",
|
|
24
|
+
"@remotion/cli": "4.0.497",
|
|
25
|
+
"@remotion/renderer": "4.0.497",
|
|
26
26
|
"google-auth-library": "8.7.0",
|
|
27
|
-
"remotion": "4.0.
|
|
27
|
+
"remotion": "4.0.497",
|
|
28
28
|
"zod": "4.3.6"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@remotion/compositor-linux-x64-gnu": "4.0.
|
|
31
|
+
"@remotion/compositor-linux-x64-gnu": "4.0.497",
|
|
32
32
|
"@types/minimist": "1.2.2",
|
|
33
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
33
|
+
"@remotion/eslint-config-internal": "4.0.497",
|
|
34
34
|
"eslint": "9.19.0",
|
|
35
35
|
"@types/node": "20.12.14",
|
|
36
36
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|