postcss-discard-comments 7.0.1 → 7.0.3

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": "postcss-discard-comments",
3
- "version": "7.0.1",
3
+ "version": "7.0.3",
4
4
  "description": "Discard comments in your CSS files with PostCSS.",
5
5
  "main": "src/index.js",
6
6
  "types": "types/index.d.ts",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "repository": "cssnano/cssnano",
26
26
  "dependencies": {
27
- "postcss-selector-parser": "^6.1.0"
27
+ "postcss-selector-parser": "^6.1.2"
28
28
  },
29
29
  "bugs": {
30
30
  "url": "https://github.com/cssnano/cssnano/issues"
@@ -33,7 +33,7 @@
33
33
  "node": "^18.12.0 || ^20.9.0 || >=22.0"
34
34
  },
35
35
  "devDependencies": {
36
- "postcss": "^8.4.38",
36
+ "postcss": "^8.4.45",
37
37
  "postcss-scss": "^4.0.9",
38
38
  "postcss-simple-vars": "^7.0.1"
39
39
  },
package/types/index.d.ts CHANGED
@@ -9,14 +9,14 @@ export = pluginCreator;
9
9
  * @param {Options} opts
10
10
  * @return {import('postcss').Plugin}
11
11
  */
12
- declare function pluginCreator(opts?: Options): import('postcss').Plugin;
12
+ declare function pluginCreator(opts?: Options): import("postcss").Plugin;
13
13
  declare namespace pluginCreator {
14
14
  export { postcss, Options };
15
15
  }
16
+ declare var postcss: true;
16
17
  type Options = {
17
18
  removeAll?: boolean | undefined;
18
19
  removeAllButFirst?: boolean | undefined;
19
20
  remove?: ((s: string) => boolean) | undefined;
20
21
  };
21
- declare var postcss: true;
22
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":";AAKA;;;;GAIG;AACH;;;;GAIG;AACH,sCAHW,OAAO,GACN,OAAO,SAAS,EAAE,MAAM,CAoLnC;;;;;gBA3Lc,OAAO;wBACP,OAAO;cACP,CAAC,CAAC,EAAE,MAAM,KAAK,OAAO"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":";AAKA;;;;GAIG;AACH;;;;GAIG;AACH,sCAHW,OAAO,GACN,OAAO,SAAS,EAAE,MAAM,CAoLnC;;;;;;gBA3Lc,OAAO,YAAC;wBACR,OAAO,YAAC;aACR,CAAA,CAAC,CAAC,EAAE,MAAM,KAAK,OAAO,aAAC"}
@@ -1,9 +1,9 @@
1
1
  export = CommentRemover;
2
2
  /** @param {import('../index.js').Options} options */
3
- declare function CommentRemover(options: import('../index.js').Options): void;
3
+ declare function CommentRemover(options: import("../index.js").Options): void;
4
4
  declare class CommentRemover {
5
5
  /** @param {import('../index.js').Options} options */
6
- constructor(options: import('../index.js').Options);
6
+ constructor(options: import("../index.js").Options);
7
7
  options: import("../index.js").Options;
8
8
  /**
9
9
  * @param {string} comment