cssnano-preset-lite 4.0.1 → 4.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cssnano-preset-lite",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "main": "src/index.js",
5
5
  "types": "types/index.d.ts",
6
6
  "description": "Safe and minimum transformation",
@@ -12,7 +12,7 @@
12
12
  "license": "MIT",
13
13
  "dependencies": {
14
14
  "cssnano-utils": "^5.0.0",
15
- "postcss-discard-comments": "^7.0.1",
15
+ "postcss-discard-comments": "^7.0.2",
16
16
  "postcss-discard-empty": "^7.0.0",
17
17
  "postcss-normalize-whitespace": "^7.0.0"
18
18
  },
@@ -25,7 +25,7 @@
25
25
  "node": "^18.12.0 || ^20.9.0 || >=22.0"
26
26
  },
27
27
  "devDependencies": {
28
- "postcss": "^8.4.38"
28
+ "postcss": "^8.4.40"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "postcss": "^8.4.31"
package/types/index.d.ts CHANGED
@@ -6,19 +6,19 @@ export = litePreset;
6
6
  * @returns {{ plugins: [import('postcss').PluginCreator<any>, LiteOptions[keyof LiteOptions]][] }}
7
7
  */
8
8
  declare function litePreset(opts?: LiteOptions): {
9
- plugins: [import('postcss').PluginCreator<any>, LiteOptions[keyof LiteOptions]][];
9
+ plugins: [import("postcss").PluginCreator<any>, LiteOptions[keyof LiteOptions]][];
10
10
  };
11
11
  declare namespace litePreset {
12
12
  export { SimpleOptions, LiteOptions };
13
13
  }
14
+ type SimpleOptions<OptionsExtends extends object | void = void> = false | (OptionsExtends & {
15
+ exclude?: true;
16
+ });
14
17
  type LiteOptions = {
15
18
  discardComments?: SimpleOptions<postcssDiscardComments.Options> | undefined;
16
19
  normalizeWhitespace?: SimpleOptions<void> | undefined;
17
20
  discardEmpty?: SimpleOptions<void> | undefined;
18
21
  rawCache?: SimpleOptions<void> | undefined;
19
22
  };
20
- type SimpleOptions<OptionsExtends extends void | object = void> = false | (OptionsExtends & {
21
- exclude?: true;
22
- });
23
23
  import postcssDiscardComments = require("postcss-discard-comments");
24
24
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":";AAyCA;;;;;GAKG;AACH,mCAHW,WAAW,GACT;IAAE,OAAO,EAAE,CAAC,OAAO,SAAS,EAAE,aAAa,CAAC,GAAG,CAAC,EAAE,WAAW,CAAC,MAAM,WAAW,CAAC,CAAC,EAAE,CAAA;CAAE,CAcjG;;;;;;;;;;kEAnDY,KAAK,IAAG,cAAc,GAAG;IAAC,OAAO,CAAC,EAAE,IAAI,CAAA;CAAC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":";AAyCA;;;;;GAKG;AACH,mCAHW,WAAW,GACT;IAAE,OAAO,EAAE,CAAC,OAAO,SAAS,EAAE,aAAa,CAAC,GAAG,CAAC,EAAE,WAAW,CAAC,MAAM,WAAW,CAAC,CAAC,EAAE,CAAA;CAAE,CAcjG;;;;mBApD6B,cAAc,SAA9B,MAAM,GAAG,IAAK,WACf,KAAK,IAAG,cAAc,GAAG;IAAC,OAAO,CAAC,EAAE,IAAI,CAAA;CAAC,CAAA"}