Skip to content

Commit

Permalink
chore!: drop support for Node.js 14 and 16
Browse files Browse the repository at this point in the history
Node.js 14 and 16 are unmaintained.
Test runners 14 and 16 are not available on the latest MacOS
  • Loading branch information
ludofischer committed Apr 24, 2024
1 parent 49d3235 commit 0d10597
Show file tree
Hide file tree
Showing 38 changed files with 77 additions and 37 deletions.
40 changes: 40 additions & 0 deletions .changeset/angry-toes-destroy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
"postcss-normalize-timing-functions": major
"postcss-normalize-display-values": major
"postcss-normalize-repeat-style": major
"postcss-normalize-whitespace": major
"postcss-normalize-positions": major
"postcss-discard-duplicates": major
"postcss-discard-overridden": major
"postcss-minify-font-values": major
"postcss-normalize-charset": major
"postcss-normalize-unicode": major
"postcss-reduce-transforms": major
"postcss-discard-comments": major
"postcss-minify-gradients": major
"postcss-minify-selectors": major
"postcss-normalize-string": major
"postcss-unique-selectors": major
"cssnano-preset-advanced": major
"cssnano-preset-default": major
"postcss-convert-values": major
"postcss-discard-unused": major
"postcss-merge-longhand": major
"postcss-ordered-values": major
"postcss-reduce-initial": major
"postcss-discard-empty": major
"postcss-minify-params": major
"postcss-normalize-url": major
"postcss-reduce-idents": major
"postcss-merge-idents": major
"cssnano-preset-lite": major
"postcss-merge-rules": major
"postcss-colormin": major
"postcss-zindex": major
"cssnano-utils": major
"postcss-svgo": major
"stylehacks": major
"cssnano": major
---

chore: drop support for Node.js 14 and 16
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"./packages/*"
],
"engines": {
"node": "^14 || ^16 || >=18"
"node": "^18 || ^20 || >=22"
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/cssnano-preset-advanced/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"url": "https://github.com/cssnano/cssnano/issues"
},
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"postcss": "^8.4.38"
Expand Down
2 changes: 1 addition & 1 deletion packages/cssnano-preset-default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"url": "https://github.com/cssnano/cssnano/issues"
},
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"postcss": "^8.4.38"
Expand Down
2 changes: 1 addition & 1 deletion packages/cssnano-preset-lite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"url": "https://github.com/cssnano/cssnano/issues"
},
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"postcss": "^8.4.38"
Expand Down
2 changes: 1 addition & 1 deletion packages/cssnano-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/cssnano/cssnano/issues"
},
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"files": [
"src",
Expand Down
2 changes: 1 addition & 1 deletion packages/cssnano/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"url": "https://github.com/cssnano/cssnano/issues"
},
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"autoprefixer": "^10.4.19",
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-colormin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"url": "https://github.com/cssnano/cssnano/issues"
},
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"@types/caniuse-api": "^3.0.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-convert-values/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"url": "https://github.com/cssnano/cssnano/issues"
},
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"postcss": "^8.4.38"
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-discard-comments/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"url": "https://github.com/cssnano/cssnano/issues"
},
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"postcss": "^8.4.38",
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-discard-duplicates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"url": "https://github.com/cssnano/cssnano/issues"
},
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"postcss": "^8.4.38"
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-discard-empty/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"url": "https://github.com/cssnano/cssnano/issues"
},
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"postcss": "^8.4.38"
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-discard-overridden/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"homepage": "https://github.com/cssnano/cssnano",
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"diff": "^5.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-discard-unused/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"url": "https://github.com/cssnano/cssnano/issues"
},
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"postcss": "^8.4.38"
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-merge-idents/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"url": "https://github.com/cssnano/cssnano/issues"
},
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"postcss": "^8.4.38"
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-merge-longhand/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"url": "https://github.com/cssnano/cssnano/issues"
},
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"postcss": "^8.4.38"
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-merge-rules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"url": "https://github.com/cssnano/cssnano/issues"
},
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"@types/caniuse-api": "^3.0.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-minify-font-values/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"homepage": "https://github.com/cssnano/cssnano",
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"postcss": "^8.4.38"
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-minify-gradients/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"url": "https://github.com/cssnano/cssnano/issues"
},
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"postcss": "^8.4.38"
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-minify-params/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"postcss-value-parser": "^4.2.0"
},
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"postcss": "^8.4.38"
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-minify-selectors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"url": "https://github.com/cssnano/cssnano/issues"
},
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"postcss": "^8.4.38"
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-normalize-charset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"main": "src/index.js",
"types": "types/index.d.ts",
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"postcss": "^8.4.38"
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-normalize-display-values/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"homepage": "https://github.com/cssnano/cssnano",
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"postcss": "^8.4.38"
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-normalize-positions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"url": "https://github.com/cssnano/cssnano/issues"
},
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"postcss": "^8.4.38"
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-normalize-repeat-style/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"homepage": "https://github.com/cssnano/cssnano",
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"postcss": "^8.4.38"
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-normalize-string/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"url": "https://github.com/cssnano/cssnano/issues"
},
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"postcss": "^8.4.38"
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-normalize-timing-functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"homepage": "https://github.com/cssnano/cssnano",
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"postcss": "^8.4.38"
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-normalize-unicode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"url": "https://github.com/cssnano/cssnano/issues"
},
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"postcss": "^8.4.38"
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-normalize-url/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"url": "https://github.com/cssnano/cssnano/issues"
},
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"postcss": "^8.4.38"
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-normalize-whitespace/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"url": "https://github.com/cssnano/cssnano/issues"
},
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"postcss": "^8.4.38"
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-ordered-values/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"url": "https://github.com/cssnano/cssnano/issues"
},
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"postcss": "^8.4.38"
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-reduce-idents/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"url": "https://github.com/cssnano/cssnano/issues"
},
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"postcss": "^8.4.38"
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-reduce-initial/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"url": "https://github.com/cssnano/cssnano/issues"
},
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"@types/caniuse-api": "^3.0.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-reduce-transforms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"url": "https://github.com/cssnano/cssnano/issues"
},
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"postcss": "^8.4.38"
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-svgo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"url": "https://github.com/cssnano/cssnano/issues"
},
"engines": {
"node": "^14 || ^16 || >= 18"
"node": "^18.12.0 || ^20.9.0 || >= 18"
},
"devDependencies": {
"pleeease-filters": "^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-unique-selectors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"url": "https://github.com/cssnano/cssnano/issues"
},
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"postcss": "^8.4.38"
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-zindex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"url": "https://github.com/cssnano/cssnano/issues"
},
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"postcss": "^8.4.38"
Expand Down
2 changes: 1 addition & 1 deletion packages/stylehacks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"url": "https://github.com/cssnano/cssnano/issues"
},
"engines": {
"node": "^14 || ^16 || >=18.0"
"node": "^18.12.0 || ^20.9.0 || >=22.0"
},
"devDependencies": {
"postcss": "^8.4.38"
Expand Down

0 comments on commit 0d10597

Please sign in to comment.