New:Socket for Asana Is Now Available.Learn more
Get Started

cssnano-utils

Package Overview
Dependencies
Maintainers
4
Versions
44
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
6.0.4
to
7.0.0
+4
-7
package.json
{
"name": "cssnano-utils",
"version": "6.0.4",
"version": "7.0.0",
"repository": {

@@ -13,7 +13,3 @@ "type": "git",

"default": "./src/index.js"
},
"./src": "./src/index.js",
"./src/*": "./src/*.js",
"./src/*.js": "./src/*.js",
"./package.json": "./package.json"
}
},

@@ -25,3 +21,3 @@ "homepage": "https://github.com/cssnano/cssnano",

"engines": {
"node": "^22.11.0 || ^24.11.0 || >=26.0"
"node": "^22.22.3 || ^24.15.0 || >=26.0"
},

@@ -41,2 +37,3 @@ "files": [

},
"type": "module",
"scripts": {

@@ -43,0 +40,0 @@ "test": "node --test"

@@ -1,2 +0,1 @@

'use strict';
/**

@@ -8,3 +7,3 @@ * Extracts the arguments of a CSS function or AtRule.

*/
module.exports = function getArguments(node) {
function getArguments(node) {
/** @type {import('postcss-value-parser').Node[][]} */

@@ -20,2 +19,4 @@ const list = [[]];

return list;
};
}
export default getArguments;

@@ -1,6 +0,9 @@

'use strict';
const rawCache = require('./rawCache.js');
const getArguments = require('./getArguments.js');
const sameParent = require('./sameParent.js');
import rawCache from './rawCache.js';
import getArguments from './getArguments.js';
import sameParent from './sameParent.js';
module.exports = { rawCache, getArguments, sameParent };
const cssnanoUtils = { rawCache, getArguments, sameParent };
const moduleExports = cssnanoUtils;
export { moduleExports as default, moduleExports as 'module.exports' };

@@ -1,3 +0,1 @@

'use strict';
/**

@@ -31,6 +29,4 @@ * @return {import('postcss').Plugin}

/** @type {true} */
pluginCreator.postcss = true;
module.exports = /** @type {import('postcss').PluginCreator<void>} */ (
pluginCreator
);
export default pluginCreator;

@@ -1,3 +0,1 @@

'use strict';
/**

@@ -43,3 +41,2 @@ * @param {import('postcss').AnyNode} nodeA

}
module.exports = sameParent;
export default sameParent;

@@ -1,2 +0,1 @@

export = getArguments;
/**

@@ -9,2 +8,3 @@ * Extracts the arguments of a CSS function or AtRule.

declare function getArguments(node: import('postcss-value-parser').ParsedValue | import('postcss-value-parser').FunctionNode): import('postcss-value-parser').Node[][];
export default getArguments;
//# sourceMappingURL=getArguments.d.ts.map

@@ -1,1 +0,1 @@

{"version":3,"file":"getArguments.d.ts","sourceRoot":"","sources":["../src/getArguments.js"],"names":[],"mappings":";AACA;;;;;GAKG;8BACoC,IAAI,EAHhC,OAAO,sBAAsB,EAAE,WAAW,GAAG,OAAO,sBAAsB,EAAE,YAG5C,GAF/B,OAAO,sBAAsB,EAAE,IAAI,EAAE,EAAE"}
{"version":3,"file":"getArguments.d.ts","sourceRoot":"","sources":["../src/getArguments.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,iBAAS,YAAY,CAAC,IAAI,EAHf,OAAO,sBAAsB,EAAE,WAAW,GAAG,OAAO,sBAAsB,EAAE,YAG7D,GAFd,OAAO,sBAAsB,EAAE,IAAI,EAAE,EAAE,CAalD;eAEc,YAAY"}

@@ -1,8 +0,10 @@

declare const _exports: {
rawCache: import("postcss").PluginCreator<void>;
getArguments: (node: import('postcss-value-parser').ParsedValue | import('postcss-value-parser').FunctionNode) => import('postcss-value-parser').Node[][];
sameParent: (nodeA: sameParent.Child, nodeB: sameParent.Child) => boolean;
import rawCache from './rawCache.js';
import getArguments from './getArguments.js';
import sameParent from './sameParent.js';
declare const moduleExports: {
rawCache: typeof rawCache;
getArguments: typeof getArguments;
sameParent: typeof sameParent;
};
export = _exports;
import sameParent = require('./sameParent.js');
export { moduleExports as default, moduleExports as 'module.exports' };
//# sourceMappingURL=index.d.ts.map

@@ -1,1 +0,1 @@

{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":";;;;;;OAGM,UAAU,WAAW,iBAAiB"}
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,eAAe,CAAC;AACrC,OAAO,YAAY,MAAM,mBAAmB,CAAC;AAC7C,OAAO,UAAU,MAAM,iBAAiB,CAAC;AAIzC,QAAA,MAAM,aAAa;;;;CAAe,CAAC;AAEnC,OAAO,EAAE,aAAa,IAAI,OAAO,EAAE,aAAa,IAAI,gBAAgB,EAAE,CAAC"}

@@ -1,3 +0,9 @@

declare const _exports: import("postcss").PluginCreator<void>;
export = _exports;
/**
* @return {import('postcss').Plugin}
*/
declare function pluginCreator(): import('postcss').Plugin;
declare namespace pluginCreator {
var postcss: true;
}
export default pluginCreator;
//# sourceMappingURL=rawCache.d.ts.map

@@ -1,1 +0,1 @@

{"version":3,"file":"rawCache.d.ts","sourceRoot":"","sources":["../src/rawCache.js"],"names":[],"mappings":""}
{"version":3,"file":"rawCache.d.ts","sourceRoot":"","sources":["../src/rawCache.js"],"names":[],"mappings":"AAAA;;GAEG;AACH,iBAAS,aAAa,IAFV,OAAO,SAAS,EAAE,MAAM,CAyBnC;kBAvBQ,aAAa;iBAyBX,IAAI;;eAEA,aAAa"}

@@ -1,2 +0,1 @@

export = sameParent;
export type Child = import('postcss').AnyNode & {

@@ -12,2 +11,3 @@ parent?: Child;

declare function sameParent(nodeA: Child, nodeB: Child): boolean;
export default sameParent;
//# sourceMappingURL=sameParent.d.ts.map

@@ -1,1 +0,1 @@

{"version":3,"file":"sameParent.d.ts","sourceRoot":"","sources":["../src/sameParent.js"],"names":[],"mappings":"SA2CiB,UAAU;AA1BvB,YAAwD,KAAK,GAAnD,OAAO,SAAS,EAAE,OAAO,GAAG;IAAC,MAAM,CAAC,EAAE,KAAK,CAAA;CAAC,CAAO;AAAjE,oEAAoE;AACpE;;;;GAIG;AACH,iBAAS,UAAU,CAAC,KAAK,EAJd,KAIc,EAAE,KAAK,EAHrB,KAGqB,GAFpB,OAAO,CAoBlB"}
{"version":3,"file":"sameParent.d.ts","sourceRoot":"","sources":["../src/sameParent.js"],"names":[],"mappings":"AAeI,YAAwD,KAAK,GAAnD,OAAO,SAAS,EAAE,OAAO,GAAG;IAAC,MAAM,CAAC,EAAE,KAAK,CAAA;CAAC,CAAO;AAAjE,oEAAoE;AACpE;;;;GAIG;AACH,iBAAS,UAAU,CAAC,KAAK,EAJd,KAIc,EAAE,KAAK,EAHrB,KAGqB,GAFpB,OAAO,CAoBlB;eACc,UAAU"}