@remotion/vercel 4.0.540 → 4.0.542

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.
@@ -1681,7 +1681,7 @@ var transformSchema = {
1681
1681
  type: "transform-origin",
1682
1682
  step: 1,
1683
1683
  default: "50% 50%",
1684
- description: "Transform origin"
1684
+ description: "Origin"
1685
1685
  },
1686
1686
  "style.translate": {
1687
1687
  type: "translate",
@@ -1896,8 +1896,7 @@ var sequenceStyleSchema = {
1896
1896
  ...transformSchema,
1897
1897
  ...backgroundSchema,
1898
1898
  ...borderSchema,
1899
- ...borderRadiusSchema,
1900
- ...sequencePremountSchema
1899
+ ...borderRadiusSchema
1901
1900
  };
1902
1901
  var hiddenField = {
1903
1902
  type: "boolean",
@@ -2077,7 +2076,7 @@ function hslToRgb(h, s, l) {
2077
2076
  return Math.round(r * 255) << 24 | Math.round(g * 255) << 16 | Math.round(b * 255) << 8;
2078
2077
  }
2079
2078
  function parse255(str) {
2080
- const int = Number.parseInt(str, 10);
2079
+ const int = Math.round(Number.parseFloat(str));
2081
2080
  if (int < 0) {
2082
2081
  return 0;
2083
2082
  }
@@ -4360,7 +4359,7 @@ var transformSchema = {
4360
4359
  type: "transform-origin",
4361
4360
  step: 1,
4362
4361
  default: "50% 50%",
4363
- description: "Transform origin"
4362
+ description: "Origin"
4364
4363
  },
4365
4364
  "style.translate": {
4366
4365
  type: "translate",
@@ -4575,8 +4574,7 @@ var sequenceStyleSchema = {
4575
4574
  ...transformSchema,
4576
4575
  ...backgroundSchema,
4577
4576
  ...borderSchema,
4578
- ...borderRadiusSchema,
4579
- ...sequencePremountSchema
4577
+ ...borderRadiusSchema
4580
4578
  };
4581
4579
  var hiddenField = {
4582
4580
  type: "boolean",
@@ -4756,7 +4754,7 @@ function hslToRgb(h, s, l) {
4756
4754
  return Math.round(r * 255) << 24 | Math.round(g * 255) << 16 | Math.round(b * 255) << 8;
4757
4755
  }
4758
4756
  function parse255(str) {
4759
- const int = Number.parseInt(str, 10);
4757
+ const int = Math.round(Number.parseFloat(str));
4760
4758
  if (int < 0) {
4761
4759
  return 0;
4762
4760
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/vercel",
3
- "version": "4.0.540",
3
+ "version": "4.0.542",
4
4
  "description": "Render Remotion videos on Vercel Sandbox",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -13,8 +13,8 @@
13
13
  "formatting": "oxfmt src --check",
14
14
  "format": "oxfmt src",
15
15
  "lint": "eslint src",
16
- "watch": "tsc -w",
17
- "make": "bun --env-file=../.env.bundle bundle.ts && tsc && bun check -p tsconfig.scripts.json"
16
+ "watch": "node ../.monorepo/tsrs.cjs -w",
17
+ "make": "bun --env-file=../.env.bundle bundle.ts && node ../.monorepo/tsrs.cjs && node ../.monorepo/tsrs.cjs --noEmit -p tsconfig.scripts.json"
18
18
  },
19
19
  "author": "Jonny Burger <jonny@remotion.dev>",
20
20
  "contributors": [],
@@ -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.542",
27
+ "remotion": "4.0.542"
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.542",
42
42
  "@vercel/blob": "2.3.0",
43
43
  "@vercel/sandbox": "1.6.0",
44
44
  "eslint": "9.19.0",