postcss-normalize-whitespace
Advanced tools
Comparing version
{ | ||
"name": "postcss-normalize-whitespace", | ||
"version": "5.0.4", | ||
"version": "5.1.0", | ||
"description": "Trim whitespace inside and around CSS rules & declarations.", | ||
"main": "src/index.js", | ||
"types": "types/index.d.ts", | ||
"files": [ | ||
"src", | ||
"LICENSE-MIT" | ||
"LICENSE-MIT", | ||
"types" | ||
], | ||
@@ -10,0 +12,0 @@ "keywords": [ |
@@ -9,2 +9,6 @@ 'use strict'; | ||
/** | ||
* @param {valueParser.Node} node | ||
* @return {void} | ||
*/ | ||
function reduceCalcWhitespaces(node) { | ||
@@ -19,3 +23,6 @@ if (node.type === 'space') { | ||
} | ||
/** | ||
* @param {valueParser.Node} node | ||
* @return {void | false} | ||
*/ | ||
function reduceWhitespaces(node) { | ||
@@ -37,2 +44,6 @@ if (node.type === 'space') { | ||
/** | ||
* @type {import('postcss').PluginCreator<void>} | ||
* @return {import('postcss').Plugin} | ||
*/ | ||
function pluginCreator() { | ||
@@ -39,0 +50,0 @@ return { |
6491
8.45%5
25%99
26.92%