@remotion/vercel 4.0.540 → 4.0.541

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.
@@ -2077,7 +2077,7 @@ function hslToRgb(h, s, l) {
2077
2077
  return Math.round(r * 255) << 24 | Math.round(g * 255) << 16 | Math.round(b * 255) << 8;
2078
2078
  }
2079
2079
  function parse255(str) {
2080
- const int = Number.parseInt(str, 10);
2080
+ const int = Math.round(Number.parseFloat(str));
2081
2081
  if (int < 0) {
2082
2082
  return 0;
2083
2083
  }
@@ -4756,7 +4756,7 @@ function hslToRgb(h, s, l) {
4756
4756
  return Math.round(r * 255) << 24 | Math.round(g * 255) << 16 | Math.round(b * 255) << 8;
4757
4757
  }
4758
4758
  function parse255(str) {
4759
- const int = Number.parseInt(str, 10);
4759
+ const int = Math.round(Number.parseFloat(str));
4760
4760
  if (int < 0) {
4761
4761
  return 0;
4762
4762
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/vercel",
3
- "version": "4.0.540",
3
+ "version": "4.0.541",
4
4
  "description": "Render Remotion videos on Vercel Sandbox",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -23,8 +23,8 @@
23
23
  "url": "https://github.com/remotion-dev/remotion/issues"
24
24
  },
25
25
  "dependencies": {
26
- "@remotion/renderer": "4.0.540",
27
- "remotion": "4.0.540"
26
+ "@remotion/renderer": "4.0.541",
27
+ "remotion": "4.0.541"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "@vercel/sandbox": ">=1.0.0"
@@ -38,7 +38,7 @@
38
38
  "./package.json": "./package.json"
39
39
  },
40
40
  "devDependencies": {
41
- "@remotion/eslint-config-internal": "4.0.540",
41
+ "@remotion/eslint-config-internal": "4.0.541",
42
42
  "@vercel/blob": "2.3.0",
43
43
  "@vercel/sandbox": "1.6.0",
44
44
  "eslint": "9.19.0",