Socket
Socket
Sign inDemoInstall

@emmetio/css-abbreviation

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emmetio/css-abbreviation - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

9

dist/css-abbreviation.cjs.js

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

// SCSS or LESS variable
stream.eatWhile(isAlphaNumericWord);
stream.eatWhile(isVariableName);
} else if (short) {

@@ -303,2 +303,6 @@ stream.eatWhile(isAlphaWord);

function isVariableName(code) {
return code === 45 /* - */ || isAlphaNumericWord(code);
}
const opt = { throws: true };

@@ -427,2 +431,3 @@

const DASH = 45; // -
const COLON = 58; // :
const AT = 64; // @

@@ -496,2 +501,4 @@

while (!stream.eof()) {
// use colon as value separator
stream.eat(COLON);
if (value = consumeNumericValue(stream) || consumeColor(stream)) {

@@ -498,0 +505,0 @@ // edge case: a dash after unit-less numeric value or color should

@@ -273,3 +273,3 @@ import Node from '@emmetio/node';

// SCSS or LESS variable
stream.eatWhile(isAlphaNumericWord);
stream.eatWhile(isVariableName);
} else if (short) {

@@ -299,2 +299,6 @@ stream.eatWhile(isAlphaWord);

function isVariableName(code) {
return code === 45 /* - */ || isAlphaNumericWord(code);
}
const opt = { throws: true };

@@ -423,2 +427,3 @@

const DASH = 45; // -
const COLON = 58; // :
const AT = 64; // @

@@ -492,2 +497,4 @@

while (!stream.eof()) {
// use colon as value separator
stream.eat(COLON);
if (value = consumeNumericValue(stream) || consumeColor(stream)) {

@@ -494,0 +501,0 @@ // edge case: a dash after unit-less numeric value or color should

2

package.json
{
"name": "@emmetio/css-abbreviation",
"version": "0.3.0",
"version": "0.3.1",
"description": "Parses Emmet CSS abbreviatoin into AST tree",

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