Comparing version 9.0.2 to 9.0.3
@@ -148,6 +148,7 @@ const postcss = require('postcss'); | ||
const dimPrefix = (this.opts.mode === 'min-media-query') ? 'min' : 'max'; | ||
const dimConnector = (this.opts.mode === 'min-media-query') ? ' and' : ','; | ||
const breakpoint = (this.opts.breakpointUnit === 'px') ? this.opts.breakpoint : this.opts.breakpoint / this.opts.remValue; | ||
if (this.opts.twoDimensional) { | ||
mediaQuery.params = `(${dimPrefix}-width: ${breakpoint}${this.opts.breakpointUnit}), (${dimPrefix}-height: ${breakpoint}${this.opts.breakpointUnit})`; | ||
mediaQuery.params = `(${dimPrefix}-width: ${breakpoint}${this.opts.breakpointUnit})${dimConnector} (${dimPrefix}-height: ${breakpoint}${this.opts.breakpointUnit})`; | ||
} else { | ||
@@ -154,0 +155,0 @@ mediaQuery.params = `(${dimPrefix}-width: ${breakpoint}${this.opts.breakpointUnit})`; |
{ | ||
"name": "rfs", | ||
"version": "9.0.2", | ||
"version": "9.0.3", | ||
"main": "postcss.js", | ||
@@ -60,3 +60,3 @@ "description": "Powerful & easy-to-use responsive resizing engine.", | ||
"dependencies": { | ||
"postcss-value-parser": "^4.0.2" | ||
"postcss-value-parser": "^4.0.3" | ||
}, | ||
@@ -69,13 +69,13 @@ "devDependencies": { | ||
"gulp-stylus": "^2.7.0", | ||
"less": "^3.10.3", | ||
"mocha": "^6.2.2", | ||
"node-sass": "^4.12.0", | ||
"less": "^3.11.1", | ||
"mocha": "^6.2.3", | ||
"node-sass": "^4.13.1", | ||
"npm-run-all": "^4.1.5", | ||
"postcss": "^7.0.18", | ||
"prettier": "^1.18.2", | ||
"sass": "^1.23.0", | ||
"postcss": "^7.0.27", | ||
"prettier": "^1.19.1", | ||
"sass": "^1.26.3", | ||
"stylelint": "^11.1.1", | ||
"stylelint-config-standard": "^19.0.0", | ||
"stylus": "^0.54.7", | ||
"xo": "^0.25.3" | ||
"xo": "^0.25.4" | ||
}, | ||
@@ -82,0 +82,0 @@ "xo": { |
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
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
52054
251
Updatedpostcss-value-parser@^4.0.3