From 9bebd59d74d927638023c85789abe2da18a44a58 Mon Sep 17 00:00:00 2001 From: Yorick de Wid Date: Tue, 27 Feb 2024 10:09:36 +0100 Subject: [PATCH] Upgrade to node 20 --- .github/workflows/node.js.yml | 4 ++-- package.json | 12 ++++++------ yarn.lock | 23 ++++++++++++++++------- 3 files changed, 24 insertions(+), 15 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 90b99c4..11b7b0e 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -13,10 +13,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Use Node.js 18.x + - name: Use Node.js 20.x uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 20.x cache: 'yarn' - run: yarn install - run: yarn build diff --git a/package.json b/package.json index e0a827b..ac82516 100755 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "license": "MIT", "browserslist": "> 0.5%, last 2 versions, not dead", "engines": { - "node": ">= 16.0.0" + "node": ">= 20.0.0" }, "scripts": { "clean:output": "rimraf dist", @@ -24,11 +24,11 @@ "eslint-config-prettier": "^9.1.0", "parcel": "^2.11.0", "parcel-validator-stylelint": "^1.0.1", - "postcss": "^8.4.19", - "postcss-import": "^15.1.0", - "posthtml": ">=0.5.0", - "posthtml-expressions": "^1.10.0", - "posthtml-include": "^1.7.4", + "postcss": "^8.4.35", + "postcss-import": "^16.0.1", + "posthtml": ">=0.16.6", + "posthtml-expressions": "^1.11.0", + "posthtml-include": "^2.0.1", "posthtml-inline-svg": "^0.2.0", "rimraf": "^5.0.5", "stylelint": "^16.2.1", diff --git a/yarn.lock b/yarn.lock index b8eee40..2ac3c85 100755 --- a/yarn.lock +++ b/yarn.lock @@ -3257,6 +3257,15 @@ postcss-import@^15.1.0: read-cache "^1.0.0" resolve "^1.1.7" +postcss-import@^16.0.1: + version "16.0.1" + resolved "https://registry.yarnpkg.com/postcss-import/-/postcss-import-16.0.1.tgz#c2e0478c5af8cb39ab3964c35d8fee8e70c362b8" + integrity sha512-i2Pci0310NaLHr/5JUFSw1j/8hf1CzwMY13g6ZDxgOavmRHQi2ba3PmUHoihO+sjaum+KmCNzskNsw7JDrg03g== + dependencies: + postcss-value-parser "^4.0.0" + read-cache "^1.0.0" + resolve "^1.1.7" + postcss-js@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/postcss-js/-/postcss-js-4.0.1.tgz#61598186f3703bab052f1c4f7d805f3991bee9d2" @@ -3312,7 +3321,7 @@ postcss-value-parser@^4.0.0, postcss-value-parser@^4.2.0: resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514" integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ== -postcss@^8.4.19, postcss@^8.4.23, postcss@^8.4.33: +postcss@^8.4.23, postcss@^8.4.33, postcss@^8.4.35: version "8.4.35" resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.35.tgz#60997775689ce09011edf083a549cea44aabe2f7" integrity sha512-u5U8qYpBCpN13BsiEB0CbR1Hhh4Gc0zLFuedrHJKMctHCHAGrMdG0PRM/KErzAL3CU6/eckEtmHNB3x6e3c0vA== @@ -3321,7 +3330,7 @@ postcss@^8.4.19, postcss@^8.4.23, postcss@^8.4.33: picocolors "^1.0.0" source-map-js "^1.0.2" -posthtml-expressions@^1.10.0, posthtml-expressions@^1.7.1: +posthtml-expressions@^1.11.0, posthtml-expressions@^1.7.1: version "1.11.3" resolved "https://registry.yarnpkg.com/posthtml-expressions/-/posthtml-expressions-1.11.3.tgz#a4d8215cdfa0a74f7be23d8dce1a22bdda1ff8f8" integrity sha512-S75Sp3UUoOQJV2vtubJOuv6u/R9hqJE62rgihOTxKCTog68A5OIRNBoIWLKMVD8VJ8l0vQaIEKzWZ4Vm3ht5hw== @@ -3332,10 +3341,10 @@ posthtml-expressions@^1.10.0, posthtml-expressions@^1.7.1: posthtml-parser "^0.10.0" posthtml-render "^3.0.0" -posthtml-include@^1.7.4: - version "1.7.4" - resolved "https://registry.yarnpkg.com/posthtml-include/-/posthtml-include-1.7.4.tgz#45e7abd18395ce5a6e8af9dc5c5390f85cf6171c" - integrity sha512-GO5QzHiM6/fXq8DxLoLN+jEW4sH/6nuGF9z+NJmP1qi1A3J2zCC7WwXrEwaPL3T8LrH+FL4IedK+mIJHbn5ZEA== +posthtml-include@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/posthtml-include/-/posthtml-include-2.0.1.tgz#cefd729dcd53eeb86da767ca3005fbb892180cf2" + integrity sha512-1YXy4QWeJldosTKLPz6ecbI4e26jHmo3R97NNTKMQqITvZOY025+yvX/RUgvcD1VghLeACs0Y2P3GjtJo5s27Q== dependencies: posthtml "^0.16.6" posthtml-expressions "^1.7.1" @@ -3387,7 +3396,7 @@ posthtml-render@^3.0.0: dependencies: is-json "^2.0.1" -posthtml@>=0.5.0, posthtml@^0.16.4, posthtml@^0.16.5, posthtml@^0.16.6: +posthtml@>=0.16.6, posthtml@^0.16.4, posthtml@^0.16.5, posthtml@^0.16.6: version "0.16.6" resolved "https://registry.yarnpkg.com/posthtml/-/posthtml-0.16.6.tgz#e2fc407f67a64d2fa3567afe770409ffdadafe59" integrity sha512-JcEmHlyLK/o0uGAlj65vgg+7LIms0xKXe60lcDOTU7oVX/3LuEuLwrQpW3VJ7de5TaFKiW4kWkaIpJL42FEgxQ==