New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 Compare versions

Comparing version 0.17.0 to 0.17.1

.github/workflows/dispatch.yml

6

CHANGELOG.md

@@ -0,1 +1,7 @@

## 0.17.1 (2021-01-06)
### New features
The package now also exports a CommonJS module.
## 0.17.0 (2020-12-29)

@@ -2,0 +8,0 @@

10

package.json
{
"name": "@codemirror/lang-html",
"version": "0.17.0",
"version": "0.17.1",
"description": "HTML language support for the CodeMirror code editor",
"scripts": {
"test": "mocha test/test-*.js",
"prepare": "tsc && rollup -c"
"prepare": "tsc -p tsconfig.local.json && rollup -c"
},

@@ -19,3 +19,7 @@ "keywords": [

"type": "module",
"main": "dist/index.js",
"main": "dist/index.cjs",
"exports": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"types": "dist/index.d.ts",

@@ -22,0 +26,0 @@ "module": "dist/index.js",

@@ -0,1 +1,3 @@

<!-- NOTE: README.md is generated from src/README.md -->
# @codemirror/lang-html [![NPM version](https://img.shields.io/npm/v/@codemirror/lang-html.svg)](https://www.npmjs.org/package/@codemirror/lang-html)

@@ -19,1 +21,26 @@

to communication around the project.
## API Reference
<dl>
<dt id="user-content-html">
<code><strong><a href="#user-content-html">html</a></strong>() → <a href="https://codemirror.net/6/docs/ref#language.LanguageSupport">LanguageSupport</a></code></dt>
<dd><p>Language support for HTML, including
<a href="#user-content-htmlcompletion"><code>htmlCompletion</code></a> and JavaScript and
CSS support extensions.</p>
</dd>
<dt id="user-content-htmllanguage">
<code><strong><a href="#user-content-htmllanguage">htmlLanguage</a></strong>: <a href="https://codemirror.net/6/docs/ref#language.LezerLanguage">LezerLanguage</a></code></dt>
<dd><p>A language provider based on the <a href="https://github.com/lezer-parser/html">Lezer HTML
parser</a>, wired up with the
JavaScript and CSS parsers to parse the content of <code>&lt;script&gt;</code> and
<code>&lt;style&gt;</code> tags.</p>
</dd>
<dt id="user-content-htmlcompletion">
<code><strong><a href="#user-content-htmlcompletion">htmlCompletion</a></strong>: <a href="https://codemirror.net/6/docs/ref#state.Extension">Extension</a></code></dt>
<dd><p>HTML tag completion. Opens and closes tags and attributes in a
context-aware way.</p>
</dd>
</dl>
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