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

css-whitespace

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-whitespace - npm Package Compare versions

Comparing version 0.0.6 to 1.0.0

5

History.md
1.0.0 / 2013-02-27
==================
* fix & support with comma-delimited selectors
0.0.6 / 2013-02-20

@@ -3,0 +8,0 @@ ==================

3

lib/compiler.js

@@ -161,4 +161,5 @@

if (offset != i) {
var parent = rules[i].parent;
rules[i][1].forEach(function(selector){
var parent = ~selector.indexOf('&');
selector = selector.replace('&', '');
buf.unshift(parent ? selector : ' ' + selector);

@@ -165,0 +166,0 @@ compile(rules, i - 1);

@@ -94,3 +94,2 @@

|| indentation()
|| parent()
|| prop()

@@ -174,15 +173,2 @@ || rule();

/**
* Parent reference.
*/
function parent() {
var m = str.match(/^ *&([^\n]*)/);
if (!m) return;
str = str.slice(m[0].length);
var ret = ['rule', [m[1]]];
ret.parent = true;
return ret;
}
/**
* Property.

@@ -189,0 +175,0 @@ */

{
"name": "css-whitespace",
"version": "0.0.6",
"version": "1.0.0",
"description": "Whitespace significant CSS to regular CSS",

@@ -5,0 +5,0 @@ "keywords": ["css", "parser", "rework"],

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