Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cssnano

Package Overview
Dependencies
Maintainers
8
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cssnano - npm Package Compare versions

Comparing version 5.0.6 to 5.0.7

14

dist/index.js

@@ -12,4 +12,6 @@ "use strict";

var _cosmiconfig = require("cosmiconfig");
var _yaml = _interopRequireDefault(require("yaml"));
var _lilconfig = require("lilconfig");
var _isResolvable = _interopRequireDefault(require("is-resolvable"));

@@ -70,3 +72,3 @@

* cssnano will look for configuration firstly as options passed
* directly to it, and failing this it will use cosmiconfig to
* directly to it, and failing this it will use lilconfig to
* load an external file.

@@ -89,3 +91,9 @@ */

const configExplorer = (0, _cosmiconfig.cosmiconfigSync)(cssnano);
const configExplorer = (0, _lilconfig.lilconfigSync)(cssnano, {
searchPlaces: ['package.json', '.cssnanorc', '.cssnanorc.json', '.cssnanorc.yaml', '.cssnanorc.yml', '.cssnanorc.js', 'cssnano.config.js'],
loaders: {
'.yaml': (filepath, content) => _yaml.default.parse(content),
'.yml': (filepath, content) => _yaml.default.parse(content)
}
});
const config = configPath ? configExplorer.load(configPath) : configExplorer.search(searchPath);

@@ -92,0 +100,0 @@

{
"name": "cssnano",
"version": "5.0.6",
"version": "5.0.7",
"description": "A modular minifier, built on top of the PostCSS ecosystem.",

@@ -27,5 +27,6 @@ "main": "dist/index.js",

"dependencies": {
"cosmiconfig": "^7.0.0",
"cssnano-preset-default": "^5.1.3",
"is-resolvable": "^1.1.0"
"is-resolvable": "^1.1.0",
"lilconfig": "^2.0.3",
"yaml": "^1.10.2"
},

@@ -58,3 +59,3 @@ "homepage": "https://github.com/cssnano/cssnano",

},
"gitHead": "39b4cc089e8825d308df1fa8a7313d38d8f1f2f7"
"gitHead": "fdb6a8fb922bcb3e857f1fdc341488736af37013"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc