@remotion/renderer 3.0.26 → 3.0.27
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/assets/read-file.js +4 -1
- package/package.json +3 -3
package/dist/assets/read-file.js
CHANGED
|
@@ -29,7 +29,10 @@ const readFile = async (url, redirectsSoFar = 0) => {
|
|
|
29
29
|
throw new Error(`Too many redirects while downloading ${url}`);
|
|
30
30
|
}
|
|
31
31
|
const file = await readFileWithoutRedirect(url);
|
|
32
|
-
if (file.statusCode === 302 ||
|
|
32
|
+
if (file.statusCode === 302 ||
|
|
33
|
+
file.statusCode === 301 ||
|
|
34
|
+
file.statusCode === 307 ||
|
|
35
|
+
file.statusCode === 308) {
|
|
33
36
|
if (!file.headers.location) {
|
|
34
37
|
throw new Error(`Received a status code ${file.statusCode} but no "Location" header while calling ${file.headers.location}`);
|
|
35
38
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/renderer",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.27",
|
|
4
4
|
"description": "Renderer for Remotion",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"execa": "5.1.1",
|
|
24
24
|
"extract-zip": "2.0.1",
|
|
25
25
|
"mime-types": "2.1.35",
|
|
26
|
-
"remotion": "3.0.
|
|
26
|
+
"remotion": "3.0.27",
|
|
27
27
|
"source-map": "^0.8.0-beta.0",
|
|
28
28
|
"ws": "8.7.0"
|
|
29
29
|
},
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"publishConfig": {
|
|
64
64
|
"access": "public"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "16f54241ee403a938c1af372bebc4ac83a4a24f0"
|
|
67
67
|
}
|