NuGet lock files and locked mode: repeatable restores in CI
Enable packages.lock.json with RestorePackagesWithLockFile, then use locked mode in CI so a restore either matches the lock or fails loudly.
Deep dives, practical guides, and incident analyses from engineers who build Safeguard. No fluff, no vendor FUD — just what you need to ship secure software.
Enable packages.lock.json with RestorePackagesWithLockFile, then use locked mode in CI so a restore either matches the lock or fails loudly.
Route a package scope to a private registry with one npmrc line and scope the auth token to that host so npm never sends it to the wrong place.
How npm workspaces link packages, and the exact commands to add a dependency, run a script or test one package or all of them in a monorepo.
How npm workspaces link local packages, where the lockfile lives, and how to run commands in one, several or all workspaces without surprises.
Peer dependencies state which host package a plugin works with. Since npm 7 they install by default. Learn optional peers and how to write a sane range.
How npm overrides work in package.json: root only scope, nesting, version keys, the dollar reference and the error when you override a direct dependency.
What the Current, Wanted and Latest columns in npm outdated mean, why Wanted can differ from Latest, and what the red and yellow colours tell you.
Setting ignore-scripts to true stops install-time scripts from running. It helps on a laptop, breaks some packages and does not cover code that runs later.
The engines field in package.json only warns unless engine-strict is set. Learn what it does, where it matters, and how to pin your runtime in CI.
Weekly insights on software supply chain security, delivered to your inbox.
Your first fix PR is minutes away.
No sales call required, even your agent can complete the purchase over MCP.