postcss-logical
Advanced tools
Comparing version 1.1.0 to 1.1.1
# Changes to PostCSS Logical Properties | ||
### 1.1.1 (March 21, 2017) | ||
- Fix `dir` option to allow falsey value | ||
### 1.1.0 (March 20, 2017) | ||
@@ -4,0 +8,0 @@ |
@@ -370,3 +370,3 @@ 'use strict'; | ||
var preserve = Boolean(Object(opts).preserve); | ||
var dir = !preserve && 'dir' in Object(opts) ? /^rtl$/i.test(Object(opts).dir) ? 'rtl' : 'ltr' : false; | ||
var dir = !preserve && typeof Object(opts).dir === 'string' ? /^rtl$/i.test(opts.dir) ? 'rtl' : 'ltr' : false; | ||
@@ -373,0 +373,0 @@ return function (root) { |
@@ -366,3 +366,3 @@ import postcss from 'postcss'; | ||
var preserve = Boolean(Object(opts).preserve); | ||
var dir = !preserve && 'dir' in Object(opts) ? /^rtl$/i.test(Object(opts).dir) ? 'rtl' : 'ltr' : false; | ||
var dir = !preserve && typeof Object(opts).dir === 'string' ? /^rtl$/i.test(opts.dir) ? 'rtl' : 'ltr' : false; | ||
@@ -369,0 +369,0 @@ return function (root) { |
{ | ||
"name": "postcss-logical", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Use logical properties and values in CSS", | ||
@@ -5,0 +5,0 @@ "author": "Jonathan Neal <jonathantneal@hotmail.com>", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
49477
0