@ai-matrx/content-ir 0.20.0 → 0.21.0
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/CHANGELOG.md +31 -0
- package/dist/convert.cjs.map +1 -1
- package/dist/convert.js.map +1 -1
- package/dist/core.cjs.map +1 -1
- package/dist/core.js.map +1 -1
- package/dist/directives.cjs +14 -3
- package/dist/directives.cjs.map +1 -1
- package/dist/directives.js +14 -3
- package/dist/directives.js.map +1 -1
- package/dist/index.cjs +456 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +433 -4
- package/dist/index.js.map +1 -1
- package/dist/source.cjs +442 -0
- package/dist/source.cjs.map +1 -1
- package/dist/source.d.cts +157 -1
- package/dist/source.d.ts +157 -1
- package/dist/source.js +419 -1
- package/dist/source.js.map +1 -1
- package/dist/text-case.cjs +14 -3
- package/dist/text-case.cjs.map +1 -1
- package/dist/text-case.d.cts +13 -7
- package/dist/text-case.d.ts +13 -7
- package/dist/text-case.js +14 -3
- package/dist/text-case.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.21.0
|
|
4
|
+
|
|
5
|
+
### `/source`: the markdown text helpers move in from matrx-frontend (chat-package-move P14)
|
|
6
|
+
|
|
7
|
+
- New on `@ai-matrx/content-ir/source`, unchanged in behavior: `unwrapCodeSpans`, `removeCodeSpans`,
|
|
8
|
+
`replaceFences`, `soleFence`; `markdownToPlainText`, `mathToReadable`, `unwrapKindEnvelopes`; `cleanMarkdown`;
|
|
9
|
+
`FENCE_META_KEY`, `splitFenceInfo`, `parseFenceMeta`, `parseLineRanges` (+ `FenceInfo`, `FenceMeta`);
|
|
10
|
+
`DIRECTIVE_CONTAINER_OPEN`, `DirectiveContainerTracker`; `TITLED_IMAGE_LINE`; `isInsideInlineCode`,
|
|
11
|
+
`indexOutsideInlineCode`, `hasUnclosedBacktickRun`; `initialXmlBalance`, `findBalancedXmlClose`
|
|
12
|
+
(+ `XmlBalanceState`, `XmlBalanceOptions`); `findWholeTableStart`, `startsLikeTableRow`,
|
|
13
|
+
`isGrowingDelimiterRow`, `trailingTableStart`.
|
|
14
|
+
- `splitFenceInfo` omits `language` / `meta` when empty instead of setting them to `undefined`.
|
|
15
|
+
|
|
16
|
+
### Consumer action
|
|
17
|
+
|
|
18
|
+
- matrx-frontend: import these from `@ai-matrx/content-ir/source` (the app's old modules re-export or are gone).
|
|
19
|
+
|
|
20
|
+
## 0.20.1
|
|
21
|
+
|
|
22
|
+
### `humanizeIdentifier`: already-human text, plurals, null
|
|
23
|
+
|
|
24
|
+
- Text that is already words (whitespace, no `_`) comes back as written: `"Customer's iPhone model"` and
|
|
25
|
+
`"Version 2.0"` are no longer split and re-cased; only a lowercase first letter is capitalized.
|
|
26
|
+
- A plural acronym stays whole: `userIDs` / `user_ids` → "User IDs" (was "User I Ds" / "User Ids").
|
|
27
|
+
- `null` / `undefined` return `""` instead of throwing.
|
|
28
|
+
- Parity corpus rows added; the Python twin is now `matrx_utils.text_case.humanize_identifier`.
|
|
29
|
+
|
|
30
|
+
### Consumer action
|
|
31
|
+
|
|
32
|
+
- None required.
|
|
33
|
+
|
|
3
34
|
|
|
4
35
|
## 0.20.0
|
|
5
36
|
|