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

@lit-labs/ssr

Package Overview
Dependencies
Maintainers
9
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lit-labs/ssr - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

4

lib/element-renderer.js

@@ -84,3 +84,3 @@ /// <reference lib="dom" />

for (let i = 0, name, value; i < attributes.length && ({ name, value } = attributes[i]); i++) {
if (value === '') {
if (value === '' || value === undefined || value === null) {
yield ` ${name}`;

@@ -109,3 +109,3 @@ }

for (const [name, value] of Object.entries(this._attributes)) {
if (value === '') {
if (value === '' || value === undefined || value === null) {
yield ` ${name}`;

@@ -112,0 +112,0 @@ }

{
"name": "@lit-labs/ssr",
"type": "module",
"version": "2.0.3",
"version": "2.0.4",
"publishConfig": {

@@ -6,0 +6,0 @@ "access": "public"

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