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

vscode-html-languageservice

Package Overview
Dependencies
Maintainers
6
Versions
140
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vscode-html-languageservice - npm Package Compare versions

Comparing version 2.0.0-next.2 to 2.0.0-next.3

3

lib/parser/htmlScanner.js

@@ -111,2 +111,5 @@ (function (factory) {

}
else {
this.goToEnd();
}
return '';

@@ -113,0 +116,0 @@ };

@@ -728,2 +728,20 @@ (function (factory) {

}]);
assertTokens([{
input: '<style>color:red',
tokens: [
{ offset: 0, type: htmlScanner_1.TokenType.StartTagOpen },
{ offset: 1, type: htmlScanner_1.TokenType.StartTag, content: 'style' },
{ offset: 6, type: htmlScanner_1.TokenType.StartTagClose },
{ offset: 7, type: htmlScanner_1.TokenType.Styles }
]
}]);
assertTokens([{
input: '<script>alert("!!")',
tokens: [
{ offset: 0, type: htmlScanner_1.TokenType.StartTagOpen },
{ offset: 1, type: htmlScanner_1.TokenType.StartTag, content: 'script' },
{ offset: 7, type: htmlScanner_1.TokenType.StartTagClose },
{ offset: 8, type: htmlScanner_1.TokenType.Script }
]
}]);
});

@@ -730,0 +748,0 @@ });

2

package.json
{
"name": "vscode-html-languageservice",
"version": "2.0.0-next.2",
"version": "2.0.0-next.3",
"description": "Language service for HTML",

@@ -5,0 +5,0 @@ "main": "./lib/htmlLanguageService.js",

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