@molecule/api-feed-rss 1.0.3 → 1.0.4
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 +5 -5
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
|
|
|
3
3
|
Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
|
|
4
4
|
Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
|
|
5
5
|
To change this document, edit the module-level JSDoc in src/index.ts.
|
|
6
|
-
Generated: 2026-10-
|
|
6
|
+
Generated: 2026-10-26T04:22:46.318Z
|
|
7
7
|
-->
|
|
8
8
|
|
|
9
9
|
# @molecule/api-feed-rss
|
|
@@ -677,7 +677,7 @@ serializer simply omits the timestamp element rather than emitting
|
|
|
677
677
|
`Invalid Date`.
|
|
678
678
|
|
|
679
679
|
```typescript
|
|
680
|
-
function toIso(value: string | Date |
|
|
680
|
+
function toIso(value: string | Date | undefined | null): string | undefined
|
|
681
681
|
```
|
|
682
682
|
|
|
683
683
|
- `value` — Raw `Date`, ISO string, or other date-like string.
|
|
@@ -692,7 +692,7 @@ RSS 2.0 `<pubDate>` / `<lastBuildDate>` fields.
|
|
|
692
692
|
Always returns GMT / `+0000`. Returns `undefined` for unparseable input.
|
|
693
693
|
|
|
694
694
|
```typescript
|
|
695
|
-
function toRfc822(value: string | Date |
|
|
695
|
+
function toRfc822(value: string | Date | undefined | null): string | undefined
|
|
696
696
|
```
|
|
697
697
|
|
|
698
698
|
- `value` — Raw `Date`, ISO string, or RFC 822 string.
|
|
@@ -706,7 +706,7 @@ Format a duration in seconds as `HH:MM:SS`, used for `<itunes:duration>`.
|
|
|
706
706
|
Returns `undefined` for non-finite or negative input.
|
|
707
707
|
|
|
708
708
|
```typescript
|
|
709
|
-
function toHhMmSs(seconds: number |
|
|
709
|
+
function toHhMmSs(seconds: number | undefined | null): string | undefined
|
|
710
710
|
```
|
|
711
711
|
|
|
712
712
|
- `seconds` — Whole or fractional seconds.
|
|
@@ -744,7 +744,7 @@ Whether a string looks like an HTTP(S) URL — used to set
|
|
|
744
744
|
`<guid isPermaLink>` and to fall back to `link` for `<id>` synthesis.
|
|
745
745
|
|
|
746
746
|
```typescript
|
|
747
|
-
function looksLikeHttpUrl(value: string |
|
|
747
|
+
function looksLikeHttpUrl(value: string | undefined | null): boolean
|
|
748
748
|
```
|
|
749
749
|
|
|
750
750
|
- `value` — Candidate string.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@molecule/api-feed-rss",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "RSS/Atom/JSON Feed producer — pure-function serializers for RSS 2.0, Atom 1.0, JSON Feed 1.1; emits valid XML/JSON with full XML escaping and CDATA wrapping. Includes optional HTTP handler factory.",
|
|
5
5
|
"homepage": "https://www.molecule.dev/packages/api-feed-rss",
|
|
6
6
|
"type": "module",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"directory": "packages/api/utilities/feed-rss"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@molecule/api-feed-rss-parser": "1.0.
|
|
41
|
+
"@molecule/api-feed-rss-parser": "1.0.4",
|
|
42
42
|
"@types/node": "26.6.5",
|
|
43
43
|
"typescript": "6.0.3",
|
|
44
44
|
"vitest": "4.1.12"
|