@flighthq/path 0.5.1-next.904.b545d9c → 0.5.1-next.905.5fbf787

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
@@ -13,5 +13,5 @@ Import the supported application-facing API from `@flighthq/path`. The `@flighth
13
13
  This package is part of the locked-version Flight SDK graph. Applications may instead install and import `@flighthq/sdk` when package-level tree shaking is sufficient.
14
14
 
15
15
  - [Flight project](https://github.com/flighthq/flight)
16
- - [Source for @flighthq/path@0.5.1-next.904.b545d9c](https://github.com/flighthq/flight/tree/b545d9cfe622400923a81685c78547f2be54eff5/packages/path)
17
- - [License](https://github.com/flighthq/flight/blob/b545d9cfe622400923a81685c78547f2be54eff5/LICENSE.md)
16
+ - [Source for @flighthq/path@0.5.1-next.905.5fbf787](https://github.com/flighthq/flight/tree/5fbf7874064c384307542d68b4dcb6a895ff0dcf/packages/path)
17
+ - [License](https://github.com/flighthq/flight/blob/5fbf7874064c384307542d68b4dcb6a895ff0dcf/LICENSE.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flighthq/path",
3
- "version": "0.5.1-next.904.b545d9c",
3
+ "version": "0.5.1-next.905.5fbf787",
4
4
  "author": "Joshua Granick and other contributors",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -38,9 +38,9 @@
38
38
  "clean:dist": "tsx ../../scripts/clean-package-dist.ts"
39
39
  },
40
40
  "dependencies": {
41
- "@flighthq/entity": "0.5.1-next.904.b545d9c",
42
- "@flighthq/math": "0.5.1-next.904.b545d9c",
43
- "@flighthq/types": "0.5.1-next.904.b545d9c"
41
+ "@flighthq/entity": "0.5.1-next.905.5fbf787",
42
+ "@flighthq/math": "0.5.1-next.905.5fbf787",
43
+ "@flighthq/types": "0.5.1-next.905.5fbf787"
44
44
  },
45
45
  "devDependencies": {
46
46
  "typescript": "^5.3.0"
package/src/path.test.ts CHANGED
@@ -16,6 +16,7 @@ import {
16
16
  appendPathRoundRectangle,
17
17
  createPath,
18
18
  getPathLastPoint,
19
+ initializePath,
19
20
  } from './path';
20
21
 
21
22
  describe('appendPathArc', () => {
@@ -374,3 +375,8 @@ describe('getPathLastPoint', () => {
374
375
  expect(getPathLastPoint(path)).toStrictEqual([70, 80]);
375
376
  });
376
377
  });
378
+ describe('initializePath', () => {
379
+ it('is the construction initializer of createPath', () => {
380
+ expect(typeof initializePath).toBe('function');
381
+ });
382
+ });
@@ -10,7 +10,7 @@ import {
10
10
  appendPathRectangle,
11
11
  createPath,
12
12
  } from './path';
13
- import { createPathMorph, samplePathMorph } from './pathMorph';
13
+ import { createPathMorph, initializePathMorph, samplePathMorph } from './pathMorph';
14
14
 
15
15
  describe('createPathMorph', () => {
16
16
  it('normalizes different line and quadratic verbs to one cubic command stream', () => {
@@ -203,6 +203,11 @@ describe('createPathMorph', () => {
203
203
  });
204
204
  });
205
205
 
206
+ describe('initializePathMorph', () => {
207
+ it('is the construction initializer of createPathMorph', () => {
208
+ expect(typeof initializePathMorph).toBe('function');
209
+ });
210
+ });
206
211
  describe('samplePathMorph', () => {
207
212
  it('samples the prepared endpoints at zero and one', () => {
208
213
  const start = createPath();
@@ -1,5 +1,5 @@
1
1
  import { appendPathLineTo, appendPathMoveTo, createPath } from './path';
2
- import { buildPathMorph, PathMorphIssueNone } from './pathMorphGeometry';
2
+ import { PathMorphIssueNone, buildPathMorph, initializePathMorph } from './pathMorphGeometry';
3
3
 
4
4
  describe('buildPathMorph', () => {
5
5
  it('returns the prepared buffers with the internal success issue', () => {
@@ -16,3 +16,8 @@ describe('buildPathMorph', () => {
16
16
  expect(result.morph).not.toBeNull();
17
17
  });
18
18
  });
19
+ describe('initializePathMorph', () => {
20
+ it('is the construction initializer of createPathMorph', () => {
21
+ expect(typeof initializePathMorph).toBe('function');
22
+ });
23
+ });