postcss-import
Advanced tools
Comparing version 16.0.0 to 16.0.1
@@ -9,16 +9,2 @@ "use strict" | ||
function split(params, start) { | ||
const list = [] | ||
const last = params.reduce((item, node, index) => { | ||
if (index < start) return "" | ||
if (node.type === "div" && node.value === ",") { | ||
list.push(item) | ||
return "" | ||
} | ||
return item + stringify(node) | ||
}, "") | ||
list.push(last) | ||
return list | ||
} | ||
module.exports = function parseStatements(result, styles, conditions, from) { | ||
@@ -227,3 +213,3 @@ const statements = [] | ||
media = split(params, i) | ||
media = stringify(params.slice(i)) | ||
break | ||
@@ -230,0 +216,0 @@ } |
{ | ||
"name": "postcss-import", | ||
"version": "16.0.0", | ||
"version": "16.0.1", | ||
"description": "PostCSS plugin to import CSS files", | ||
@@ -30,3 +30,3 @@ "keywords": [ | ||
"ava": "^6.0.0", | ||
"c8": "^8.0.0", | ||
"c8": "^9.0.0", | ||
"eslint": "^8.27.0", | ||
@@ -37,3 +37,3 @@ "eslint-config-problems": "^8.0.0", | ||
"postcss-scss": "^4.0.0", | ||
"prettier": "~3.1.0", | ||
"prettier": "~3.2.0", | ||
"sugarss": "^4.0.0" | ||
@@ -40,0 +40,0 @@ }, |
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
0
29971
722