@remotion/paths 4.0.0-alpha13 → 4.0.0-alpha16
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/helpers/types.d.ts
CHANGED
|
@@ -14,12 +14,12 @@ export interface Point {
|
|
|
14
14
|
x: number;
|
|
15
15
|
y: number;
|
|
16
16
|
}
|
|
17
|
-
export
|
|
17
|
+
export type PointArray = [number, number];
|
|
18
18
|
export interface PointProperties {
|
|
19
19
|
tangentX: number;
|
|
20
20
|
tangentY: number;
|
|
21
21
|
}
|
|
22
|
-
export
|
|
22
|
+
export type BoundingBox = {
|
|
23
23
|
x1: number;
|
|
24
24
|
y1: number;
|
|
25
25
|
x2: number;
|
|
@@ -28,7 +28,7 @@ export declare type BoundingBox = {
|
|
|
28
28
|
width: number;
|
|
29
29
|
height: number;
|
|
30
30
|
};
|
|
31
|
-
export
|
|
31
|
+
export type ReducedInstruction = {
|
|
32
32
|
type: 'M';
|
|
33
33
|
x: number;
|
|
34
34
|
y: number;
|
|
@@ -53,7 +53,7 @@ export declare type ReducedInstruction = {
|
|
|
53
53
|
} | {
|
|
54
54
|
type: 'Z';
|
|
55
55
|
};
|
|
56
|
-
export
|
|
56
|
+
export type AbsoluteInstruction = ReducedInstruction | {
|
|
57
57
|
type: 'A';
|
|
58
58
|
rx: number;
|
|
59
59
|
ry: number;
|
|
@@ -79,7 +79,7 @@ export declare type AbsoluteInstruction = ReducedInstruction | {
|
|
|
79
79
|
type: 'V';
|
|
80
80
|
y: number;
|
|
81
81
|
};
|
|
82
|
-
export
|
|
82
|
+
export type Instruction = AbsoluteInstruction | {
|
|
83
83
|
type: 'm';
|
|
84
84
|
dx: number;
|
|
85
85
|
dy: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/paths",
|
|
3
|
-
"version": "4.0.0-
|
|
3
|
+
"version": "4.0.0-alpha16",
|
|
4
4
|
"description": "Utility functions for SVG paths",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@jonny/eslint-config": "3.0.266",
|
|
17
17
|
"@types/node": "18.14.6",
|
|
18
|
-
"eslint": "8.
|
|
18
|
+
"eslint": "8.42.0",
|
|
19
19
|
"prettier": "^2.7.1",
|
|
20
20
|
"prettier-plugin-organize-imports": "^2.3.4",
|
|
21
|
-
"typescript": "
|
|
21
|
+
"typescript": "4.9.5",
|
|
22
22
|
"vitest": "0.31.1"
|
|
23
23
|
},
|
|
24
24
|
"keywords": [
|