{"package":"@lexical/code","ecosystem":"npm","latest_version":"0.50.0","description":"This package contains the functionality for the code blocks and code highlighting for Lexical.","license":"MIT","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"","repository":"https://github.com/facebook/lexical","downloads_weekly":1950674,"health":{"score":95,"risk":"low","breakdown":{"maintenance":25,"popularity":17,"security":25,"maturity":15,"community":13,"popularity_floor":0},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"0.50.0","total_count":681,"recent":["0.49.1-nightly.20260821.0","0.49.1-nightly.20260824.0","0.49.1-nightly.20260825.0","0.49.1-nightly.20260826.0","0.49.1-nightly.20260827.0","0.49.1-nightly.20260828.0","0.49.1-nightly.20260831.0","0.49.1-nightly.20260901.0","0.49.1-nightly.20260902.0","0.50.0","0.50.1-nightly.20260903.0","0.50.1-nightly.20260904.0","0.50.1-nightly.20260907.0","0.50.1-nightly.20260908.0","0.50.1-nightly.20260909.0","0.50.1-nightly.20260910.0","0.50.1-nightly.20260911.0","0.50.1-nightly.20260914.0","0.50.1-nightly.20260915.0","0.50.1-nightly.20260916.0"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":6,"first_published":"2022-04-06T22:49:35.826Z","last_published":"2026-09-02T22:12:45.659Z","dependencies_count":4,"dependencies":["lexical","@lexical/code-core","@lexical/extension","@lexical/code-prism"]},"github_stats":{"stars":23861,"forks":2221,"open_issues":293,"is_archived":false,"pushed_at":"2026-09-16T06:03:00Z","subscribers_count":130},"bundle":null,"typescript":{"score":10,"has_types":true,"types_source":"bundled","types_package":null},"known_issues":{"bugs_count":0,"bugs_severity":{},"status_breakdown":{},"link":null,"scope":"none"},"historical_compromise":null,"recommendation":{"action":"safe_to_use","issues":[],"use_version":"0.50.0","version_hint":null,"summary":"@lexical/code@0.50.0 is safe to use (health: 95/100)"},"version_scoped":null,"_meta":{"endpoint":"check","tier":"full","philosophy":"DepScope is free. Use the cheapest endpoint that answers your real question.","cheaper_alternatives":[{"endpoint":"/api/exists/npm/%40lexical%2Fcode","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/%40lexical%2Fcode","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/%40lexical%2Fcode","tokens_estimated":280,"use_when":"you want a plain-text LLM-friendly brief instead of JSON"},{"endpoint":"POST /api/check_bulk","tokens_estimated":60,"use_when":"you have 5+ packages to check; sends one round-trip instead of N"}],"docs":"https://depscope.dev/integrate","hint_bulk":"You've called /api/check 303 times in 60s. Save bandwidth + tokens with POST /api/check_bulk (1 round-trip for N pkgs)."},"requested_version":null,"_cache":"hit","_response_ms":9,"_powered_by":"depscope.dev — free package intelligence for AI agents","typosquat":{"is_suspected":false},"maintainer_trust":{"available":false},"malicious":{"is_malicious":false},"scorecard":{"available":false},"quality":{"available":true,"criticality_score":0.775,"criticality_tier":"critical","velocity_pct":null,"velocity_trend":null,"publish_security":"signed"},"co_used_with":[{"package":"@finpress/compose","occurrences":7},{"package":"@aloreljs/awesome-iter","occurrences":1},{"package":"@ark/util","occurrences":1},{"package":"@blockslides/extension-superscript","occurrences":1},{"package":"@byteshift/injector","occurrences":1}],"version_history_summary":{"total_versions":20,"first_release_age_days":1623,"last_release_days_ago":13,"avg_days_between_releases":85,"release_velocity":"active"}}