stylehacks 6.1.0 → 7.0.0

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": "stylehacks",
3
- "version": "6.1.0",
3
+ "version": "7.0.0",
4
4
  "description": "Detect/remove browser hacks from CSS files.",
5
5
  "main": "src/index.js",
6
6
  "types": "types/index.d.ts",
@@ -29,16 +29,16 @@
29
29
  "repository": "cssnano/cssnano",
30
30
  "dependencies": {
31
31
  "browserslist": "^4.23.0",
32
- "postcss-selector-parser": "^6.0.15"
32
+ "postcss-selector-parser": "^6.0.16"
33
33
  },
34
34
  "bugs": {
35
35
  "url": "https://github.com/cssnano/cssnano/issues"
36
36
  },
37
37
  "engines": {
38
- "node": "^14 || ^16 || >=18.0"
38
+ "node": "^18.12.0 || ^20.9.0 || >=22.0"
39
39
  },
40
40
  "devDependencies": {
41
- "postcss": "^8.4.35"
41
+ "postcss": "^8.4.38"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "postcss": "^8.4.31"
package/types/plugin.d.ts CHANGED
@@ -10,7 +10,7 @@ declare class BasePlugin {
10
10
  nodes: NodeWithInfo[];
11
11
  targets: Set<string>;
12
12
  nodeTypes: Set<string>;
13
- result: import("postcss/lib/result").default<import("postcss/lib/document").default | import("postcss/lib/root").default> | undefined;
13
+ result: import("postcss").Result<import("postcss").Document | import("postcss").Root> | undefined;
14
14
  /**
15
15
  * @param {import('postcss').Node} node
16
16
  * @param {{identifier: string, hack: string}} metadata
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.js"],"names":[],"mappings":";AAiBiB;IACf;;;;OAIG;IACH,qBAJW,MAAM,EAAE,aACR,MAAM,EAAE,WACR,OAAO,SAAS,EAAE,MAAM,cAQlC;IALC,6BAA6B;IAC7B,OADW,YAAY,EAAE,CACV;IACf,qBAA+B;IAC/B,uBAAmC;IACnC,s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AAO,SAAS,EAAE,IAAI,GACrB,OAAO,CAUlB;IAED;;;OAGG;IACH,uBAHW,OAAO,SAAS,EAAE,IAAI,GACrB,IAAI,CAQf;IAED;;;OAGG;IACH,oBAHW,OAAO,SAAS,EAAE,IAAI,GACrB,IAAI,CAQf;IACD,2CAA2C;IAE3C,aAFY,OAAO,SAAS,EAAE,IAAI,QAIjC;IAED,qBAAqB;IACrB,WADa,IAAI,CAGhB;IAED,aASC;CACF;;;;oBAjGY,OAAO,SAAS,EAAE,IAAI,GAAG;IAAC,WAAW,EAAE;QACV,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,IAAI,MAAM,CAAC,CAAC;QACtB,UAAU,EAAE,MAAM,CAAC;QACnB,IAAI,EAAE,MAAM,CAAA;KAAE,CAAA;CAAC;;aAX/C,IAAI,MAAM,CAAC;eACX,IAAI,MAAM,CAAC;sBACX,CAAC,IAAI,EAAE,OAAO,SAAS,EAAE,IAAI,KAAK,IAAI;mBACtC,CAAC,IAAI,EAAE,OAAO,SAAS,EAAE,IAAI,KAAK,IAAI"}
@@ -1,7 +1,7 @@
1
1
  declare const _exports: ({
2
- new (result?: import("postcss/lib/result").default<import("postcss/lib/document").default | import("postcss/lib/root").default> | undefined): important;
2
+ new (result?: import("postcss").Result<import("postcss").Document | import("postcss").Root> | undefined): important;
3
3
  } | {
4
- new (result?: import("postcss/lib/result").default<import("postcss/lib/document").default | import("postcss/lib/root").default> | undefined): trailingSlashComma;
4
+ new (result?: import("postcss").Result<import("postcss").Document | import("postcss").Root> | undefined): trailingSlashComma;
5
5
  })[];
6
6
  export = _exports;
7
7
  import important = require("./important");