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 1.0.1-next.2 to 1.0.1-next.3

4

lib/services/htmlFormatter.js

@@ -18,5 +18,7 @@ (function (factory) {

var value = document.getText();
var includesEnd = true;
if (range) {
var startOffset = document.offsetAt(range.start);
var endOffset = document.offsetAt(range.end);
includesEnd = endOffset === value.length;
value = value.substring(startOffset, endOffset);

@@ -36,3 +38,3 @@ }

indent_handlebars: getFormatOption(options, 'indentHandlebars', false),
end_with_newline: getFormatOption(options, 'endWithNewline', false),
end_with_newline: includesEnd && getFormatOption(options, 'endWithNewline', false),
extra_liners: getTagsFormatOption(options, 'extraLiners', void 0),

@@ -39,0 +41,0 @@ };

{
"name": "vscode-html-languageservice",
"version": "1.0.1-next.2",
"version": "1.0.1-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