Socket
Socket
Sign inDemoInstall

lit-html

Package Overview
Dependencies
Maintainers
10
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lit-html - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

5

CHANGELOG.md

@@ -19,2 +19,7 @@ # Change Log

## [1.1.2] - 2019-08-12
### Fixed
* Fixed a bug where bindings in comments could be written as text in some cases. ([#926](https://github.com/Polymer/lit-html/issues/926))
## [1.1.1] - 2019-07-09

@@ -21,0 +26,0 @@

3

lib/template-result.js

@@ -19,2 +19,3 @@ /**

import { boundAttributeSuffix, lastAttributeNameRegex, marker, nodeMarker } from './template.js';
const commentMarker = ` ${marker} `;
/**

@@ -73,3 +74,3 @@ * The return type of `html`, which holds a Template and the values from

// below.
html += s + (isCommentBinding ? marker : nodeMarker);
html += s + (isCommentBinding ? commentMarker : nodeMarker);
}

@@ -76,0 +77,0 @@ else {

@@ -47,3 +47,3 @@ /**

// TODO(justinfagnani): inject version number at build time
(window['litHtmlVersions'] || (window['litHtmlVersions'] = [])).push('1.1.1');
(window['litHtmlVersions'] || (window['litHtmlVersions'] = [])).push('1.1.2');
/**

@@ -50,0 +50,0 @@ * Interprets a template literal as an HTML template that can efficiently

{
"name": "lit-html",
"version": "1.1.1",
"version": "1.1.2",
"description": "HTML template literals in JavaScript",

@@ -5,0 +5,0 @@ "license": "BSD-3-Clause",

@@ -23,2 +23,4 @@ /**

const commentMarker = ` ${marker} `;
/**

@@ -86,3 +88,3 @@ * The return type of `html`, which holds a Template and the values from

// below.
html += s + (isCommentBinding ? marker : nodeMarker);
html += s + (isCommentBinding ? commentMarker : nodeMarker);
} else {

@@ -89,0 +91,0 @@ // For attributes we use just a marker sentinel, and also append a

@@ -59,3 +59,3 @@ /**

// TODO(justinfagnani): inject version number at build time
(window['litHtmlVersions'] || (window['litHtmlVersions'] = [])).push('1.1.1');
(window['litHtmlVersions'] || (window['litHtmlVersions'] = [])).push('1.1.2');

@@ -62,0 +62,0 @@ /**

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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