Vigia

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 version15.0.6
Published2026-11-05 23:36:42 UTC
Installnpm install nock@latest
Requires (engines){"node":">=22.20.0"}
Peer dependencies—
Dist-tagsbeta: 15.0.0-beta.16 latest: 15.0.6 release-11.x: 11.9.1 release-13.x: 13.5.6
LicenseMIT
Advisories on latest versionnone known
Last verified2026-11-12 21:50:12 UTC
Sourcesapi.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

Check my whole package.json

Using an AI coding agent every day? Connect Vigia once and it checks this by itself.

Maintenance

Activityactive
Last stable release2026-10-20 18:14:57 UTC · 23 days ago
Stable releases in the last 12 months12
Published versions476

Heuristic based only on release dates; it does not measure issue or security response times.

Version history

VersionPublished
15.0.52026-10-20 18:14:57 UTC
15.0.42026-10-19 21:24:39 UTC
15.0.32026-10-19 14:57:51 UTC
15.0.22026-10-16 18:55:23 UTC
15.0.12026-10-06 20:54:56 UTC
14.0.172026-07-30 18:33:54 UTC
14.0.162026-06-26 07:56:16 UTC
14.0.152026-05-07 14:32:03 UTC
14.0.142026-04-30 19:55:07 UTC
14.0.132026-04-20 20:49:06 UTC
14.0.122026-04-05 20:18:43 UTC
14.0.112026-02-09 19:51:18 UTC
15.0.0 withdrawn2025-09-29 21:26:03 UTC
14.0.102025-08-12 15:45:01 UTC
14.0.92025-08-07 16:55:40 UTC
14.0.82025-08-01 06:24:32 UTC
14.0.72025-07-26 16:04:02 UTC
14.0.62025-07-19 10:26:14 UTC
14.0.52025-05-30 15:28:45 UTC
14.0.42025-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).

RuntimeNewest compatible version
node 1613.5.6
node 1814.0.17
node 2015.0.3
node 2215.0.5
node 2415.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

Related packages

Badges for your README

Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:

[![version](https://vigia.coredls.cloud/badge/npm/nock/version.svg)](https://vigia.coredls.cloud/npm/nock)
[![maintained](https://vigia.coredls.cloud/badge/npm/nock/maintained.svg)](https://vigia.coredls.cloud/npm/nock)
[![status](https://vigia.coredls.cloud/badge/npm/nock/status.svg)](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}