npm · npm:@lexical/code
@lexical/code active
This package contains the functionality for the code blocks and code highlighting for Lexical.
The latest stable version of @lexical/code is 0.53.0, published on 2026-10-28. Verified by Vigia on 2026-11-12.
| Latest stable version | 0.53.0 |
|---|---|
| Published | 2026-10-28 15:49:25 UTC |
| Install | npm install @lexical/code@latest |
| Requires (engines) | none declared |
| Peer dependencies | typescript >=5.2 |
| Dist-tags | dev: 0.45.1-dev.0 next: 0.6.1-next.0 latest: 0.53.0 nightly: 0.53.1-nightly.20261112.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 12:10:36 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 "@lexical/code", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/@lexical/code . 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-09-28 14:46:50 UTC · 45 days ago |
| Stable releases in the last 12 months | 14 |
| Published versions | 713 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
0.52.0 | 2026-09-28 14:46:50 UTC |
0.51.0 | 2026-09-17 21:05:27 UTC |
0.50.0 | 2026-09-02 22:12:45 UTC |
0.49.0 | 2026-07-30 05:45:15 UTC |
0.48.0 | 2026-07-16 19:16:04 UTC |
0.47.0 | 2026-07-09 21:12:02 UTC |
0.46.0 | 2026-06-26 04:53:10 UTC |
0.45.0 | 2026-05-28 20:34:01 UTC |
0.44.0 | 2026-04-27 14:47:06 UTC |
0.43.0 | 2026-04-09 18:25:26 UTC |
0.42.0 | 2026-03-19 21:07:45 UTC |
0.41.0 | 2026-02-25 18:10:04 UTC |
0.40.0 | 2026-02-02 16:55:10 UTC |
0.39.0 | 2025-12-10 20:19:25 UTC |
0.38.2 | 2025-10-31 00:52:10 UTC |
0.38.1 | 2025-10-27 20:33:55 UTC |
0.38.0 withdrawn | 2025-10-27 19:24:00 UTC |
0.37.0 | 2025-10-11 21:57:33 UTC |
0.36.2 | 2025-10-01 14:28:28 UTC |
0.36.1 | 2025-09-25 16:09:40 UTC |
Showing the 20 most recent of 122 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 @lexical/code?
The latest stable version of @lexical/code is 0.53.0, published on 2026-10-28. Verified by Vigia on 2026-11-12.
How do I install the latest version of @lexical/code?
Run npm install @lexical/code@latest. The latest stable version is 0.53.0 (verified 2026-11-12).
Is @lexical/code deprecated?
No. @lexical/code is not marked as deprecated in the registry.
Which Node.js version does @lexical/code require?
@lexical/code 0.53.0 does not declare a Node.js version requirement.
Does @lexical/code 0.53.0 have known vulnerabilities?
No known advisories affect @lexical/code 0.53.0 according to the data Vigia checks.
Is @lexical/code still maintained?
@lexical/code published 14 stable releases in the last 12 months; the most recent was 45 days ago. Activity: active.
Observed changes
- hu Oct 29 2026 12:01:03 GMT+0000 (Coordinated Universal Time) — released 0.53.0 → 0.53.0
- Wed Oct 28 2026 16:00:21 GM +0000 (Coordinated Universal Time) — released 0.52.0 → 0.53.0
Related packages
- typescript
- datadog-metrics
- @rspack/plugin-react-refresh
- zrender
- fastparse
- lodash.omit
- better-call
- acorn-node
- pnp-webpack-plugin
- @react-aria/menu
- @types/react-test-renderer
- @hapi/address
- crypto-randomuuid
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/@lexical/code) [](https://vigia.coredls.cloud/npm/@lexical/code) [](https://vigia.coredls.cloud/npm/@lexical/code)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/@lexical/code
GET https://vigia.coredls.cloud/v1/packages/npm/@lexical/code/versions/{version}