@remotion/cli 3.3.3 → 3.3.5

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.
@@ -22,7 +22,8 @@ const serveStatic = async function (root, hash, req, res) {
22
22
  res.end();
23
23
  return;
24
24
  }
25
- const path = (0, path_1.join)(root, new URL(req.url, 'http://localhost').pathname.replace(new RegExp(`^${hash}`), ''));
25
+ const filename = new URL(req.url, 'http://localhost').pathname.replace(new RegExp(`^${hash}`), '');
26
+ const path = (0, path_1.join)(root, decodeURIComponent(filename));
26
27
  if (!renderer_1.RenderInternals.isPathInside(path, root)) {
27
28
  res.writeHead(500);
28
29
  res.write('Not allowed to read');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/cli",
3
- "version": "3.3.3",
3
+ "version": "3.3.5",
4
4
  "description": "CLI for Remotion",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -22,16 +22,16 @@
22
22
  "author": "Jonny Burger <jonny@remotion.dev>",
23
23
  "license": "SEE LICENSE IN LICENSE.md",
24
24
  "dependencies": {
25
- "@remotion/bundler": "3.3.3",
26
- "@remotion/media-utils": "3.3.3",
27
- "@remotion/player": "3.3.3",
28
- "@remotion/renderer": "3.3.3",
25
+ "@remotion/bundler": "3.3.5",
26
+ "@remotion/media-utils": "3.3.5",
27
+ "@remotion/player": "3.3.5",
28
+ "@remotion/renderer": "3.3.5",
29
29
  "better-opn": "2.1.1",
30
30
  "dotenv": "9.0.2",
31
31
  "memfs": "3.4.3",
32
32
  "minimist": "1.2.6",
33
33
  "prompts": "2.4.1",
34
- "remotion": "3.3.3",
34
+ "remotion": "3.3.5",
35
35
  "semver": "7.3.5",
36
36
  "source-map": "0.6.1"
37
37
  },
@@ -72,5 +72,5 @@
72
72
  "publishConfig": {
73
73
  "access": "public"
74
74
  },
75
- "gitHead": "27db3bbb7b8bd67aa3767e55c5c8f21a8d9fa16b"
75
+ "gitHead": "0a2d5f0ff4f2abf11b9a5a6d41c1ce8df67df63f"
76
76
  }