Vigia

npm · npm:restricted-input

restricted-input active

Restrict inputs to certain valid characters (e.g. formatting phone or card numbers)

The latest stable version of restricted-input is 4.2.0, published on 2026-03-04. Verified by Vigia on 2026-11-12.

Latest stable version4.2.0
Published2026-03-04 20:29:57 UTC
Installnpm install restricted-input@latest
Requires (engines)none declared
Peer dependencies—
Dist-tagslatest: 4.2.0
LicenseMIT
Advisories on latest versionnone known
Last verified2026-11-12 13:02:26 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 "restricted-input", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/restricted-input . 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

Activityslowing down
Last stable release2026-03-04 20:29:57 UTC · 253 days ago
Stable releases in the last 12 months1
Published versions42

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

Version history

VersionPublished
4.2.02026-03-04 20:29:57 UTC
4.1.42025-02-26 16:40:25 UTC
4.1.32025-02-25 21:06:24 UTC
4.1.22025-02-25 16:35:44 UTC
4.1.12025-02-24 21:52:33 UTC
4.1.02025-02-21 17:17:34 UTC
4.0.32025-01-30 16:02:56 UTC
4.0.22024-12-17 22:07:03 UTC
4.0.12024-04-10 17:18:48 UTC
4.0.02023-12-05 17:07:02 UTC
3.0.52022-03-18 19:34:30 UTC
3.0.42021-06-25 19:29:39 UTC
3.0.32020-08-19 20:54:17 UTC
3.0.22020-07-30 19:15:48 UTC
3.0.12020-07-10 21:26:56 UTC
3.0.02020-07-10 15:07:32 UTC
2.1.12020-07-02 13:36:42 UTC
2.1.02019-10-21 20:09:46 UTC
2.0.22019-08-13 16:23:09 UTC
2.0.12019-05-21 18:16:43 UTC

Showing the 20 most recent of 42 versions. JSON

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 restricted-input?

The latest stable version of restricted-input is 4.2.0, published on 2026-03-04. Verified by Vigia on 2026-11-12.

How do I install the latest version of restricted-input?

Run npm install restricted-input@latest. The latest stable version is 4.2.0 (verified 2026-11-12).

Is restricted-input deprecated?

No. restricted-input is not marked as deprecated in the registry.

Which Node.js version does restricted-input require?

restricted-input 4.2.0 does not declare a Node.js version requirement.

Does restricted-input 4.2.0 have known vulnerabilities?

No known advisories affect restricted-input 4.2.0 according to the data Vigia checks.

Is restricted-input still maintained?

restricted-input published 1 stable releases in the last 12 months; the most recent was 253 days ago. Activity: slowing down.

Observed changes

No changes observed yet since Vigia started tracking this package.

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

For agents

GET https://vigia.coredls.cloud/v1/packages/npm/restricted-input
GET https://vigia.coredls.cloud/v1/packages/npm/restricted-input/versions/{version}