css-resolve-import
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "css-resolve-import", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Resolves @import statements in CSS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -29,3 +29,2 @@ module.exports = parse | ||
if(!url.match(dataUrl) && !url.match(urlWithScheme) && !url.match(absoluteUrl)) { | ||
url = url.replace(queryParamsMatcher, '') | ||
url = path.join(relRoot, url).replace(/\\/g, '/') | ||
@@ -41,2 +40,3 @@ } | ||
if(!file.match(absoluteUrl)) { | ||
file = file.replace(queryParamsMatcher, '') | ||
file = path.join(absRoot, file) | ||
@@ -43,0 +43,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
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
2389
0