Skip to content

deps: bump @cldmv/fix-headers from 1.3.12 to 2.1.0 - #52

Closed
dependabot[bot] wants to merge 1 commit into
nextfrom
dependabot/npm_and_yarn/next/cldmv/fix-headers-2.1.0
Closed

dependabot[bot] wants to merge 1 commit into
nextfrom
dependabot/npm_and_yarn/next/cldmv/fix-headers-2.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 2, 2026 •

Copy link
Copy Markdown

Bumps @cldmv/fix-headers from 1.3.12 to 2.1.0.

Release notes

Sourced from @​cldmv/fix-headers's releases.

v2.1.0

release: v2.1.0 - add spacing and margin options; frame headers with…

@​cldmv/fix-headers v2.1.0 Changelog

Release Date: September 2026 Release Type: Minor Branch: release/2.1.0


Overview

Version 2.1.0 adds two layout options, spacing and margin, and by default frames every header with empty comment lines and leaves two blank lines before the file's own content. It fixes line-comment headers (YAML, Python and other # languages) losing the bare comment lines that pad the top and bottom of the header, which happened because the parser replaces the whole leading comment run and the line renderer had no top and bottom lines to put back. It also carries a patch-level bump of four dependencies.

No option was removed and the fixHeaders API is unchanged. Existing headers are restyled to the new layout on the first run; pass spacing: 0 and margin: 1 to keep the previous compact layout.


✨ Features

spacing and margin header layout options (#101)

Both options are top-level settings in a config file, in the fixHeaders API and on the CLI (--spacing <n>, --margin <n>), and apply to every file type:

  • spacing (default 1) is the number of empty comment lines just inside the header's opening and just before its closing. A block header gets an empty * line under /** and above */; a line-comment header gets a bare # (or the language's own prefix) above and below the fields.
  • margin (default 2) is the number of blank lines between the header and the file's next content. A line-comment header always keeps at least one blank line after it, even with margin: 0, so a comment that follows the header is not read as part of it.

Both accept any whole number of 0 or more; anything else is rejected before a file is touched. An existing header of any layout is restyled in place, and a second run with unchanged options finds nothing to update. See Header layout in the README.

Closes #100.

🐛 Bug Fixes

Line-comment headers keep their padded frame lines (#101)

A YAML workflow or Python file that carried the common template header, with a bare # line above and below the field block, lost both lines on the first run, and the header then ran straight into the next comment. renderHeaderLines now emits the frame lines for line headers as well, controlled by spacing. Block headers get the same frame (/**, *, fields, *, */), where before /** was followed directly by the first field.

📚 Documentation

🔧 Dependencies

  • ignore 7.0.9 → 7.0.10, @types/node 26.6.2 → 26.6.3, @vitest/coverage-v8 5.0.1 → 5.0.2 and vitest 5.0.1 → 5.0.2 (#98). Only ignore is a runtime dependency.

Upgrade notes

... (truncated)

Commits
  • fc0ee86 release: v2.1.2 - adopt the shared CLDMV fix-headers config and stamp…
  • 0eb3517 release: v2.1.1 - end a header-only file with the header instead of…
  • 080ab89 release: v2.1.0 - add spacing and margin options; frame headers with…
  • 68847df release: v2.0.0 - re-cut the release notes as v2.0.0
  • See full diff in compare view
Install script changes

This version adds prepare script that runs during installation. Review the package contents before updating.


@cldmv-bot cldmv-bot Bot added the type: dependencies Relates to dependency updates, version bumps, or package management label Oct 2, 2026
Bumps [@cldmv/fix-headers](https://github.com/CLDMV/fix-headers) from 1.3.12 to 2.1.0.
- [Release notes](https://github.com/CLDMV/fix-headers/releases)
- [Commits](CLDMV/fix-headers@v1.3.12...v2.1)

---
updated-dependencies:
- dependency-name: "@cldmv/fix-headers"
  dependency-version: 2.1.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/next/cldmv/fix-headers-2.1.0 branch from 592d887 to 7730789 Compare October 3, 2026 03:10
@dependabot @github

dependabot Bot commented on behalf of github Oct 3, 2026

Copy link
Copy Markdown
Author

Looks like @cldmv/fix-headers is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Oct 3, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/next/cldmv/fix-headers-2.1.0 branch October 3, 2026 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: dependencies Relates to dependency updates, version bumps, or package management

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants