nock 14.0.2
HTTP server mocking and expectations library for Node.js
nock@14.0.2 was published on 2025-03-27. Its manifest declares 3 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=18.20.0 <20 || >=20.12.1.
All nock versions · Permanent reference to 14.0.2 · View npm registry JSON · Latest release
Package specifications
| Version | 14.0.2 |
|---|---|
| License declaration | MIT |
| Published | 2025-03-27T16:47:54.275Z |
| Node.js requirement | >=18.20.0 <20 || >=20.12.1 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 3 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 179.03 KiB |
| Published file count | 18 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | ./index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 9 |
| Repository stars | 13136 |
| Repository forks | 783 |
Install nock 14.0.2
npm install nock@14.0.2 pnpm add nock@14.0.2 yarn add nock@14.0.2
Runtime dependencies
- propagate ^2.0.0
- @mswjs/interceptors ^0.38.0
- json-stringify-safe ^5.0.1
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @mswjs/interceptors@0.38.7 — direct
- @open-draft/deferred-promise@2.2.0 — indirect
- @open-draft/logger@0.3.0 — indirect
- @open-draft/until@2.1.0 — indirect
- is-node-process@1.2.0 — indirect
- json-stringify-safe@5.0.1 — direct
- outvariant@1.4.3 — indirect
- propagate@2.0.1 — direct
- strict-event-emitter@0.5.1 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 6/10 — Found 9/13 approved changesets -- score normalized to 6 |
|---|---|
| Maintained | 8/10 — 3 commit(s) and 7 issue activity found in the last 90 days -- score normalized to 8 |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Pinned-Dependencies | 3/10 — dependency not pinned by hash detected -- score normalized to 3 |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| Security-Policy | 0/10 — security policy file not detected |
| Packaging | 10/10 — packaging workflow detected |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- Readable npm registry JSON — retrieved 2026-11-06T10:56:15.492Z
- https://api.deps.dev/v3/systems/npm/packages/nock/versions/14.0.2:dependencies — retrieved 2026-11-06T10:56:15.653Z
- https://api.deps.dev/v3/systems/npm/packages/nock/versions/14.0.2 — retrieved 2026-11-06T22:16:29.026Z
- https://api.deps.dev/v3/projects/github.com%2Fnock%2Fnock — retrieved 2026-11-06T16:53:27.388Z