npm · npm:nock
nock active
HTTP server mocking and expectations library for Node.js
The latest stable version of nock is 15.0.6, published on 2026-11-05. Verified by Vigia on 2026-11-12.
| Latest stable version | 15.0.6 |
|---|---|
| Published | 2026-11-05 23:36:42 UTC |
| Install | npm install nock@latest |
| Requires (engines) | {"node":">=22.20.0"} |
| Peer dependencies | — |
| Dist-tags | beta: 15.0.0-beta.16 latest: 15.0.6 release-11.x: 11.9.1 release-13.x: 13.5.6 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 21:50:12 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the npm package "nock", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/nock . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-10-20 18:14:57 UTC · 23 days ago |
| Stable releases in the last 12 months | 12 |
| Published versions | 476 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
15.0.5 | 2026-10-20 18:14:57 UTC |
15.0.4 | 2026-10-19 21:24:39 UTC |
15.0.3 | 2026-10-19 14:57:51 UTC |
15.0.2 | 2026-10-16 18:55:23 UTC |
15.0.1 | 2026-10-06 20:54:56 UTC |
14.0.17 | 2026-07-30 18:33:54 UTC |
14.0.16 | 2026-06-26 07:56:16 UTC |
14.0.15 | 2026-05-07 14:32:03 UTC |
14.0.14 | 2026-04-30 19:55:07 UTC |
14.0.13 | 2026-04-20 20:49:06 UTC |
14.0.12 | 2026-04-05 20:18:43 UTC |
14.0.11 | 2026-02-09 19:51:18 UTC |
15.0.0 withdrawn | 2025-09-29 21:26:03 UTC |
14.0.10 | 2025-08-12 15:45:01 UTC |
14.0.9 | 2025-08-07 16:55:40 UTC |
14.0.8 | 2025-08-01 06:24:32 UTC |
14.0.7 | 2025-07-26 16:04:02 UTC |
14.0.6 | 2025-07-19 10:26:14 UTC |
14.0.5 | 2025-05-30 15:28:45 UTC |
14.0.4 | 2025-04-20 14:54:13 UTC |
Showing the 20 most recent of 400 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 13.5.6 |
node 18 | 14.0.17 |
node 20 | 15.0.3 |
node 22 | 15.0.5 |
node 24 | 15.0.5 |
Upgrade guides for this package
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of nock?
The latest stable version of nock is 15.0.6, published on 2026-11-05. Verified by Vigia on 2026-11-12.
How do I install the latest version of nock?
Run npm install nock@latest. The latest stable version is 15.0.6 (verified 2026-11-12).
Is nock deprecated?
No. nock is not marked as deprecated in the registry.
Which Node.js version does nock require?
nock 15.0.6 declares this requirement: {"node":">=22.20.0"}.
Does nock 15.0.6 have known vulnerabilities?
No known advisories affect nock 15.0.6 according to the data Vigia checks.
Is nock still maintained?
nock published 12 stable releases in the last 12 months; the most recent was 23 days ago. Activity: active.
Observed changes
- Fri Nov 06 2026 21:47:47 GM +0000 (Coordinated Universal Time) — released 15.0.6 → 15.0.6
- hu Nov 05 2026 23:47:22 GMT+0000 (Coordinated Universal Time) — released 15.0.5 → 15.0.6
- ue Oct 20 2026 19:02:41 GMT+0000 (Coordinated Universal Time) — released 15.0.4 → 15.0.5
- Mon Oct 19 2026 23:01:06 GM +0000 (Coordinated Universal Time) — runtime_requirement_changed
- Mon Oct 19 2026 23:01:06 GM +0000 (Coordinated Universal Time) — released 15.0.3 → 15.0.4
- Mon Oct 19 2026 21:01:04 GM +0000 (Coordinated Universal Time) — released 15.0.3 → 15.0.3
- Mon Oct 19 2026 15:01:00 GM +0000 (Coordinated Universal Time) — released 15.0.2 → 15.0.3
- Fri Oct 16 2026 20:41:04 GM +0000 (Coordinated Universal Time) — released 15.0.1 → 15.0.2
- Wed Oct 07 2026 11:41:43 GM +0000 (Coordinated Universal Time) — released 15.0.1 → 15.0.1
- ue Oct 06 2026 21:39:21 GMT+0000 (Coordinated Universal Time) — runtime_requirement_changed
- ue Oct 06 2026 21:39:21 GMT+0000 (Coordinated Universal Time) — released 14.0.17 → 15.0.1
Related packages
- use-debounce
- react-draggable
- @typescript/native-preview-linux-x64
- @standard-schema/utils
- corser
- @pnpm/types
- @npmcli/move-file
- @opentelemetry/instrumentation-restify
- named-placeholders
- @types/mime-types
- command-line-args
- @nestjs/config
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/nock) [](https://vigia.coredls.cloud/npm/nock) [](https://vigia.coredls.cloud/npm/nock)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/nock
GET https://vigia.coredls.cloud/v1/packages/npm/nock/versions/{version}