chore(deps): update dependency vite-node to v6 - #55
Closed
renovate[bot] wants to merge 5 commits into
Closed
Conversation
JDIZM
added a commit
that referenced
this pull request
Apr 21, 2026
Closes or supersedes Renovate PRs: - #56 typescript v6 (5.5 -> 6.0.3) - #55 vite-node v6 (3 -> 6) - #50 vitest v4 (3 -> 4.1.5) + @vitest/coverage-istanbul v4 - #46 / #51 node (20.19 -> 24) + CI matrix now [20, 22, 24] - #49 / #53 actions/setup-node + actions/checkout v4 -> v5 - #39 eslint-config-prettier v9 -> v10 - @types/node 22 -> 24 - esbuild added as explicit devDep (was transitive, removed by vitest 4) Surface fixes: - tsconfig.json: drop deprecated baseUrl + paths (no code used the @/* alias; TS 7 will drop the option entirely). - vitest.config.ts: switch from vite's defineConfig to vitest/config so the `test` key type-checks under TS 6. - calc/compoundInterest.test.ts: the interestOnly debtRepayment test was silently under-asserting the year-2 interestMatrix array (missing the last two months). vitest 4's toMatchObject is stricter on nested Maps and caught it. Added the missing 288769.25 + 290521 entries. Left alone: eslint v10 and typescript-eslint v8 require flat-config migration. Low reward for this small library. 57/57 tests pass, 97.44% stmts, 92.09% branches, 100% lines.
…ards Root-cause fixes found in pre-release review of v1.5.0: - PMT: explicit zero-rate branch ((pv+fv)/nper) instead of dividing by zero and returning NaN. Fixes mortgageCalculator (repayment), earlyMortgagePayoff, and the debt-repayment path at a 0% rate, which previously produced "£NaN" / a bogus "paid off in 1 month" result. - toDecimalRate: always divide by 100. Drops the ambiguous "rate >= 1 ? rate/100 : rate" heuristic that misread a genuine sub-1% rate (e.g. a 0.5% safe-withdrawal rate) as 50%. The three new calculators are now percentage-only (6 = 6%, 0.5 = 0.5%). - solveYearsToGoal: validate all inputs (incl. new startingBalance < 0 guard) before the "already met the target" early return. - solveYearsToGoal / yearsToFire: reject rates of -100% or lower that would NaN the Math.log solve. Tests expanded 45 -> 76 (97% stmts, 92% branch, 100% functions), covering the zero-rate, sub-1%, non-monthly-compounding, and guard branches. CHANGELOG updated with the percentage-only behaviour change. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The release workflow runs `npm version <tag>` against main and commits the bump itself (as it did for v1.4.1 and earlier — the v1.4.1 tag's package.json still read 1.4.0). The branch had pre-bumped to 1.5.0, which would make that step fail with "Version not changed". Revert to 1.4.1 so `gh release create v1.5.0` triggers a clean bump-and-publish. CHANGELOG keeps the 1.5.0 entry. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Per-repo guidance for agents/contributors: setup, commands, layout, conventions (rates are percentages, calculators throw on bad input), and the automated release flow. CLAUDE.md points to AGENTS.md. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
feat: v1.5.0 — savings goal, early payoff, FIRE calculators
renovate
Bot
force-pushed
the
renovate/vite-node-6.x
branch
from
June 30, 2026 10:52
39d06d0 to
e443df8
Compare
Contributor
Author
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
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.
This PR contains the following updates:
^3.0.0→^6.0.0Release Notes
antfu-collective/vite-node (vite-node)
v6.0.0Compare Source
🚨 Breaking Changes
View changes on GitHub
v5.3.0Compare Source
🚀 Features
View changes on GitHub
v5.2.0Compare Source
🏎 Performance
View changes on GitHub
v5.1.0Compare Source
🚀 Features
View changes on GitHub
v5.0.0Compare Source
🚨 Breaking Changes
View changes on GitHub
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.