docs(changeset): narrow the glob no-match wording

Merged
SR
9h ago
+2-2

Summary

Narrows the #2955 changeset so the v11.0.2 release notes match the code. Raised by cubic on #2956.

-Fail when an `input` glob matches no file.
+Fail when no input file is left after glob expansion.
 …
+An array where at least one entry matches keeps working, and unmatched globs in it are skipped as before.

The code is unchanged. Skipping an unmatched glob inside an array that still matches another file is intended (plan 002), and a test covers it. The @throws comments in setup.ts already say this.

Evidence

  • Before: input: ["nope/*.js", "real.js"] resolves, and the changeset title says any unmatched glob fails.
    After: the same call resolves, and the changeset says only an input left with no file fails.

Merge Danger

Door: two-way

Blast Radius: release notes

Changeset text only. It becomes the @node-minify/core 11.0.2 CHANGELOG entry.


Summary by cubic

Narrows the @node-minify/core 11.0.2 changeset wording so the release notes match the code. The old text implied any unmatched glob fails, but an array with at least one matching entry keeps working and unmatched globs in it are skipped; only an input left with no files after expansion throws. Code is unchanged and a test covers this case.