@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.
@@ -23,7 +23,7 @@ export declare const typeMap: {
23
23
  a: string[];
24
24
  z: never[];
25
25
  };
26
- export declare type Command = {
26
+ export type Command = {
27
27
  x2?: number | undefined;
28
28
  y2?: number | undefined;
29
29
  x1?: number | undefined;
@@ -14,12 +14,12 @@ export interface Point {
14
14
  x: number;
15
15
  y: number;
16
16
  }
17
- export declare type PointArray = [number, number];
17
+ export type PointArray = [number, number];
18
18
  export interface PointProperties {
19
19
  tangentX: number;
20
20
  tangentY: number;
21
21
  }
22
- export declare type BoundingBox = {
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 declare type ReducedInstruction = {
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 declare type AbsoluteInstruction = ReducedInstruction | {
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 declare type Instruction = AbsoluteInstruction | {
82
+ export type Instruction = AbsoluteInstruction | {
83
83
  type: 'm';
84
84
  dx: number;
85
85
  dy: number;
@@ -1,5 +1,5 @@
1
1
  import type { ReducedInstruction } from '../helpers/types';
2
- export declare type WarpPathFn = (point: {
2
+ export type WarpPathFn = (point: {
3
3
  x: number;
4
4
  y: number;
5
5
  }) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/paths",
3
- "version": "4.0.0-alpha13",
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.25.0",
18
+ "eslint": "8.42.0",
19
19
  "prettier": "^2.7.1",
20
20
  "prettier-plugin-organize-imports": "^2.3.4",
21
- "typescript": "^4.7.0",
21
+ "typescript": "4.9.5",
22
22
  "vitest": "0.31.1"
23
23
  },
24
24
  "keywords": [