Socket
Socket
Sign inDemoInstall

lit-html

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.3 to 0.2.4

yarn.lock

3

lib/lit-html.js

@@ -133,5 +133,6 @@ /**

this.parts.push(new TemplatePart('node', index));
index++;
index += 2;
}
}
index--;
nodesToRemove.push(node);

@@ -138,0 +139,0 @@ }

@@ -108,2 +108,8 @@ /**

});
test('values contain interpolated values', () => {
const container = document.createElement('div');
const t = html `${'a'},${'b'},${'c'}`;
t.renderTo(container);
assert.equal(container.innerHTML, 'a,b,c');
});
// test('renders multiple nested templates', () => {

@@ -110,0 +116,0 @@ // const container = document.createElement('div');

{
"name": "lit-html",
"version": "0.2.3",
"version": "0.2.4",
"description": "HTML template literals in JavaScript",

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

@@ -147,5 +147,6 @@ /**

this.parts.push(new TemplatePart('node', index));
index++;
index += 2;
}
}
index--;
nodesToRemove.push(node);

@@ -152,0 +153,0 @@ }

@@ -131,2 +131,9 @@ /**

test('values contain interpolated values', () => {
const container = document.createElement('div');
const t = html`${'a'},${'b'},${'c'}`;
t.renderTo(container);
assert.equal(container.innerHTML, 'a,b,c');
});
// test('renders multiple nested templates', () => {

@@ -133,0 +140,0 @@ // const container = document.createElement('div');

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc