Skip to content

Releases: moshcoder/moshpit-name

v0.5.0 — many names, from a pipe

Choose a tag to compare

@ralyodio ralyodio released this 10 Aug 05:21

Published as @moshcoder/moshpit-name@0.5.0.

Teaches the CLI to work on many names at once, from a pipe — and fences off the ways that could go wrong.

check and parse now take more than one argument, list reads a pasted list, and all three accept - to read from stdin. Add --ndjson and each entry comes back on its own line, which is what you want when the list is long enough that you'd rather stream it than buffer it.

Reading from a pipe is a wider door than reading from argv, so it comes with locks. Passing - alongside other arguments is refused outright rather than silently ignoring one of them, and stdin is capped at 1 MiB and at 1000 non-empty lines — a runaway producer gets a clear error instead of an unbounded read.

Nothing that worked in 0.4.0 changed shape. The single-name calls behave exactly as before; everything here is additive.

v0.4.0 — the no-dash label rule

Choose a tag to compare

@ralyodio ralyodio released this 03 Aug 16:59
7a4f176

Published as @moshcoder/moshpit-name@0.4.0.

Publishes the letters-and-digits-only rule for labels and endings — no dashes in a Moshpit name.

The rule had been correct in git for a while but was not reachable from npm: the caret range ^0.3.x cannot resolve 0.4.0, so dependents kept validating names against the old rule. This release is what makes the published validator agree with the repo.

Tagged retroactively at the release commit; earlier versions were published untagged.