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

postcss-utilities

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-utilities - npm Package Compare versions

Comparing version 0.8.0 to 0.8.1

lib/size-max.js

5

CHANGELOG.md
# Change Log
# v0.8.1
- Fix documentation links
- Drop compatibility with Node.js version 4
# v0.8.0

@@ -4,0 +9,0 @@

@@ -29,2 +29,4 @@ var postcss = require('postcss');

var size = require('./lib/size');
var sizeMax = require('./lib/size-max');
var sizeMin = require('./lib/size-min');
var stickyFooter = require('./lib/sticky-footer');

@@ -64,2 +66,4 @@ var textHide = require('./lib/text-hide');

'size',
'max-size',
'min-size',
'sticky-footer',

@@ -240,2 +244,18 @@ 'text-hide',

break;
case 'max-size':
if (args.length === 2 || args.length === 3) {
sizeMax(util, args);
} else {
result.warn('Invalid number of parameters for Max Size' +
'utility: [width], [height]');
}
break;
case 'min-size':
if (args.length === 2 || args.length === 3) {
sizeMin(util, args);
} else {
result.warn('Invalid number of parameters for Min Size' +
'utility: [width], [height]');
}
break;
case 'sticky-footer':

@@ -242,0 +262,0 @@ if (args.length === 2 || args.length === 3) {

4

lib/clearfix.js

@@ -29,2 +29,6 @@ /**

source: decl.source
}, {
prop: 'visibility',
value: 'hidden',
source: decl.source
});

@@ -31,0 +35,0 @@

4

package.json
{
"name": "postcss-utilities",
"version": "0.8.0",
"version": "0.8.1",
"description": "PostCSS plugin to add a collection of mixins, shortcuts, helpers and tools for your CSS",

@@ -26,3 +26,3 @@ "keywords": [

"dependencies": {
"postcss": "^6.0.16",
"postcss": "^7.0.2",
"postcss-value-parser": "^3.3.0"

@@ -29,0 +29,0 @@ },

@@ -51,3 +51,3 @@ # PostCSS Utility Library [![Build Status][ci-img]][ci]

- [circle](https://ismamz.github.io/postcss-utilities/docs#circle)
- [clearfix](https://ismamz.github.io/postcss-utilities/docs#clear-fix)
- [clear-fix](https://ismamz.github.io/postcss-utilities/docs#clear-fix)
- [hd breakpoint](https://ismamz.github.io/postcss-utilities/docs#hd-breakpoint)

@@ -64,2 +64,4 @@ - [hide-visually](https://ismamz.github.io/postcss-utilities/docs#hide-visually)

- [size](https://ismamz.github.io/postcss-utilities/docs#size)
- [min-size](https://ismamz.github.io/postcss-utilities/docs#min-size)
- [max-size](https://ismamz.github.io/postcss-utilities/docs#max-size)
- [sticky-footer](https://ismamz.github.io/postcss-utilities/docs#sticky-footer)

@@ -70,3 +72,3 @@ - [text-hide](https://ismamz.github.io/postcss-utilities/docs#text-hide)

- [truncate](https://ismamz.github.io/postcss-utilities/docs#truncate)
- [word-break](https://ismamz.github.io/postcss-utilities/docs#word-break)
- [word-wrap](https://ismamz.github.io/postcss-utilities/docs#word-wrap)

@@ -73,0 +75,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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