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

@emmetio/node

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emmetio/node - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

7

dist/node.cjs.js

@@ -15,3 +15,3 @@ 'use strict';

this.name = name;
this.value = value || null;
this.value = value != null ? value : null;
this.options = options || {};

@@ -255,3 +255,6 @@ }

token = normalize(token);
if (token && !this.hasClass(token)) {
if (!this.hasAttribute('class')) {
this.setAttribute('class', token);
} else if (token && !this.hasClass(token)) {
this.setAttribute('class', this.classList.concat(token).join(' '));

@@ -258,0 +261,0 @@ }

@@ -13,3 +13,3 @@ /**

this.name = name;
this.value = value || null;
this.value = value != null ? value : null;
this.options = options || {};

@@ -253,3 +253,6 @@ }

token = normalize(token);
if (token && !this.hasClass(token)) {
if (!this.hasAttribute('class')) {
this.setAttribute('class', token);
} else if (token && !this.hasClass(token)) {
this.setAttribute('class', this.classList.concat(token).join(' '));

@@ -256,0 +259,0 @@ }

{
"name": "@emmetio/node",
"version": "0.1.1",
"version": "0.1.2",
"description": "Emmet abbreviation node",

@@ -5,0 +5,0 @@ "main": "dist/node.cjs.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