Repository navigation
refactor: Bump handlebars from 4.7.9 to 4.7.10 - #629
Conversation
|
🚀 Thanks for opening this pull request! We appreciate your effort in improving the project. Please let us know once your pull request is ready for review. Tip
Note Please respond to review comments from AI agents just like you would to comments from a human reviewer. Let the reviewer resolve their own comments, unless they have reviewed and accepted your commit, or agreed with your explanation for why the feedback was incorrect. Caution Pull requests must be written using an AI agent with human supervision. Pull requests written entirely by a human will likely be rejected, because of lower code quality, higher review effort and the higher risk of introducing bugs. Please note that AI review comments on this pull request alone do not satisfy this requirement. Our CI and AI review are safeguards, not development tools. If many issues are flagged, rethink your development approach. Invest more effort in planning and design rather than using review cycles to fix low-quality code. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #629 +/- ##
=======================================
Coverage 97.77% 97.77%
=======================================
Files 2 2
Lines 225 225
=======================================
Hits 220 220
Misses 5 5 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Closes #624
Bumps the transitive dev dependency
handlebarsfrom 4.7.9 to 4.7.10 (lock file only).This is a security update for a development-only dependency. It resolves GHSA-p8wg-vrv2-v86f (critical), GHSA-8r5x-fm3f-whwj (critical) and GHSA-xw65-4hp5-5hc7 (medium), which affect
handlebars<= 4.7.9 and are patched in 4.7.10.handlebarsis only required byconventional-changelog-writer@8.0.0(via@semantic-release/commit-analyzerand@semantic-release/release-notes-generator) to render release notes. It is not in the production dependency tree, so this does not trigger a release.Changes
#eachand strip whitespace in linear time (handlebars-lang/handlebars.js@812c226)<!--and<scriptin precompiled output, GHSA-xw65-4hp5-5hc7 (handlebars-lang/handlebars.js@609d1b1)minimistrange to^1.2.8(handlebars-lang/handlebars.js@ea8ed82). The lock file already resolvesminimistto 1.2.8, so no other entries change.{{#each}}now iterates non-array iterables (Map,Set, generators) lazily instead of copying them into an array first.Lock file diff: only the
node_modules/handlebarsentry changes (version, resolved, integrity, and its ownminimistrange^1.2.5→^1.2.8).Breaking Changes
None
Code Changes Required
None — the upgrade is a drop-in replacement.
conventional-changelog-writer@8.0.0registers the partials as strings, compiles withnoEscape: trueand only passes arrays to#each, so none of the changed code paths affect it. The repository's release templates (.releaserc/*.hbs, as configured in.releaserc.js) were rendered through@semantic-release/release-notes-generator@14.1.1with the lock file's toolchain versions onhandlebars4.7.9 and 4.7.10 for patch, minor, major (with notes), first-release and prerelease scenarios. The output was byte-identical.Summary by CodeRabbit