@flighthq/text-markup 0.5.1-next.903.f434bc2 → 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/text-markup`. The `@
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/text-markup@0.5.1-next.903.f434bc2](https://github.com/flighthq/flight/tree/f434bc233778d75aeea61995df3a8cfaec459a85/packages/text-markup)
17
- - [License](https://github.com/flighthq/flight/blob/f434bc233778d75aeea61995df3a8cfaec459a85/LICENSE.md)
16
+ - [Source for @flighthq/text-markup@0.5.1-next.905.5fbf787](https://github.com/flighthq/flight/tree/5fbf7874064c384307542d68b4dcb6a895ff0dcf/packages/text-markup)
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/text-markup",
3
- "version": "0.5.1-next.903.f434bc2",
3
+ "version": "0.5.1-next.905.5fbf787",
4
4
  "author": "Joshua Granick and other contributors",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -38,10 +38,10 @@
38
38
  "clean:dist": "tsx ../../scripts/clean-package-dist.ts"
39
39
  },
40
40
  "dependencies": {
41
- "@flighthq/color": "0.5.1-next.903.f434bc2",
42
- "@flighthq/entity": "0.5.1-next.903.f434bc2",
43
- "@flighthq/textlayout": "0.5.1-next.903.f434bc2",
44
- "@flighthq/types": "0.5.1-next.903.f434bc2"
41
+ "@flighthq/color": "0.5.1-next.905.5fbf787",
42
+ "@flighthq/entity": "0.5.1-next.905.5fbf787",
43
+ "@flighthq/textlayout": "0.5.1-next.905.5fbf787",
44
+ "@flighthq/types": "0.5.1-next.905.5fbf787"
45
45
  },
46
46
  "devDependencies": {
47
47
  "typescript": "^5.3.0"
@@ -3,6 +3,7 @@ import { describe, expect, it } from 'vitest';
3
3
 
4
4
  import {
5
5
  createMarkupTagRegistry,
6
+ initializeMarkupTagRegistry,
6
7
  registerMarkupTag,
7
8
  registerStandardMarkupTags,
8
9
  resolveMarkupHexColor,
@@ -34,6 +35,12 @@ describe('createMarkupTagRegistry', () => {
34
35
  });
35
36
  });
36
37
 
38
+ describe('initializeMarkupTagRegistry', () => {
39
+ it('is the construction initializer of createMarkupTagRegistry', () => {
40
+ expect(typeof initializeMarkupTagRegistry).toBe('function');
41
+ });
42
+ });
43
+
37
44
  describe('registerMarkupTag', () => {
38
45
  it('registers a custom tag whose handler contributes format', () => {
39
46
  const registry = createMarkupTagRegistry();
@@ -122,7 +129,6 @@ describe('registerStandardMarkupTags', () => {
122
129
  expect(formatAt(content, 2)).toEqual({ align: 'center' });
123
130
  });
124
131
  });
125
-
126
132
  describe('resolveMarkupHexColor', () => {
127
133
  it('parses #rrggbb, #rgb, and 0xRRGGBB values', () => {
128
134
  expect(resolveMarkupHexColor('#ff0000')).toBe(0xff0000ff);