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 Compare versions

Comparing version 6.3.0 to 6.3.1

6

CHANGELOG.md

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

## 6.3.1 (2022-11-29)
### Bug fixes
Remove incorrect pure annotation that broke the code after tree-shaking.
## 6.3.0 (2022-11-28)

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

9

dist/index.js

@@ -515,8 +515,9 @@ import { parser, configureNesting } from '@lezer/html';

];
const defaultAttrs = [
const defaultAttrs = /*@__PURE__*/[
{ name: "style",
parser: /*@__PURE__*/cssLanguage.parser.configure({ top: "Styles" }) }
];
for (let event of /*@__PURE__*/"copy cut paste focus blur change click mousedown mouseup keydown keyup scroll".split(" "))
/*@__PURE__*/defaultAttrs.push({ name: "on" + event, parser: javascriptLanguage.parser });
].concat(/*@__PURE__*/("beforeunload copy cut dragstart dragover dragleave dragenter dragend " +
"drag paste focus blur change click load mousedown mouseenter mouseleave " +
"mouseup keydown keyup resize scroll unload").split(" ")
.map(event => ({ name: "on" + event, parser: javascriptLanguage.parser })));
/**

@@ -523,0 +524,0 @@ A language provider based on the [Lezer HTML

{
"name": "@codemirror/lang-html",
"version": "6.3.0",
"version": "6.3.1",
"description": "HTML language support for the CodeMirror code editor",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

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