postcss-load-config
Advanced tools
Comparing version 4.0.0 to 4.0.1
{ | ||
"name": "postcss-load-config", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "Autoload Config for PostCSS", | ||
@@ -19,3 +19,3 @@ "main": "src/index.js", | ||
"lilconfig": "^2.0.5", | ||
"yaml": "^2.1.0" | ||
"yaml": "^2.1.1" | ||
}, | ||
@@ -22,0 +22,0 @@ "peerDependencies": { |
'use strict' | ||
const resolve = require('path').resolve | ||
const url = require('url') | ||
@@ -70,3 +71,3 @@ const config = require('lilconfig') | ||
const importDefault = async filepath => { | ||
const module = await import(filepath) | ||
const module = await import(url.pathToFileURL(filepath).href) | ||
return module.default | ||
@@ -73,0 +74,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
22333
334
Updatedyaml@^2.1.1