Repository navigation
Releases
v2.6.2
@cldmv/fix-headers v2.6.2 Changelog
Release Date: November 2026
Release Type: Patch
Branch: next → master
Overview
The CommonJS entry now follows the usual CommonJS convention of an export plus .default and its names. For fix-headers require("@cldmv/fix-headers") is still the fixHeaders function, as before, and it now also carries .default and .fixHeaders, so require(x).default, require(x).fixHeaders and const { fixHeaders } = require(x) all work. The release also bumps the repository's dev tools; fix-headers' options and header output are unchanged.
🐛 Bug Fixes
CJS shim keeps .default and the ESM names on require() (#222)
src/index.cjs is the generic CLDMV drop-in shim. Its earlier version returned a lone exported value bare, with no names on it, which left require(x).default and destructured named imports undefined. The shim now attaches .default and every ESM export name to that value when all the exports are one function or object, and returns the module object, as before, when the entry exports several distinct values.
fix-headers' src/index.mjs exports fixHeaders as both a named and the default export, so all its exports are one value:
- Before:
require("@cldmv/fix-headers")was thefixHeadersfunction, with no.defaultand no.fixHeaders. - Now: it is the same function, carrying
.defaultand.fixHeaders, both pointing back at the function. Callingrequire(x)(options)works exactly as before.
The tests assert the new properties, and the integration test no longer caps dist/index.cjs at 2 KB. It compares a sha256 of the shim body, with the fix-headers file header stripped so restamped dates don't matter, against the reviewed version, so the build can't drift from the shared shim unnoticed.
🔧 Dependencies
Development dependencies only; the runtime dependency (ignore) is unchanged (#224).
@cldmv/vitest-runner1.11.3 → 1.11.4.@cldmv/eslint-plugin-jsonv^1.0.10→^2.0.0(locked 1.1.2 → 2.0.0),@cldmv/jsonvand@cldmv/prettier-plugin-jsonvto^1.2.4.@cldmv/configsstays at 1.5.0.
📚 Documentation
- NEW: docs/changelog/v2/v2.6.2.md, this changelog.
- README What's New promoted to v2.6.2.
Upgrade notes
- Nothing to do.
require("@cldmv/fix-headers")still returns thefixHeadersfunction; it just has.defaultand.fixHeaderson it too. The behaviour matches v2.6.1.
| Metric | Coverage |
|---|---|
| Statements | 99.9% |
| Branches | 98.8% |
| Functions | 100.0% |
| Lines | 99.9% |
Avg: 99.6% · 8a9d2fd · Node lts/*
👥 Contributors
v2.6.1
@cldmv/fix-headers v2.6.1 Changelog
Release Date: November 2026
Release Type: Patch
Branch: next → master
Overview
A dev-tooling release: fix-headers' behaviour and options are unchanged. The repository moves to the fleet's new dev tools, @cldmv/vitest-runner 1.11.3 and @cldmv/configs 1.5.0, and dependabot.yml takes the CLDMV/.github v4.47.0 groups.
🔧 CI & tooling
dependabot.ymltakes the npm groups from the CLDMV/.github v4.47.0 template, so the CLDMV dev tools arrive in onecldmv-devPR and the generic patch and minor groups exclude every named family (#219, CLDMV/.github#593).
📚 Documentation
- NEW: docs/changelog/v2/v2.6.1.md, this changelog.
- README What's New promoted to v2.6.1.
🔧 Dependencies
Development dependencies only; the runtime dependency (ignore) is unchanged.
@cldmv/vitest-runner1.11.3 and@cldmv/configs1.5.0, withnpm updatefor the rest of the dev toolchain (#219). fix-headers keeps its own ESLint config, so the configs 1.5.0 lint changes don't apply to it.
Upgrade notes
- Nothing to do: fix-headers 2.6.1 behaves exactly like v2.6.0.
| Metric | Coverage |
|---|---|
| Statements | 99.9% |
| Branches | 98.8% |
| Functions | 100.0% |
| Lines | 99.9% |
Avg: 99.6% · c5ac5f3 · Node lts/*
👥 Contributors
v2.6.0
@cldmv/fix-headers v2.6.0 Changelog
Release Date: November 2026
Release Type: Minor
Branch: release/2.6.0
Overview
A declaration tsc emitted without a header now takes its source file's header dates and author, found through the tsconfig the declarations were built with. src/index.cjs is now the generic CLDMV CommonJS shim, and this package's own TypeScript declarations are generated at build and pack time instead of being committed. require("@cldmv/fix-headers") still returns the fixHeaders function, and the only new option is tsconfig.
✨ Features
Headerless declarations take their source's header (#214)
tsc copies a source's header into its declaration only when no import lines follow the header; otherwise it drops it. Those declarations were stamped as new files on every build, with the build time as @Last modified time. fix-headers now finds the declaration's source through the tsconfig the declarations were built with: the declaration's path inside declarationDir (else outDir), under rootDir (else the tsconfig's folder), with the first matching source extension, following extends. The declaration's header then takes @Date, @Author, @Last modified by and @Last modified time from the source's header, so rebuilding the declarations no longer changes them. @Filename and @Project still name the declaration that ships, such as types/src/x.d.mts.
The tsconfig is the new tsconfig option (CLI --tsconfig <path>), relative to cwd, defaulting to .configs/tsconfig.json and then tsconfig.json. A default that is missing or can't be read is ignored. With no tsconfig, no source, a source without a header, or rewriteDeclarationCopies: false, the declaration is stamped like any new file, as before.
Fixes #214.
Generic CommonJS shim (#212)
src/index.cjs, copied verbatim to dist/index.cjs, is the drop-in shim from the CLDMV package-layout convention instead of a hand-written .default unwrap. It returns the single distinct value the ESM entry exports, or the module object when there is more than one. fix-headers exports one function (fixHeaders, which is also the default export), so require() returns that function as before.
Fixes #209.
🔧 CI & tooling
Declarations are generated, not committed (#215)
types/ is gitignored. npm run types:build runs tsc and then stamps headers on its output with the package's own CLI, so each declaration names the file it ships as. build:ci and prepack both run it, so a published package always carries freshly built declarations. The package's types entry points at the generated types/src/index.d.mts; the hand-written types/index.d.mts re-export and the leftover types/devcheck.d.mts are gone. The repo's fix-headers config no longer sets rewriteDeclarationCopies: false.
Fixes #211.
Superseded CI runs cancel outside the release branch (#213)
ci.yml takes the CLDMV/.github v4.46.0 concurrency block: only the release base branch keeps a unique group per run, so a newer push cancels the older run on next, hotfixes and feature branches.
Fixes #210.
📚 Documentation
- NEW: docs/changelog/v2/v2.6.0.md: this changelog.
- README: the
tsconfigoption and--tsconfigflag, and the rule for declarationstscemitted without a header (#214). - README What's New promoted to v2.6.0.
🔧 Dependencies
No dependency updates.
Upgrade notes
require()andimportreturn what they did in 2.5.1. The one new option istsconfig(--tsconfig); without it, fix-headers looks for.configs/tsconfig.jsonand thentsconfig.json.- TypeScript consumers resolve the declarations through
exportsas before; only the file's path inside the package changed, fromtypes/index.d.mtstotypes/src/index.d.mts.
| Metric | Coverage |
|---|---|
| Statements | 99.9% |
| Branches | 98.9% |
| Functions | 100.0% |
| Lines | 99.9% |
Avg: 99.6% · a76b236 · Node lts/*
👥 Contributors
v2.5.1
@cldmv/fix-headers v2.5.1 Changelog
Release Date: November 2026
Release Type: Patch
Branch: release/2.5.1
Overview
The published package is no longer bundled. dist/ mirrors src/ one file per module, and the CLI imports the library from those files instead of carrying a second copy of it. The library's behaviour, options and CLI flags are unchanged.
🐛 Bug Fixes
dist/ is built one file per module (#206)
The tsup build bundled the library into dist/index.mjs and a second full copy into bin/fix-headers.mjs. scripts/build.mjs now minifies each src/**/*.mjs in place into the same path under dist/ with esbuild (bundle: false), with its imports left as they are. dist/index.cjs is still the small CommonJS wrapper copied verbatim from src/index.cjs.
The package's bin now points at dist/cli.mjs, which imports ./index.mjs, and the bin/ folder is no longer published. The fix-headers command works as before; only a script that ran node_modules/@cldmv/fix-headers/bin/fix-headers.mjs by path needs to call dist/cli.mjs (or the fix-headers command) instead.
Fixes #205.
📚 Documentation
- NEW: docs/changelog/v2/v2.5.1.md: this changelog.
- README What's New promoted to v2.5.1.
🔧 Dependencies
tsupremoved from devDependencies; the build usesesbuilddirectly (#206).
Upgrade notes
- No API or option changes. Call the CLI through the
fix-headerscommand rather than the oldbin/fix-headers.mjspath.
| Metric | Coverage |
|---|---|
| Statements | 99.9% |
| Branches | 98.9% |
| Functions | 100.0% |
| Lines | 99.9% |
Avg: 99.6% · 053dd24 · Node lts/*
👥 Contributors
v2.5.0
@cldmv/fix-headers v2.5.0 Changelog
Release Date: November 2026
Release Type: Minor
Branch: release/2.5.0
Overview
Generated TypeScript declarations get a header of their own. tsc copies a source file's header into the .d.ts / .d.mts / .d.cts it emits, so the declaration an IDE shows named the source file. fix-headers now restamps such a declaration for the path and package it ships in, keeping the source's dates and author. This is the setup for packages that build types/ in CI or prepack instead of committing it.
✨ Features
Generated declarations are restamped for where they ship (#202)
A declaration whose header names its own source (types/src/x.d.mts with @Filename: src/x.mts) gets @Filename: types/src/x.d.mts and its package's @Project. @Date, @Author, @Last modified by and @Last modified time stay as the source's header has them, since a generated file has no git history of its own. A staged package folder with its own package.json is its own project root, so dist-packages/x-types/lib/x.d.mts gets @Filename: lib/x.d.mts and that package's name. Run fix-headers after tsc, for example fix-headers --input types in prepack or CI.
A later run leaves a restamped declaration as it is when git doesn't track it: a declaration with a header that git doesn't track is treated as generated, so it keeps the editor and dates it carries instead of taking the runner and the current time.
rewriteDeclarationCopies: false (CLI --no-rewrite-declaration-copies) keeps the 2.4.0 behaviour of skipping these declarations, for repos that still commit types/.
Fixes #201.
📚 Documentation
- NEW: docs/changelog/v2/v2.5.0.md: this changelog.
- README: the
rewriteDeclarationCopiesoption and--rewrite-declaration-copies/--no-rewrite-declaration-copiesflags, and the generated-declaration rule (#202). - README What's New promoted to v2.5.0.
🔧 Dependencies
No dependency updates.
Upgrade notes
- Repos that commit generated
types/: set"rewriteDeclarationCopies": falsein the fix-headers config. Otherwise fix-headers andtscrewrite each other's@Filenameon every build, as before 2.4.0. The better fix is to gitignoretypes/and build it in CI andprepack. - Repos that don't run fix-headers on declaration files see no change.
| Metric | Coverage |
|---|---|
| Statements | 99.9% |
| Branches | 98.9% |
| Functions | 100.0% |
| Lines | 99.9% |
Avg: 99.6% · 9f69cbb · Node lts/*
👥 Contributors
v2.4.0
@cldmv/fix-headers v2.4.0 Changelog
Release Date: November 2026
Release Type: Minor
Branch: release/2.4.0
Overview
@Filename is now written without a leading slash. It is the file's path relative to the project root, and /src/index.mjs read as an absolute path, so it is written as src/index.mjs. Headers written by earlier versions are rewritten on the next run.
Declaration files that tsc emits with a copy of their source's header are now left alone, so tsc and fix-headers stop rewriting each other's @Filename in committed types/ folders.
✨ Features
@Filename without a leading slash (#199)
src/index.mjs → @Filename: src/index.mjs (was /src/index.mjs). A file with no project root above it gets just its file name. An existing header with the leading slash is rewritten on the next run like any other stale field: only the @Filename line and @Last modified time change, and the recorded @Last modified by is kept because the file's content was not edited.
Fixes #198.
🐛 Bug Fixes
Declarations carrying tsc's copy of the source header are skipped (#196)
tsc copies a source file's leading comment into the .d.ts / .d.mts / .d.cts it emits, so a generated types/src/x.d.mts carried @Filename naming src/x.mts. fix-headers rewrote it to the declaration's own path, and the next tsc build wrote it back, so every build and every fix-headers run changed the committed declarations. A declaration whose header names its own source is now reported in skipped and left as tsc wrote it. The pairs are x.d.mts from x.mts / x.mjs, x.d.ts from x.ts / x.tsx / x.js / x.jsx, and x.d.cts from x.cts / x.cjs; the check compares file names only, so both the old slashed and the new @Filename form match. A declaration with no header, or one naming any other file (a hand-written declaration that was moved or renamed), is fixed as before.
Fixes #195.
📚 Documentation
- NEW: docs/changelog/v2/v2.4.0.md: this changelog.
- README: every
@Filenameexample uses the slashless form, the project-root rules say so, and the skip rules describe generated declaration files (#196, #199). - README What's New promoted to v2.4.0.
🔧 Dependencies
No dependency updates.
Upgrade notes
- The first run after upgrading rewrites the
@Filenameline (and@Last modified time) in every file that has a header. Land it on its own, as a header-only commit, when no open PRs touch the same files. @Last modified byand@Authorare kept on that run.- Generated declarations whose header names their own source now show up in
skipped; nothing else about how declarations are handled changes.
| Metric | Coverage |
|---|---|
| Statements | 99.9% |
| Branches | 98.8% |
| Functions | 100.0% |
| Lines | 99.9% |
Avg: 99.6% · a32ffe5 · Node lts/*
👥 Contributors
v2.3.0
@cldmv/fix-headers v2.3.0 Changelog
Release Date: November 2026
Release Type: Minor
Branch: release/2.3.0
Overview
Version 2.3.0 adds two kinds of files. The node detector now handles TypeScript's .mts and .cts extensions, and a new c detector stamps C and C++ sources and headers (.c .h .cc .cpp .cxx .hh .hpp .hxx).
Vendored C is left alone: a C file whose opening comments carry someone else's license or copyright notice is skipped and reported in skipped, so a bundled library such as the SQLite amalgamation keeps its own notice. Header output for every file type that was already supported is unchanged.
✨ Features
.mts and .cts in the node detector (#193)
.mts and .cts files get the same /** … */ header as .ts. A repo-wide run now stamps them instead of skipping them as unhandled.
New c detector for C and C++ (#193)
The c detector is on by default and covers .c, .h, .cc, .cpp, .cxx, .hh, .hpp and .hxx. The header is a plain /* … */ comment (not /** … */, so Doxygen doesn't take it as the documentation of the first declaration), placed at the top of the file above #include, #pragma once and include guards. Turn it off with disabledDetectors: ["c"].
Third-party C is skipped (#193)
The detector reads a C file's prologue (its comments, blank lines and preprocessor lines up to the first line of code). If any comment there mentions a copyright, a license, an SPDX-License-Identifier or "public domain" and isn't a fix-headers header, the file is reported in skipped and its bytes are not touched. This catches the SQLite amalgamation, whose public-domain notice sits below a few #define lines. A file whose first comment is already a fix-headers header is always treated as the project's own. Whole vendor folders can still be left out with excludeFolders / --exclude-folder.
Fixes #192.
🔧 CI & tooling
ci.ymlsynced with the CLDMV/.github v4.43.0 template, so the release PR no longer reruns the test matrix on a commit its push run already tested (#191).
📚 Documentation
- NEW: docs/changelog/v2/v2.3.0.md: this changelog.
- README: the supported-file-types table lists
.mts/.ctsand thecdetector, and the skip rules describe how third-party C is detected (#193). - README What's New promoted to v2.3.0.
🔧 Dependencies
Development only (#189):
@cldmv/eslint-plugin-jsonv1.0.17 → 1.1.2@cldmv/jsonv1.1.5 → 1.2.2@cldmv/prettier-plugin-jsonv1.1.4 → 1.2.2@cldmv/vitest-runner1.5.6 → 1.6.1eslint10.14.0 → 10.15.0prettier3.9.10 → 3.10.1
Upgrade notes
- No breaking changes; drop-in for v2.2.7.
- A repo-wide run now also stamps
.mts,.ctsand C/C++ files that were skipped before. Add"c"todisabledDetectors, or exclude the folders, if you don't want that. - A project C file whose opening comment mentions a copyright or license (and isn't a fix-headers header yet) is skipped as third-party; the reason is shown in the run output.
| Metric | Coverage |
|---|---|
| Statements | 99.9% |
| Branches | 98.8% |
| Functions | 100.0% |
| Lines | 99.9% |
Avg: 99.6% · 5d93a9f · Node lts/*
👥 Contributors
v2.2.7
@cldmv/fix-headers v2.2.7 Changelog
Release Date: November 2026
Release Type: Patch
Branch: release/2.2.7
Overview
Version 2.2.7 changes how the package is tested, not what it does. Nothing under src/ changed, so header handling, the fixHeaders API, the CLI and the published dist/ behave exactly as in v2.2.6.
The test suite now really runs against src/ through the fix-headers-dev condition (the old config never passed it to the test workers), the same suite also runs against the built dist/ with npm run test:dist, and one discovery test no longer fails when the checkout sits under a folder named dist. The rest is a vitest 5.1.0 bump and the sync-release-notes workflow.
🧪 Tests
The fix-headers-dev condition reaches the test workers (#179)
The vitest config passed the condition through test.nodeOptions, which isn't a Vitest option, so the workers never got it. It now uses devCondition() from @cldmv/configs, which sets resolve.conditions, ssr.resolve.conditions and the workers' execArgv from the package's own package.json.
npm run test:dist runs the suite against the build (#181)
The tests import the package by name (@cldmv/fix-headers) instead of ../src/index.mjs. npm run test:dist builds the package and runs the suite with --mode=dist, which leaves the fix-headers-dev condition off, so those imports load dist/. A new tests/resolve.test.vitest.mjs checks that each run loaded the tree it meant to. npm test and ci:coverage now include the dist/ run.
Discovery test judges paths from the workspace root (#182)
The include/exclude discovery test checked path.includes("dist/") on absolute paths, so it failed whenever the checkout itself sat under a folder whose name ends in dist. It now looks at each path's folders relative to the workspace. Because the include-folder walk never visits dist/, the test also does a whole-project walk with only excludeFolders, so the dist exclusion is actually exercised.
🔧 CI & tooling
- Added the v4
sync-release-notesworkflow, which keeps GitHub Release pages in step with the files indocs/changelog/and reports draft releases and missing tags (#187).
📚 Documentation
- NEW: docs/changelog/v2/v2.2.7.md: this changelog.
- README: the development requirements mention
npm test(againstsrc/) andnpm run test:dist(againstdist/) (#181). - README What's New promoted to v2.2.7.
🔧 Dependencies
Development only:
vitestand@vitest/coverage-v85.0.5 → 5.1.0 (#183).@cldmv/configs^1.2.4→^1.4.0, fordevCondition()(#179).
Upgrade notes
- No breaking changes; drop-in for v2.2.6. No library code changed, and header output is identical.
| Metric | Coverage |
|---|---|
| Statements | 99.9% |
| Branches | 98.8% |
| Functions | 100.0% |
| Lines | 99.9% |
Avg: 99.6% · 13da7df · Node lts/*
👥 Contributors
v2.2.6
@cldmv/fix-headers v2.2.6 Changelog
Release Date: November 2026
Release Type: Patch
Branch: release/2.2.6
Overview
Version 2.2.6 sets engines.node back to the Node.js version the package needs at runtime, >=18.0.0, instead of the 22.22.0 development toolchain floor that v2.2.5 put there. The 22.22.0 floor moves to npm's devEngines, which only applies when you work on this repository.
Header handling, the fixHeaders API and the CLI behave exactly as in v2.2.5. Installs on Node.js 18 through 22.21 no longer get an EBADENGINE warning.
🐛 Bug Fixes
engines.node is the runtime floor again (#176)
v2.2.5 raised engines.node to >=22.22.0 because the development toolchain (tsup 9 needs 22.18 or later) no longer runs on older Node.js. The published package doesn't need any of that toolchain, so the floor was stricter than the code. engines.node is now >=18.0.0, and the bundles are built for node18 (tsup target, was node22).
The package is an ES module and loads with import on Node.js 18 and later. require("@cldmv/fix-headers") loads the ES module build synchronously, which needs require(esm): Node.js ^20.19.0 or >=22.13.0. On a Node.js without it, the CommonJS entry now says exactly that (require() needs Node.js ^20.19.0 or >=22.13.0, code ERR_REQUIRE_ESM) and points to import(); v2.2.5's message asked for 22.22.0.
📦 Requirements
- Runtime: Node.js 18.0.0 or later (
engines.nodeis>=18.0.0, was>=22.22.0).require()needs Node.js ^20.19.0 or >=22.13.0; useimport()on older versions. - Development: working on this repository needs Node.js 22.22.0 or later, declared in
devEngines.runtimewithonFail: "error". This doesn't affect anyone installing the package.
🔧 CI & tooling
- The CI and publish workflows keep
min_node_versionat 22.22.0; its description and a comment now say it's the dev toolchain floor and should matchdevEngines, notengines(#176).
📚 Documentation
- NEW: docs/changelog/v2/v2.2.6.md: this changelog.
- README: the requirements list the runtime floor, the
require()range and the development floor separately (#176). - The v2.2.5 changelog now lists its Node.js floor under Requirements instead of Breaking Changes (#175).
- README What's New promoted to v2.2.6.
Upgrade notes
- No breaking changes; drop-in for v2.2.5. Apart from the CommonJS entry's error message and the
node18build target, no library code changed, and header output is identical. - If you held back from v2.2.5 because of its 22.22.0 floor, v2.2.6 installs cleanly on Node.js 18 and later again.
| Metric | Coverage |
|---|---|
| Statements | 99.9% |
| Branches | 98.8% |
| Functions | 100.0% |
| Lines | 99.9% |
Avg: 99.6% · 40ed317 · Node lts/*
👥 Contributors
v2.2.5
@cldmv/fix-headers v2.2.5 Changelog
Release Date: November 2026
Release Type: Patch
Branch: release/2.2.5
Overview
Version 2.2.5 removes the development check added in v2.2.4 and raises the Node.js floor to 22.22.0. Header handling, the fixHeaders API and the CLI behave exactly as in v2.2.4.
The development check only ever ran in a source checkout, never in the installed package, so removing it changes nothing for consumers. The Node.js floor is now 22.22.0: engines.node is now >=22.22.0 (was >=22.13.0), so installs on Node.js 22.13 through 22.21 get an EBADENGINE warning, or fail under engine-strict.
🐛 Bug Fixes
Development check removed (#170)
v2.2.4 made src/index.mjs load a root devcheck.mjs that stopped a source checkout run without --conditions=fix-headers-dev. That check is gone, along with its test and the tsup external entry that kept it out of the bundles. The fix-headers-dev export condition already chooses the tree: with it, @cldmv/fix-headers resolves to src/; without it, to the built dist/. Both are valid ways to run a checkout, and the repository's npm scripts and Vitest config pass the condition.
The published dist/index.mjs, dist/index.cjs and bin/fix-headers.mjs no longer reference ../devcheck.mjs at all; before, they tried to load it and skipped it when it was missing. The entry files stay src/index.mjs and its CommonJS sibling src/index.cjs, and the package's exports are unchanged.
📦 Requirements
Node.js 22.22.0 or later (#170)
engines.node is >=22.22.0 (was >=22.13.0). The development toolchain no longer runs on earlier 22.x releases (tsup 9 needs 22.18 or later), so those versions can't be tested any more. The CI matrix floor, the README requirements and the message require("@cldmv/fix-headers") prints on a Node.js without require(esm) all say 22.22.0 now. The library code itself didn't change for this; it's a change to what is supported and tested.
🔧 CI & tooling
- The CI and publish workflows'
min_node_versiondefault is 22.22.0 (#170).
📚 Documentation
- NEW: docs/changelog/v2/v2.2.5.md: this changelog.
- README: the requirements list the 22.22.0 floor (#170).
- README What's New promoted to v2.2.5.
🔧 Dependencies
ignorerange^7.0.5→^7.0.14; the lockfile already resolved 7.0.14, so the installed version is the same (#172).- Development only:
tsup8.5.1 → 9.0.0 (which bringscac7,chokidar5,readdirp5 andtinyexec1) andglobals17.13.0 → 17.14.0 (#172). - Development only:
typescriptstays on 6.0.3. #172 moved it to 7, and #173 pinned it back to^6.0.3because TypeScript 7's declaration emit for JavaScript sources isn't complete yet. - The
katexandminimatchnpm overrides from v2.2.4 are unchanged; both are development-only.
Upgrade notes
- Node.js 22.22.0 or later is required (was 22.13.0). Upgrade Node.js before upgrading the package.
- No change to the
fixHeadersAPI, the CLI or the output it writes. Upgrading from v2.2.4 produces no diff in your files. - In a fix-headers source checkout, nothing stops a run without
--conditions=fix-headers-devany more; it just usesdist/, so build first or pass the condition. The npm scripts already pass it.
| Metric | Coverage |
|---|---|
| Statements | 99.9% |
| Branches | 98.8% |
| Functions | 100.0% |
| Lines | 99.9% |
Avg: 99.6% · a70f12c · Node lts/*