Socket
Socket
Sign inDemoInstall

postcss-flexbugs-fixes

Package Overview
Dependencies
3
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.0 to 4.1.0

0

bugs/bug4.js

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

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

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

3

CHANGELOG.md

@@ -0,1 +1,4 @@

## 4.1.0
* Add option to disable bug fixes [#53](https://github.com/luisrudge/postcss-flexbugs-fixes/pull/53)
## 4.0.0

@@ -2,0 +5,0 @@ * upgrade to postcss 7

14

index.js

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

module.exports = postcss.plugin('postcss-flexbugs-fixes', function (opts) {
opts = opts || {};
var options = Object.assign({ bug4: true, bug6: true, bug81a: true }, opts);

@@ -21,7 +21,13 @@ return function (css) {

}
bug4(d);
bug6(d);
bug81a(d);
if (options.bug4) {
bug4(d);
}
if (options.bug6) {
bug6(d);
}
if (options.bug81a) {
bug81a(d);
}
});
};
});
{
"name": "postcss-flexbugs-fixes",
"version": "4.0.0",
"version": "4.1.0",
"description": "PostCSS plugin This project tries to fix all of flexbug's issues",

@@ -5,0 +5,0 @@ "keywords": ["postcss", "css", "postcss-plugin", "flexbugs", "flexbox", "flex"],

@@ -66,2 +66,8 @@ # PostCSS Flexbugs Fixes [![Build Status][ci-img]][ci]

You can also disable bugs individually, possible keys `bug4`, `bug6` and `bug8a`.
```js
var plugin = require('postcss-flexbugs-fixes');
postcss([plugin({ bug6: false })]);
```
See [PostCSS] docs for examples for your environment.

@@ -68,0 +74,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc