Overview
Before the v1.3.0 release (Vento TOC processors), we identified pre-existing lint warnings and test failures that should be addressed in a future patch release.
These issues are not blockers for v1.3.0 since they exist in older code unrelated to the new features.
Lint Warnings (4 issues)
Missing explicit return types in public API functions:
plugins/css_banner.ts:39 - cssBanner() function
plugins/shuffle.ts:57 - shuffle() function
processors/defer_pagefind.ts:34 - deferPagefind() function
processors/external_links_icon.ts:28 - externalLinksIcon() function
Fix: Add explicit return types to all four functions (should be Lume plugin/processor return types).
Test Failures (7 failures)
language_alternates_schema.test.ts (4 failures)
-
addLanguageAlternate - adds translation as original
- Expected:
"https://example.com/ja/page"
- Actual:
[{ "@id": "https://example.com/ja/page" }]
-
addLanguageAlternate - adds translation as alternate
- Expected:
"https://example.com/en/page"
- Actual:
{ "@id": "https://example.com/en/page" }
-
languageAlternatesSchema - links pages by ID
- Expected:
"https://example.com/ja/about/"
- Actual:
undefined
-
languageAlternatesSchema - handles multiple schema fields
- Expected:
true
- Actual:
false
markdown_metadata.test.ts (3 failures)
-
markdownMetadata - extracts excerpt from content
- Expected:
"First paragraph."
- Actual:
undefined
-
markdownMetadata - calculates elapsed days
- Expected:
number
- Actual:
undefined
-
markdownMetadata - respects custom excerpt marker
- Expected:
"Custom marker test."
- Actual:
undefined
Recommended Fix Priority
High Priority
- markdown_metadata.test.ts failures - Core functionality (excerpt extraction) isn't working
- language_alternates_schema.test.ts failures - Schema linking may be broken
Medium Priority
- Lint warnings - Should be fixed for better type safety and JSR compatibility
Suggested Approach
- Investigate why
markdownMetadata preprocessor isn't extracting excerpts
- Fix
addLanguageAlternate function to return correct format
- Add explicit return types to the 4 plugin/processor functions
- Run full test suite to verify fixes
- Create patch release (v1.3.1 or v1.2.2 depending on timing)
Context
Discovered during v1.3.0 release preparation on 2025-11-23 while running preflight checks.
Overview
Before the v1.3.0 release (Vento TOC processors), we identified pre-existing lint warnings and test failures that should be addressed in a future patch release.
These issues are not blockers for v1.3.0 since they exist in older code unrelated to the new features.
Lint Warnings (4 issues)
Missing explicit return types in public API functions:
plugins/css_banner.ts:39-cssBanner()functionplugins/shuffle.ts:57-shuffle()functionprocessors/defer_pagefind.ts:34-deferPagefind()functionprocessors/external_links_icon.ts:28-externalLinksIcon()functionFix: Add explicit return types to all four functions (should be Lume plugin/processor return types).
Test Failures (7 failures)
language_alternates_schema.test.ts (4 failures)
addLanguageAlternate - adds translation as original"https://example.com/ja/page"[{ "@id": "https://example.com/ja/page" }]addLanguageAlternate - adds translation as alternate"https://example.com/en/page"{ "@id": "https://example.com/en/page" }languageAlternatesSchema - links pages by ID"https://example.com/ja/about/"undefinedlanguageAlternatesSchema - handles multiple schema fieldstruefalsemarkdown_metadata.test.ts (3 failures)
markdownMetadata - extracts excerpt from content"First paragraph."undefinedmarkdownMetadata - calculates elapsed daysnumberundefinedmarkdownMetadata - respects custom excerpt marker"Custom marker test."undefinedRecommended Fix Priority
High Priority
Medium Priority
Suggested Approach
markdownMetadatapreprocessor isn't extracting excerptsaddLanguageAlternatefunction to return correct formatContext
Discovered during v1.3.0 release preparation on 2025-11-23 while running preflight checks.