chore: field tested update dependencies - #382
Open
luabagg wants to merge 7 commits into
Open
Conversation
- axios is prone to supply chain attacks and only used in one place easily replaced by fetch
Start from epsilonhalbe PR oleeskild#368 (axios→fetch, dependency refresh), merge current upstream/main, then: - Bump markdown-it-mathjax3 to 5.2.0 with dynamic ESM import - Port compactNoteMetadata and bases render cache (statistics fork) - Harden get-theme fetch fallback for non-2xx responses - Fix nested note permalinks and filetree permalink meta Verified with TZ=UTC npm test.
luabagg
marked this pull request as draft
June 27, 2026 13:47
…, raise node floor to >=22.12 - Pin sass@1.93.2, node-html-parser@7.0.2, fs-file-tree@1.1.1 (ESM-only deps break CJS callers on Node 22.1) - Dynamic import @11ty/eleventy-plugin-rss (ESM-only in v3) - Fix date() timezone bug for YYYY-MM-DD inputs - Bump engines to >=22.12.0 for vitest 4 / vite 8 / rolldown compat
Restore Bases/date/permalink/metadata changes to main so oleeskild#382 stays dependency-focused. Keep MathJax-safe HTML minify (minifyCSS: false) as part of the markdown-it-mathjax3 v5 upgrade. Co-authored-by: Cursor <cursoragent@cursor.com>
luabagg
marked this pull request as ready for review
July 23, 2026 15:38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Keep the template buildable on modern Node/dependency majors (including ESM-only packages and MathJax 5), while leaving unrelated behavior fixes to separate PRs. Field-tested on https://statistics-digital-garden.vercel.app/
I accepted multiple dependabot PRs and it ended up breaking my website, so this intends to fix that.
Summary
@11ty/eleventy, RSS plugin, MathJax 5, sass, vitest, dotenv, markdown-it-*, rimraf, etc.) and pin CJS-safe versions where neededaxioswith nativefetchin theme download (from #368 by @epsilonhalbe)@11ty/eleventy-plugin-rssv3,markdown-it-mathjax3v5) via dynamicimport()22.x(engines, CI,.tool-versions)Out of scope (separate PRs)
date()timezoneTest plan
TZ=UTC npx vitest run src/site/__tests__/get-theme.test.js src/site/__tests__/minify-html.test.jsnpm run buildBased on @epsilonhalbe's work in #368.