Repository navigation
Conversation
gronke
force-pushed
the
feat/pack
branch
7 times, most recently
from
October 5, 2026 14:32
061df3a to
633d27c
Compare
File selection follows npm-packlist 11.3.0 and the tarball layout pacote's, both pinned by fixtures recorded from npm 12.1.0.
A port of minimatch 10.2.5, pinned by a fixture recorded from the JavaScript; `pack` matches its rules with it. Negation groups evaluate as zero-width checks instead of regex lookaheads, and every budget errors by name.
…llbacks Five more fixture trees are recorded against npm 12.1.0, and tests/pack_npm.rs runs on the default leg too.
Twelve git packages and twenty registry tarballs are held to npm 12.1.0's listing and to the registry's bytes. ci/sealed-node runs npm and minimatch from a digest-pinned node container without network; the committed records reproduce in CI.
The grammar draws each pattern with a witness path; the live differential draws from the same grammar. Properties carve out minimatch's own behaviour where it differs, with a comment each. The pack-e2e job runs 4096 cases per property.
Every control has a test; the `extract` and `pack` module docs state the known limits.
The intro names what `pack` reads and writes; the listing, the veto, the tarball and the tests are bullets, the budgets a table.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
npm-utils pack [DIR] [--dry-run] [--json] [--pack-destination DIR]andnpm_utils::pack::{list, tarball}to resemblenpm packwithout Node.