Fresh Hold

Find freshly published npm packages in your lockfile

Drop a lockfile. Every package version published inside your window is flagged with its age, so you can wait until a bad release would have been caught and pulled.

days (1 to 90)

Each package's full registry record is downloaded to read its publish dates. A lockfile with hundreds of packages can mean tens to hundreds of megabytes.

Why wait out the first days?

Most malicious or broken npm releases are found and removed within days of publishing. A lockfile that pins a version only hours old carries that risk straight into your build. Fresh Hold reads the exact versions your lockfile pins, asks the public npm registry when each one was published, and lists the ones younger than the window you choose, newest first. Pin those back to an older version, or wait and check again.

Questions

Is my lockfile uploaded?

No. The file is read in your browser. To get publish dates, the page sends each package name, one request per name, to registry.npmjs.org. Versions, paths and the rest of the file stay on your device.

How much does a check download?

The registry answers each name with that package's full record, every version ever published, because that is where the publish dates are. A popular package can be several megabytes, so a large lockfile with hundreds of packages can download tens to hundreds of megabytes. On a metered connection, check a smaller lockfile or press Stop.

How many days should I wait?

There is no single right number. Seven days is the default here and a common choice; you can pick from 1 to 90. Longer windows catch more bad releases and delay more fixes.

What about private packages?

Which names are sent depends on the lockfile. package-lock.json and Yarn classic yarn.lock record where each package came from, so entries from another registry, git, a file or a workspace are listed as not looked up and their names are not sent. Yarn Berry yarn.lock and pnpm-lock.yaml do not record the registry, so every registry package name in them is sent to registry.npmjs.org, including private scoped names such as @acme/internal-auth. Only their git, file, workspace, patch and tarball entries stay unsent. Names that the public registry does not know are listed as unknown, never as safe.

Lockfile guides