Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@codemirror/lang-html

Package Overview
Dependencies
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemirror/lang-html - npm Package Versions

23

6.4.9

Diff

Changelog

Source

6.4.9 (2024-04-12)

Bug fixes

Fix a bug in autoCloseTags that made tags not close when typing > after an attribute.

marijn
published 6.4.8 •

Changelog

Source

6.4.8 (2024-01-23)

Bug fixes

Complete attribute names after whitespace in a tag even when completion isn't explicitly triggered.

marijn
published 6.4.7 •

Changelog

Source

6.4.7 (2023-11-27)

Bug fixes

Parse script tags with application/json type as JSON syntax.

marijn
published 6.4.6 •

Changelog

Source

6.4.6 (2023-08-28)

Bug fixes

autoCloseTags now generates two separate transactions, so that the completion can be undone separately.

Add highlighting for the content of <script> tags with a type of importmap or speculationrules.

marijn
published 6.4.5 •

Changelog

Source

6.4.5 (2023-06-23)

Bug fixes

Fix a bug where HTML autocompletion didn't work when the cursor was at the end of a bit of HTML code inside a mixed-language document.

marijn
published 6.4.4 •

Changelog

Source

6.4.4 (2023-06-05)

Bug fixes

Fix a bug where the completed tag names didn't take into account the parent node's declared children in the schema in some circumstances.

marijn
published 6.4.3 •

Changelog

Source

6.4.3 (2023-03-27)

Bug fixes

Fix a bug that could cause some nested language regions to be parsed multiple times.

marijn
published 6.4.2 •

Changelog

Source

6.4.2 (2023-02-10)

Bug fixes

Fix an issue where autoCloseTags would close self-closing tags when typed directly in front of a word.

marijn
published 6.4.1 •

Changelog

Source

6.4.1 (2023-01-12)

Bug fixes

Use only the tag name for matching of opening and closing tags.

marijn
published 6.4.0 •

Changelog

Source

6.4.0 (2022-11-30)

Bug fixes

Directly depend on @lang/css 1.1.0, since we're using a new top rule name introduced in that.

New features

Add a globalAttrs property to (completion) TagSpec objects that controls whether global attributes are completed in that tag.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc