postcss-discard-empty
Advanced tools
+6
-8
| { | ||
| "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" | ||
| } | ||
| } |
+4
-5
@@ -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' }; |
+9
-2
@@ -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"} |
6760
6.42%124
5.08%Yes
NaN