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

postcss-discard-empty

Package Overview
Dependencies
Maintainers
8
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-discard-empty - npm Package Compare versions

Comparing version
8.0.5
to
9.0.0
+6
-8
package.json
{
"name": "postcss-discard-empty",
"version": "8.0.5",
"version": "9.0.0",
"description": "Discard empty rules and values with PostCSS.",

@@ -9,7 +9,3 @@ "exports": {

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

@@ -45,3 +41,3 @@ "files": [

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

@@ -54,5 +50,7 @@ "devDependencies": {

},
"type": "module",
"scripts": {
"test": "node --test"
"test": "node --test",
"test:mutation": "node ../../util/mutation-testing/mutation-runner.mjs --catalog mutation-catalog.mjs --test test/index.js"
}
}

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

'use strict';
const plugin = 'postcss-discard-empty';

@@ -125,6 +124,6 @@

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

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

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;
}
declare const moduleExports: typeof pluginCreator;
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":""}
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":"AA4GA;;GAEG;AACH,iBAAS,aAAa,IAFV,OAAO,SAAS,EAAE,MAAM,CAanC;kBAXQ,aAAa;iBAYX,IAAI;;AAEf,QAAA,MAAM,aAAa,sBAAgB,CAAC;AAEpC,OAAO,EAAE,aAAa,IAAI,OAAO,EAAE,aAAa,IAAI,gBAAgB,EAAE,CAAC"}