🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

cssnano-utils

Package Overview
Dependencies
Maintainers
4
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cssnano-utils - npm Package Compare versions

Comparing version

to
2.0.0-rc.1

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [2.0.0-rc.1](https://github.com/cssnano/cssnano/compare/cssnano-utils@2.0.0-rc.0...cssnano-utils@2.0.0-rc.1) (2021-03-04)
### Bug Fixes
* **cssnano-utils:** get rid of deprecation warning ([752a270](https://github.com/cssnano/cssnano/commit/752a2701085f45367a1e4a558fb9ec768ac760af))
# 2.0.0-rc.0 (2021-02-19)

@@ -8,0 +19,0 @@

41

dist/rawCache.js

@@ -8,23 +8,30 @@ "use strict";

var _postcss = require("postcss");
const pluginCreator = () => {
return {
postcssPlugin: 'cssnano-util-raw-cache',
var _default = (0, _postcss.plugin)('cssnano-util-raw-cache', () => {
return (css, result) => {
result.root.rawCache = {
colon: ':',
indent: '',
beforeDecl: '',
beforeRule: '',
beforeOpen: '',
beforeClose: '',
beforeComment: '',
after: '',
emptyBody: '',
commentLeft: '',
commentRight: ''
};
OnceExit(css, {
result
}) {
result.root.rawCache = {
colon: ':',
indent: '',
beforeDecl: '',
beforeRule: '',
beforeOpen: '',
beforeClose: '',
beforeComment: '',
after: '',
emptyBody: '',
commentLeft: '',
commentRight: ''
};
}
};
});
};
pluginCreator.postcss = true;
var _default = pluginCreator;
exports.default = _default;
module.exports = exports.default;
{
"name": "cssnano-utils",
"version": "2.0.0-rc.0",
"version": "2.0.0-rc.1",
"repository": "cssnano/cssnano",

@@ -29,3 +29,3 @@ "main": "dist/index.js",

},
"gitHead": "8c16e67a4d24a13ac7e09a36d4faf504196efd0f"
"gitHead": "114efb0092fff944dd4c8a28d184add24d8fde3e"
}