@remotion/paths 4.0.0-alpha.217 → 4.0.0-alpha4

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/README.md CHANGED
@@ -12,6 +12,7 @@ No dependencies are needed, meaning this package can be used independently of Re
12
12
  ## API
13
13
 
14
14
  - [`getLength()`](https://remotion.dev/docs/paths/get-length)
15
+ - [`getParts()`](https://remotion.dev/docs/paths/get-parts)
15
16
  - [`getPointAtLength()`](https://remotion.dev/docs/paths/get-point-at-length)
16
17
  - [`getTangentAtLength()`](https://remotion.dev/docs/paths/get-tangent-at-length)
17
18
  - [`reversePath()`](https://remotion.dev/docs/paths/reverse-path)
package/dist/index.d.ts CHANGED
@@ -2,6 +2,7 @@ export { evolvePath } from './evolve-path';
2
2
  export { extendViewBox } from './extend-viewbox';
3
3
  export { getBoundingBox } from './get-bounding-box';
4
4
  export { getLength } from './get-length';
5
+ export { getParts } from './get-parts';
5
6
  export { getPointAtLength } from './get-point-at-length';
6
7
  export { getSubpaths } from './get-subpaths';
7
8
  export { getTangentAtLength } from './get-tangent-at-length';
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.warpPath = exports.translatePath = exports.serializeInstructions = exports.scalePath = exports.reversePath = exports.resetPath = exports.reduceInstructions = exports.parsePath = exports.normalizePath = exports.interpolatePath = exports.getTangentAtLength = exports.getSubpaths = exports.getPointAtLength = exports.getLength = exports.getBoundingBox = exports.extendViewBox = exports.evolvePath = void 0;
3
+ exports.warpPath = exports.translatePath = exports.serializeInstructions = exports.scalePath = exports.reversePath = exports.resetPath = exports.reduceInstructions = exports.parsePath = exports.normalizePath = exports.interpolatePath = exports.getTangentAtLength = exports.getSubpaths = exports.getPointAtLength = exports.getParts = exports.getLength = exports.getBoundingBox = exports.extendViewBox = exports.evolvePath = void 0;
4
4
  var evolve_path_1 = require("./evolve-path");
5
5
  Object.defineProperty(exports, "evolvePath", { enumerable: true, get: function () { return evolve_path_1.evolvePath; } });
6
6
  var extend_viewbox_1 = require("./extend-viewbox");
@@ -9,6 +9,8 @@ var get_bounding_box_1 = require("./get-bounding-box");
9
9
  Object.defineProperty(exports, "getBoundingBox", { enumerable: true, get: function () { return get_bounding_box_1.getBoundingBox; } });
10
10
  var get_length_1 = require("./get-length");
11
11
  Object.defineProperty(exports, "getLength", { enumerable: true, get: function () { return get_length_1.getLength; } });
12
+ var get_parts_1 = require("./get-parts");
13
+ Object.defineProperty(exports, "getParts", { enumerable: true, get: function () { return get_parts_1.getParts; } });
12
14
  var get_point_at_length_1 = require("./get-point-at-length");
13
15
  Object.defineProperty(exports, "getPointAtLength", { enumerable: true, get: function () { return get_point_at_length_1.getPointAtLength; } });
14
16
  var get_subpaths_1 = require("./get-subpaths");
package/package.json CHANGED
@@ -1,39 +1,38 @@
1
1
  {
2
- "name": "@remotion/paths",
3
- "version": "4.0.0-alpha.217+27eff7599",
4
- "description": "Utility functions for SVG paths",
5
- "main": "dist/index.js",
6
- "sideEffects": false,
7
- "scripts": {
8
- "lint": "eslint src --ext ts,tsx",
9
- "watch": "tsc -w",
10
- "build": "tsc -d",
11
- "test": "vitest --run"
12
- },
13
- "author": "Jonny Burger <jonny@remotion.dev>",
14
- "license": "MIT",
15
- "repository": {
16
- "url": "https://github.com/remotion-dev/remotion"
17
- },
18
- "bugs": {
19
- "url": "https://github.com/remotion-dev/remotion/issues"
20
- },
21
- "devDependencies": {
22
- "@jonny/eslint-config": "3.0.266",
23
- "@types/node": "^16.7.5",
24
- "eslint": "8.25.0",
25
- "prettier": "^2.7.1",
26
- "prettier-plugin-organize-imports": "^2.3.4",
27
- "typescript": "^4.7.0",
28
- "vitest": "0.24.3"
29
- },
30
- "keywords": [
31
- "svg",
32
- "path",
33
- "utilities"
34
- ],
35
- "publishConfig": {
36
- "access": "public"
37
- },
38
- "gitHead": "27eff759935b19b666e29f4f46dd5bdd6214e188"
39
- }
2
+ "name": "@remotion/paths",
3
+ "version": "4.0.0-alpha4",
4
+ "description": "Utility functions for SVG paths",
5
+ "main": "dist/index.js",
6
+ "sideEffects": false,
7
+ "author": "Jonny Burger <jonny@remotion.dev>",
8
+ "license": "MIT",
9
+ "repository": {
10
+ "url": "https://github.com/remotion-dev/remotion"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/remotion-dev/remotion/issues"
14
+ },
15
+ "devDependencies": {
16
+ "@jonny/eslint-config": "3.0.266",
17
+ "@types/node": "^16.7.5",
18
+ "eslint": "8.25.0",
19
+ "prettier": "^2.7.1",
20
+ "prettier-plugin-organize-imports": "^2.3.4",
21
+ "typescript": "^4.7.0",
22
+ "vitest": "0.24.3"
23
+ },
24
+ "keywords": [
25
+ "svg",
26
+ "path",
27
+ "utilities"
28
+ ],
29
+ "publishConfig": {
30
+ "access": "public"
31
+ },
32
+ "scripts": {
33
+ "lint": "eslint src --ext ts,tsx",
34
+ "watch": "tsc -w",
35
+ "build": "tsc -d",
36
+ "test": "vitest --run"
37
+ }
38
+ }