Comparing version
{ | ||
"name": "cssnano", | ||
"version": "7.0.6", | ||
"version": "7.0.7", | ||
"description": "A modular minifier, built on top of the PostCSS ecosystem.", | ||
@@ -22,4 +22,4 @@ "main": "src/index.js", | ||
"dependencies": { | ||
"lilconfig": "^3.1.2", | ||
"cssnano-preset-default": "^7.0.6" | ||
"lilconfig": "^3.1.3", | ||
"cssnano-preset-default": "^7.0.7" | ||
}, | ||
@@ -45,10 +45,10 @@ "homepage": "https://github.com/cssnano/cssnano", | ||
"devDependencies": { | ||
"autoprefixer": "^10.4.20", | ||
"postcss": "^8.4.45", | ||
"cssnano-preset-advanced": "^7.0.6", | ||
"cssnano-preset-lite": "^4.0.3" | ||
"autoprefixer": "^10.4.21", | ||
"postcss": "^8.5.3", | ||
"cssnano-preset-advanced": "^7.0.7", | ||
"cssnano-preset-lite": "^4.0.4" | ||
}, | ||
"peerDependencies": { | ||
"postcss": "^8.4.31" | ||
"postcss": "^8.4.32" | ||
} | ||
} |
@@ -6,2 +6,3 @@ 'use strict'; | ||
const { lilconfigSync } = require('lilconfig'); | ||
const defaultPreset = require('cssnano-preset-default'); | ||
@@ -52,3 +53,3 @@ const cssnano = 'cssnano'; | ||
if (fn === 'default') { | ||
return require('cssnano-preset-default')(options).plugins; | ||
return defaultPreset(options).plugins; | ||
} | ||
@@ -55,0 +56,0 @@ |
Sorry, the diff of this file is not supported yet
7370
0.49%160
0.63%+ Added
- Removed
Updated