🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

postcss-size

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-size - npm Package Compare versions

Comparing version

to
1.0.0

CHANGELOG.md

4

index.js

@@ -5,3 +5,3 @@ var postcss = require('postcss');

return function (css) {
css.eachDecl('size', function (decl) {
css.walkDecls('size', function (decl) {
var sizes = postcss.list.space(decl.value);

@@ -13,5 +13,5 @@ if ( sizes.length === 1 ) sizes[1] = sizes[0];

decl.removeSelf();
decl.remove();
});
};
});
{
"name": "postcss-size",
"version": "0.2.0",
"description": "PostCSS plugin for size shortcut",
"keywords": ["postcss", "css", "postcss-plugin", "size", "width", "height"],
"author": "Andrey Sitnik <andrey@sitnik.ru>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/postcss/postcss-size.git"
},
"dependencies": {
"postcss": "^4.1.8"
},
"devDependencies": {
"gulp-eslint": "0.11.1",
"gulp-mocha": "2.0.1",
"mocha": "2.2.4",
"chai": "2.3.0",
"gulp": "3.8.11"
},
"scripts": {
"test": "gulp"
}
"name": "postcss-size",
"version": "1.0.0",
"description": "PostCSS plugin for size shortcut",
"keywords": [
"postcss",
"css",
"postcss-plugin",
"size",
"width",
"height"
],
"author": "Andrey Sitnik <andrey@sitnik.ru>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/postcss/postcss-size.git"
},
"dependencies": {
"postcss": "^5.0.2"
},
"devDependencies": {
"gulp-eslint": "1.0.0",
"gulp-mocha": "2.1.3",
"mocha": "2.2.5",
"chai": "3.2.0",
"gulp": "3.9.0"
},
"scripts": {
"test": "gulp"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet