npm · npm:@types/invariant
@types/invariant active
TypeScript definitions for invariant
The latest stable version of @types/invariant is 2.2.37, published on 2023-11-07. Verified by Vigia on 2026-11-12.
| Latest stable version | 2.2.37 |
|---|---|
| Published | 2023-11-07 07:55:45 UTC |
| Install | npm install @types/invariant@latest |
| Requires (engines) | none declared |
| Peer dependencies | — |
| Dist-tags | ts2.0: 2.2.30 ts2.1: 2.2.30 ts2.2: 2.2.30 ts2.3: 2.2.30 ts2.4: 2.2.30 ts2.5: 2.2.30 ts2.6: 2.2.30 ts2.7: 2.2.30 ts2.8: 2.2.32 ts2.9: 2.2.32 ts3.0: 2.2.33 ts3.1: 2.2.34 ts3.2: 2.2.34 ts3.3: 2.2.34 ts3.4: 2.2.34 ts3.5: 2.2.34 ts3.6: 2.2.34 ts3.7: 2.2.35 ts3.8: 2.2.35 ts3.9: 2.2.35 ts4.0: 2.2.35 ts4.1: 2.2.35 ts4.2: 2.2.35 ts4.3: 2.2.35 ts4.4: 2.2.35 ts4.5: 2.2.37 ts4.6: 2.2.37 ts4.7: 2.2.37 ts4.8: 2.2.37 ts4.9: 2.2.37 ts5.0: 2.2.37 ts5.1: 2.2.37 ts5.2: 2.2.37 ts5.3: 2.2.37 ts5.4: 2.2.37 ts5.5: 2.2.37 ts5.6: 2.2.37 ts5.7: 2.2.37 ts5.8: 2.2.37 ts5.9: 2.2.37 ts6.0: 2.2.37 ts7.0: 2.2.37 ts7.1: 2.2.37 latest: 2.2.37 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 12:37:24 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 "@types/invariant", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/@types/invariant . 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 | dormant |
|---|---|
| Last stable release | 2023-11-07 07:55:45 UTC · 1101 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 20 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
2.2.37 | 2023-11-07 07:55:45 UTC |
2.2.36 | 2023-10-18 05:16:20 UTC |
2.2.35 | 2021-08-26 01:02:30 UTC |
2.2.34 | 2020-09-01 20:32:10 UTC |
2.2.33 | 2020-05-15 05:40:42 UTC |
2.2.32 | 2020-04-23 17:52:17 UTC |
2.2.31 | 2019-12-20 06:34:41 UTC |
2.2.30 | 2019-07-01 20:03:42 UTC |
2.2.29 | 2017-08-21 21:55:52 UTC |
2.2.28 | 2016-09-19 17:40:24 UTC |
2.2.27 | 2016-07-14 14:55:59 UTC |
Showing the 11 most recent of 11 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 @types/invariant?
The latest stable version of @types/invariant is 2.2.37, published on 2023-11-07. Verified by Vigia on 2026-11-12.
How do I install the latest version of @types/invariant?
Run npm install @types/invariant@latest. The latest stable version is 2.2.37 (verified 2026-11-12).
Is @types/invariant deprecated?
No. @types/invariant is not marked as deprecated in the registry.
Which Node.js version does @types/invariant require?
@types/invariant 2.2.37 does not declare a Node.js version requirement.
Does @types/invariant 2.2.37 have known vulnerabilities?
No known advisories affect @types/invariant 2.2.37 according to the data Vigia checks.
Is @types/invariant still maintained?
@types/invariant published 0 stable releases in the last 12 months; the most recent was 1101 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- @turf/polygon-smooth
- @vercel/hydrogen
- modern-screenshot
- opencode-linux-x64-baseline
- @react-router/express
- @types/nprogress
- mixpanel
- @ckeditor/ckeditor5-enter
- @reach/observe-rect
- @types/detect-port
- safe-compare
- jsrsasign
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/@types/invariant) [](https://vigia.coredls.cloud/npm/@types/invariant) [](https://vigia.coredls.cloud/npm/@types/invariant)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/@types/invariant
GET https://vigia.coredls.cloud/v1/packages/npm/@types/invariant/versions/{version}