@remotion/shapes 4.0.147 → 4.0.148

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.
@@ -6,7 +6,7 @@ const doesReactSupportTransformOriginProperty = (version) => {
6
6
  const last8Chars = parseInt(version.slice(-8), 10);
7
7
  return last8Chars > 20230209;
8
8
  }
9
- const [major, minor] = version.split('.').map(Number);
10
- return major > 18 || (major === 18 && minor >= 3);
9
+ const [major] = version.split('.').map(Number);
10
+ return major > 18;
11
11
  };
12
12
  exports.doesReactSupportTransformOriginProperty = doesReactSupportTransformOriginProperty;
@@ -1,5 +1,8 @@
1
1
  import type { Instruction } from '@remotion/paths';
2
- export declare const joinPoints: (points: [number, number][], { edgeRoundness, cornerRadius, roundCornerStrategy, }: {
2
+ export declare const joinPoints: (points: [
3
+ number,
4
+ number
5
+ ][], { edgeRoundness, cornerRadius, roundCornerStrategy, }: {
3
6
  edgeRoundness: number | null;
4
7
  cornerRadius: number;
5
8
  roundCornerStrategy: 'arc' | 'bezier';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/shapes",
3
- "version": "4.0.147",
3
+ "version": "4.0.148",
4
4
  "description": "Utility functions and components for SVG shapes",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -13,16 +13,16 @@
13
13
  "url": "https://github.com/remotion-dev/remotion/issues"
14
14
  },
15
15
  "devDependencies": {
16
- "@types/react-dom": "18.2.18",
16
+ "@types/react-dom": "18.3.0",
17
17
  "@jonny/eslint-config": "3.0.281",
18
18
  "@testing-library/react": "^13.4.0",
19
19
  "@types/node": "18.14.6",
20
- "@types/react": "18.2.48",
20
+ "@types/react": "18.3.1",
21
21
  "eslint": "8.56.0",
22
22
  "prettier": "3.2.5",
23
23
  "prettier-plugin-organize-imports": "3.2.4",
24
- "react": "18.2.0",
25
- "react-dom": "18.2.0",
24
+ "react": "18.3.1",
25
+ "react-dom": "18.3.1",
26
26
  "vitest": "0.31.1"
27
27
  },
28
28
  "keywords": [
@@ -38,7 +38,7 @@
38
38
  "react-dom": ">=16.8.0"
39
39
  },
40
40
  "dependencies": {
41
- "@remotion/paths": "4.0.147"
41
+ "@remotion/paths": "4.0.148"
42
42
  },
43
43
  "scripts": {
44
44
  "formatting": "prettier src --check",