postcss-merge-rules 5.1.4 → 6.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.
Files changed (2) hide show
  1. package/package.json +5 -4
  2. package/src/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postcss-merge-rules",
3
- "version": "5.1.4",
3
+ "version": "6.0.0",
4
4
  "description": "Merge CSS rules with PostCSS.",
5
5
  "types": "types/index.d.ts",
6
6
  "main": "src/index.js",
@@ -27,18 +27,19 @@
27
27
  "browserslist": "^4.21.4",
28
28
  "caniuse-api": "^3.0.0",
29
29
  "postcss-selector-parser": "^6.0.5",
30
- "cssnano-utils": "^3.1.0"
30
+ "cssnano-utils": "^4.0.0"
31
31
  },
32
32
  "bugs": {
33
33
  "url": "https://github.com/cssnano/cssnano/issues"
34
34
  },
35
35
  "engines": {
36
- "node": "^10 || ^12 || >=14.0"
36
+ "node": "^14 || ^16 || >=18.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/caniuse-api": "^3.0.2",
40
40
  "postcss": "^8.2.15",
41
- "postcss-discard-comments": "^5.1.2"
41
+ "postcss-simple-vars": "^7.0.1",
42
+ "postcss-discard-comments": "^6.0.0"
42
43
  },
43
44
  "peerDependencies": {
44
45
  "postcss": "^8.2.15"
package/src/index.js CHANGED
@@ -307,7 +307,7 @@ function partialMerge(first, second) {
307
307
 
308
308
  /**
309
309
  * @param {function(import('postcss').Declaration):void} callback
310
- * @this {import('postcss').Rule}
310
+ * @this void
311
311
  * @return {function(import('postcss').Declaration)}
312
312
  */
313
313
  function moveDecl(callback) {