npm · npm:mock-require
mock-require active
Simple, intuitive mocking of Node.js modules.
The latest stable version of mock-require is 3.0.3, published on 2019-01-16. Verified by Vigia on 2026-11-12.
| Latest stable version | 3.0.3 |
|---|---|
| Published | 2019-01-16 15:03:10 UTC |
| Install | npm install mock-require@latest |
| Requires (engines) | {"node":">=4.3.0"} |
| Peer dependencies | — |
| Dist-tags | latest: 3.0.3 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 13:28:25 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Is your project affected?
Check my whole package.jsonGet notified of new versions (Atom)Facts for my AGENTS.md
Free, no signup. Paste your manifest and see what is outdated, deprecated or vulnerable.
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2019-01-16 15:03:10 UTC · 2857 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 17 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
3.0.3 | 2019-01-16 15:03:10 UTC |
3.0.2 | 2018-03-29 15:43:48 UTC |
3.0.1 | 2018-01-12 17:04:55 UTC |
3.0.0 | 2018-01-12 13:06:13 UTC |
2.0.2 | 2017-04-04 13:48:55 UTC |
2.0.1 | 2017-01-03 18:21:36 UTC |
2.0.0 | 2016-11-16 01:58:42 UTC |
1.3.0 | 2016-05-28 16:06:49 UTC |
1.2.1 | 2015-11-23 00:23:40 UTC |
1.2.0 | 2015-10-02 17:25:26 UTC |
1.1.0 | 2015-08-06 23:41:06 UTC |
1.0.5 | 2014-11-21 15:21:34 UTC |
1.0.4 | 2014-10-03 15:50:48 UTC |
1.0.3 | 2014-10-03 15:40:48 UTC |
1.0.2 | 2014-10-03 15:03:49 UTC |
1.0.1 | 2014-10-03 03:04:59 UTC |
1.0.0 | 2014-10-03 02:43:59 UTC |
Showing the 17 most recent of 17 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 | 3.0.3 |
node 18 | 3.0.3 |
node 20 | 3.0.3 |
node 22 | 3.0.3 |
node 24 | 3.0.3 |
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 mock-require?
The latest stable version of mock-require is 3.0.3, published on 2019-01-16. Verified by Vigia on 2026-11-12.
How do I install the latest version of mock-require?
Run npm install mock-require@latest. The latest stable version is 3.0.3 (verified 2026-11-12).
Is mock-require deprecated?
No. mock-require is not marked as deprecated in the registry.
Which Node.js version does mock-require require?
mock-require 3.0.3 declares this requirement: {"node":">=4.3.0"}.
Does mock-require 3.0.3 have known vulnerabilities?
No known advisories affect mock-require 3.0.3 according to the data Vigia checks.
Is mock-require still maintained?
mock-require published 0 stable releases in the last 12 months; the most recent was 2857 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- ml-spectra-processing
- jest-serializer-vue
- storybook-addon-performance
- @sap-ux/ui5-config
- jpegtran-bin
- @types/koa-bodyparser
- connect-session-knex
- @rc-component/slider
- ogl
- @types/swagger-ui-dist
- @opencensus/propagation-b3
- @percy/selenium-webdriver
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/mock-require) [](https://vigia.coredls.cloud/npm/mock-require) [](https://vigia.coredls.cloud/npm/mock-require)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/mock-require
GET https://vigia.coredls.cloud/v1/packages/npm/mock-require/versions/{version}