@remotion/paths 4.0.0-newpathfunctions.13 → 4.0.0-newpaths.14

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/unarc.js CHANGED
@@ -134,6 +134,9 @@ const unarc = (d) => {
134
134
  y = s[4];
135
135
  return [s];
136
136
  }
137
+ case 'Z': {
138
+ return [s];
139
+ }
137
140
  default:
138
141
  throw new Error(`Unexpected instruction ${s[0]}`);
139
142
  }
package/dist/unshort.js CHANGED
@@ -21,26 +21,24 @@ const unshort = function (segments) {
21
21
  }
22
22
  case 'V': {
23
23
  y = s[1];
24
- newSegments[i] = s;
25
24
  break;
26
25
  }
27
26
  case 'H': {
28
27
  x = s[1];
29
- newSegments[i] = s;
30
28
  break;
31
29
  }
32
30
  case 'C': {
33
31
  x = s[5];
34
32
  y = s[6];
35
- newSegments[i] = s;
36
33
  break;
37
34
  }
38
35
  case 'Q': {
39
36
  x = s[3];
40
37
  y = s[4];
41
- newSegments[i] = s;
42
38
  break;
43
39
  }
40
+ case 'Z':
41
+ break;
44
42
  default:
45
43
  throw new Error('Unexpected command: ' + s[0]);
46
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/paths",
3
- "version": "4.0.0-newpathfunctions.13+40cc970bd",
3
+ "version": "4.0.0-newpaths.14+37718626b",
4
4
  "description": "Utility functions for SVG paths",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -35,5 +35,5 @@
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "40cc970bd20f2c9fde0c1644f1c9f33cd47f3dc7"
38
+ "gitHead": "37718626b7dbf0248bf5a6aa08928030554bdb10"
39
39
  }